From 105312436687e9edc6d9a5627831c6ef66278b1a Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sat, 4 Feb 2023 20:36:40 +0100 Subject: [PATCH] feat: add client state --- .../NosSmooth.Comms.Inject/ClientState.cs | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/Local/NosSmooth.Comms.Inject/ClientState.cs diff --git a/src/Local/NosSmooth.Comms.Inject/ClientState.cs b/src/Local/NosSmooth.Comms.Inject/ClientState.cs new file mode 100644 index 0000000..ab9836b --- /dev/null +++ b/src/Local/NosSmooth.Comms.Inject/ClientState.cs @@ -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; + +/// +/// A state of the client. +/// +public class ClientState +{ + /// + /// Gets or sets whether the client is running. + /// + public bool IsRunning { get; internal set; } + + /// + /// Gets or sets the result that was obtained upon initialization of the client. + /// + public Result? InitResult { get; internal set; } +} \ No newline at end of file -- 2.48.1