public WalletSettingsViewModel(ITonService tonService, IProtoService protoService, ICacheService cacheService, ISettingsService settingsService, IEventAggregator aggregator) : base(tonService, protoService, cacheService, settingsService, aggregator) { ExportCommand = new RelayCommand(ExportExecute); ChangePasscodeCommand = new RelayCommand(ChangePasscodeExecute); DeleteCommand = new RelayCommand(DeleteExecute); }
public WalletReceiveViewModel(ITonService tonService, IProtoService protoService, ICacheService cacheService, ISettingsService settingsService, IEventAggregator aggregator) : base(tonService, protoService, cacheService, settingsService, aggregator) { CopyCommand = new RelayCommand(CopyExecute); InvoiceCommand = new RelayCommand(InvoiceExecute); ShareCommand = new RelayCommand <string>(ShareExecute); }
public WalletViewModel(ITonService tonService, IProtoService protoService, ICacheService cacheService, ISettingsService settingsService, IEventAggregator aggregator) : base(tonService, protoService, cacheService, settingsService, aggregator) { _navigationTask = new TaskCompletionSource <bool>(); Transactions = new IncrementalCollectionWithDelegate <object>(this); RefreshCommand = new RelayCommand(RefreshExecute); SettingsCommand = new RelayCommand(SettingsExecute); ReceiveCommand = new RelayCommand(ReceiveExecute); SendCommand = new RelayCommand(SendExecute); }
public WalletImportViewModel(ITonService tonService, IProtoService protoService, ICacheService cacheService, ISettingsService settingsService, IEventAggregator aggregator) : base(tonService, protoService, cacheService, settingsService, aggregator) { Items = new MvxObservableCollection <WalletWordViewModel>(); for (int i = 0; i < 12; i++) { Items.Add(new WalletWordViewModel { Index = i + 1 }); Items.Add(new WalletWordViewModel { Index = i + 13 }); } TooBadCommand = new RelayCommand(TooBadExecute); SendCommand = new RelayCommand(SendExecute); }
public WalletCreateViewModel(ITonService tonService, IProtoService protoService, ICacheService cacheService, ISettingsService settingsService, IEventAggregator aggregator) : base(tonService, protoService, cacheService, settingsService, aggregator) { SendCommand = new RelayCommand(SendExecute); ImportCommand = new RelayCommand(ImportExecute); }
public TonViewModelBase(ITonService tonService, IProtoService protoService, ICacheService cacheService, ISettingsService settingsService, IEventAggregator aggregator) : base(protoService, cacheService, settingsService, aggregator) { _tonService = tonService; }
public WalletInfoViewModel(ITonService tonService, IProtoService protoService, ICacheService cacheService, ISettingsService settingsService, IEventAggregator aggregator) : base(tonService, protoService, cacheService, settingsService, aggregator) { ContinueCommand = new RelayCommand(ContinueExecute); }
public WalletSendingViewModel(ITonService tonService, IProtoService protoService, ICacheService cacheService, ISettingsService settingsService, IEventAggregator aggregator) : base(tonService, protoService, cacheService, settingsService, aggregator) { }
public WalletTransactionViewModel(ITonService tonService, IProtoService protoService, ICacheService cacheService, ISettingsService settingsService, IEventAggregator aggregator) : base(tonService, protoService, cacheService, settingsService, aggregator) { CopyCommand = new RelayCommand(CopyExecute); SendCommand = new RelayCommand(SendExecute); }