~ruther/NosSmooth.Comms

ref: 1a5307e3aec8d348e2aa49fe427e0013b0d38797 NosSmooth.Comms/src/Local/NosSmooth.Comms.Inject/ClientState.cs -rw-r--r-- 646 bytes
1a5307e3 — Rutherther chore: add Costura.Fody to Inject 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
//
//  ClientState.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.

using Remora.Results;

namespace NosSmooth.Comms.Inject;

/// <summary>
/// A state of the client.
/// </summary>
public class ClientState
{
    /// <summary>
    /// Gets or sets whether the client is running.
    /// </summary>
    public bool IsRunning { get; internal set; }

    /// <summary>
    /// Gets or sets the result that was obtained upon initialization of the client.
    /// </summary>
    public Result? InitResult { get; internal set; }
}