public PassphraseDialogViewModel(ShellViewModel shell, string header, string buttonText, Func<string, Task<bool>> executeWithPassphrase) : base(shell) { Header = header; ExecuteText = buttonText; _execute = executeWithPassphrase; Execute = new DelegateCommandAsync(ExecuteAction); }
public ImportScriptDialogViewModel(ShellViewModel shell) : base(shell) { _importScript = new DelegateCommandAsync(ImportScriptAsync); _importScript.Executable = false; }
public CreateAccountDialogViewModel(ShellViewModel shell) : base(shell) { Execute = new DelegateCommandAsync(ExecuteAction); }