Exemplo n.º 1
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     if (!_disposed)
     {
         _bitcoinExchange.OnTransactionCompleted -= OnOnTransactionCompleted;
         _bitcoinExchange = null;
         _disposed        = true;
     }
 }
Exemplo n.º 2
0
 public MoneyWallet(BitcoinExchange bitcoinExchange)
 {
     _bitcoinExchange = bitcoinExchange;
     _bitcoinExchange.OnTransactionCompleted += OnOnTransactionCompleted;
 }