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;
        }
Exemplo n.º 2
0
 public StartupWizard(ShellViewModelBase shell) : base()
 {
     CurrentDialog = new ConsensusServerRpcConnectionDialog(this);
     Shell         = shell;
 }
Exemplo n.º 3
0
 public SignTransactionDialogViewModel(ShellViewModelBase shell, Func <string, Task> executeWithPassphrase)
     : base(shell)
 {
     _execute = executeWithPassphrase;
 }
Exemplo n.º 4
0
 public WizardDialogViewModelBase(ShellViewModelBase shell, WizardViewModelBase wizard) : base()
 {
     _shell  = shell;
     _wizard = wizard;
 }
Exemplo n.º 5
0
 public StartupWizard(ShellViewModelBase shell, ConsensusServerRpcOptions csro = null) : base()
 {
     CurrentDialog = new ConsensusServerRpcConnectionDialog(this, csro);
 }