コード例 #1
0
 public async Task Subscribe(string address)
 {
     try
     {
         await _observableWalletRepository.Insert(ObservableWallet.Create(address));
     }
     catch (StorageException e) when(e.RequestInformation.HttpStatusCode == EntityExistsHttpStatusCode)
     {
         throw new WalletAlreadyExistException();
     }
 }
コード例 #2
0
 public async Task Subscribe(string address)
 {
     await _observableWalletRepository.Insert(ObservableWallet.Create(address));
 }
コード例 #3
0
        public async Task Subscribe(string address)
        {
            await _observableWalletRepository.Insert(ObservableWallet.Create(address));

            await _blockChainProvider.ImportWatchOnlyAddress(address);
        }