Exemplo n.º 1
0
        void ClientStateToView()
        {
            NetworkClientState state = raftClient.Client.State;

            State = state.ToString();
            if (raftClient.Client.IsStarted)
            {
                ButtonText = "Stop";
            }
            else
            {
                ButtonText = "Start";
            }
        }
Exemplo n.º 2
0
 public string GetStatus()
 {
     return(_connectState.ToString());
 }