public CsrGitSetupWarningViewModel(CsrSectionControlViewModel parent) { _parent = parent; InstallGitCommand = new ProtectedCommand( () => Process.Start(ValidateGitDependencyHelper.GitInstallationLink)); VerifyCommand = new ProtectedAsyncCommand(async() => { if (await CheckInstallationAsync()) { _parent.OnGitInstallationCheckSuccess(); } }); }
public CsrUnconnectedViewModel(CsrSectionControlViewModel parent) { _parent = parent; ConnectCommand = new ProtectedCommand(parent.SignIn); }