private void CreateCommands() { CheckCredentialsCmd = R2Command.Async(StartChecking, x => Config != null, "Check Credentials"); StopCheckingCredsCmd = R2Command.Relay(() => { IsChecking = false; _client.StopEnablingWriteAccess(); }, _ => _client.IsEnablingWriteAccess); //StopCheckingCredsCmd.DisableWhenDone = true; }