ChatterBox.Client.Presentation.Shared.ViewModels.ConnectingViewModel.UpdateStatus C# (CSharp) Method

UpdateStatus() private method

private UpdateStatus ( ) : void
return void
        private void UpdateStatus()
        {
            if (!_connection.IsConnected && !_isConnecting)
            {
                Status = "Failed to connect to the server. Check your settings and try again.";
            }
            else if (!_isConnecting)
            {
                Status = "Registering with the server...";
            }

            ConnectCommand.RaiseCanExecuteChanged();
        }