コード例 #1
0
 public override void Commit()
 {
     try
     {
         base.Commit();
         this.Logger.TryLogFail(() => TransactionCompleted.Fire(this, new TransactionEventArgs(this)));
     }
     catch (TransactionException e)
     {
         this.Logger.TryLogFail(() => TransactionFailed.Fire(this, new TransactionFailedEventArgs(this, e)));
         throw;
     }
 }
コード例 #2
0
 private void CompletedHandler(object sender, TransactionEventArgs e)
 {
     TransactionCompleted.Fire(this, e);
 }