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; } }
private void CompletedHandler(object sender, TransactionEventArgs e) { TransactionCompleted.Fire(this, e); }