Exemplo n.º 1
0
 public SendCoinViewModel(IWalletService walletService, ICoinSelector coinSelector)
 {
     this.walletService = walletService;
     this.coinSelector  = coinSelector;
     Title = "Send Coin";
     ScanAddressCommand = new Command(async() => await ScanAddressCommandExecute());
     SendCommand        = new Command(async() => await SendCommandExecute());
 }
Exemplo n.º 2
0
 public TransactionBuilder SetCoinSelector(ICoinSelector selector)
 {
     if (selector == null)
     {
         throw new ArgumentNullException("selector");
     }
     CoinSelector = selector;
     return(this);
 }
Exemplo n.º 3
0
		public TransactionBuilder SetCoinSelector(ICoinSelector selector)
		{
			if(selector == null)
				throw new ArgumentNullException("selector");
			CoinSelector = selector;
			return this;
		}