public ManageStakePoolsDialogViewModel(ShellViewModelBase shell) : base(shell) { var synchronizer = ViewModelLocator.SynchronizerViewModel as SynchronizerViewModel; if (synchronizer != null) { SelectedVotingAccount = synchronizer.Accounts[0]; } _saveCommand = new DelegateCommandAsync(SaveCommandActionAsync); _saveCommand.Executable = false; }
public StartupWizard(ShellViewModelBase shell) : base() { CurrentDialog = new ConsensusServerRpcConnectionDialog(this); Shell = shell; }
public SignTransactionDialogViewModel(ShellViewModelBase shell, Func <string, Task> executeWithPassphrase) : base(shell) { _execute = executeWithPassphrase; }
public WizardDialogViewModelBase(ShellViewModelBase shell, WizardViewModelBase wizard) : base() { _shell = shell; _wizard = wizard; }
public StartupWizard(ShellViewModelBase shell, ConsensusServerRpcOptions csro = null) : base() { CurrentDialog = new ConsensusServerRpcConnectionDialog(this, csro); }