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