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()); }
public TransactionBuilder SetCoinSelector(ICoinSelector selector) { if (selector == null) { throw new ArgumentNullException("selector"); } CoinSelector = selector; return(this); }
public TransactionBuilder SetCoinSelector(ICoinSelector selector) { if(selector == null) throw new ArgumentNullException("selector"); CoinSelector = selector; return this; }