~ruther/NosSmooth.Comms

105312436687e9edc6d9a5627831c6ef66278b1a — Rutherther 2 years ago 7ae046c
feat: add client state
1 files changed, 25 insertions(+), 0 deletions(-)

A src/Local/NosSmooth.Comms.Inject/ClientState.cs
A src/Local/NosSmooth.Comms.Inject/ClientState.cs => src/Local/NosSmooth.Comms.Inject/ClientState.cs +25 -0
@@ 0,0 1,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; }
}
\ No newline at end of file

Do not follow this link