Ejemplo n.º 1
0
        public Transaction(Transaction transaction)
        {
            _userTransaction   = new UserTransaction(transaction.UserTransaction);
            _systemTransaction = new SystemTransaction(transaction.SystemTransaction);

            _userTransaction.SetCacheKey(transaction.UserTransaction.CacheKey);
        }
Ejemplo n.º 2
0
 public UserTransaction(UserTransaction userTransaction)
 {
     DistributorHash  = userTransaction.DistributorHash;
     IsError          = userTransaction.IsError;
     ErrorDescription = userTransaction.ErrorDescription;
     _cacheKey        = userTransaction.CacheKey;
     State            = userTransaction.State;
 }
Ejemplo n.º 3
0
 public Transaction(UserTransaction transaction)
 {
     _userTransaction   = new UserTransaction(transaction);
     _systemTransaction = new SystemTransaction("-1");
 }
Ejemplo n.º 4
0
 public Transaction(string eventHash, string distributorHash)
 {
     _userTransaction   = new UserTransaction(distributorHash);
     _systemTransaction = new SystemTransaction(eventHash);
 }