Inheritance: Paymetheus.Framework.ShellViewModelBase
 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 DelegateCommand(ExecuteAction);
 }
 public RenameAccountDialogViewModel(ShellViewModel shell, Account account, string currentName) : base(shell)
 {
     _account = account;
     _rename = new DelegateCommand(RenameAction);
     CurrentAccountName = currentName;
 }
 public ImportDialogViewModel(ShellViewModel shell, Account account) : base(shell)
 {
     _account = account;
     _import = new DelegateCommand(ImportAction);
 }
 public ImportScriptDialogViewModel(ShellViewModel shell) : base(shell)
 {
     _importScript            = new DelegateCommandAsync(ImportScriptAsync);
     _importScript.Executable = false;
 }
Example #7
0
 public CreateAccountDialogViewModel(ShellViewModel shell) : base(shell)
 {
     Execute = new DelegateCommandAsync(ExecuteAction);
 }