~ruther/NosSmooth

ref: 674cee15aaa8921e78e6935331e18278f055c36e NosSmooth/Core/NosSmooth.Core/Contracts/ContractUpdateResponse.cs -rw-r--r-- 902 bytes
674cee15 — František Boháček feat(core): add basics of a contract system 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
//  ContractUpdateResponse.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace NosSmooth.Core.Contracts;

/// <summary>
/// A response to Contract.Update.
/// </summary>
public enum ContractUpdateResponse
{
    /// <summary>
    /// The contract is not interested in the given data.
    /// </summary>
    NotInterested,

    /// <summary>
    /// The contract is interested in the given data,
    /// the data was used to update the contract and
    /// the contract wants to stay registered.
    /// </summary>
    Interested,

    /// <summary>
    /// The contract is interested in the given data,
    /// the data was used to update the contract and
    /// the contract wants to be unregistered from the contractor.
    /// </summary>
    InterestedAndUnregister
}
Do not follow this link