コード例 #1
0
ファイル: AccessCheckerVM.cs プロジェクト: peterson1/Repo2
        private void CreateCommands()
        {
            CheckCredentialsCmd = R2Command.Async(StartChecking,
                                                  x => Config != null, "Check Credentials");

            StopCheckingCredsCmd = R2Command.Relay(() =>
            {
                IsChecking = false;
                _client.StopEnablingWriteAccess();
            },
                                                   _ => _client.IsEnablingWriteAccess);

            //StopCheckingCredsCmd.DisableWhenDone = true;
        }