Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AddOutcomeRegistrant()

override void System.Transactions.TransactionStatePromotedEnded.AddOutcomeRegistrant ( InternalTransaction tx,
TransactionCompletedEventHandler transactionCompletedDelegate )
inlinepackagevirtualinherited

Reimplemented from System.Transactions.TransactionStateEnded.

Definition at line 21 of file TransactionStatePromotedEnded.cs.

22 {
23 if (transactionCompletedDelegate != null)
24 {
25 TransactionEventArgs transactionEventArgs = new TransactionEventArgs();
26 transactionEventArgs._transaction = tx._outcomeSource.InternalClone();
27 transactionCompletedDelegate(transactionEventArgs._transaction, transactionEventArgs);
28 }
29 }

References System.Transactions.InternalTransaction._outcomeSource, System.Transactions.TransactionEventArgs._transaction, and System.Transactions.Transaction.InternalClone().