Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ActiveStates.cs
Go to the documentation of this file.
1namespace System.Transactions;
2
3internal abstract class ActiveStates : TransactionState
4{
6 {
7 return TransactionStatus.Active;
8 }
9
10 internal override void AddOutcomeRegistrant(InternalTransaction tx, TransactionCompletedEventHandler transactionCompletedDelegate)
11 {
12 tx._transactionCompletedDelegate = (TransactionCompletedEventHandler)Delegate.Combine(tx._transactionCompletedDelegate, transactionCompletedDelegate);
13 }
14}
static ? Delegate Combine(Delegate? a, Delegate? b)
Definition Delegate.cs:379
override void AddOutcomeRegistrant(InternalTransaction tx, TransactionCompletedEventHandler transactionCompletedDelegate)
override TransactionStatus get_Status(InternalTransaction tx)
TransactionCompletedEventHandler _transactionCompletedDelegate
delegate void TransactionCompletedEventHandler(object? sender, TransactionEventArgs e)