Exemplo n.º 1
0
 public SplashViewModel(IWalletService walletService, ISettingService settingService,
                        IAddressManagerService addressManagerService, IChainService chainService,
                        IOperationTrackerService trackerService)
 {
     this.walletService         = walletService;
     this.settingService        = settingService;
     this.addressManagerService = addressManagerService;
     this.chainService          = chainService;
     this.trackerService        = trackerService;
     AppName = "CoinBag";
 }
Exemplo n.º 2
0
        public MainViewModel(IAddressManagerService addressManagerService, IChainService chainService, IOperationTrackerService trackerService, IWalletService walletService)
        {
            this.addressManagerService = addressManagerService;
            this.chainService          = chainService;
            this.trackerService        = trackerService;
            this.walletService         = walletService;

            Title = "Coin bag";

            RecentTransactions  = new ObservableRangeCollection <TransactionDetail>();
            GoToGetCoinCommand  = new Command(GoToGetCoinCommandExecute);
            GoToSendCoinCommand = new Command(GoToSendCoinCommandExecute);
        }