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

◆ EnlistmentDone()

override void System.Transactions.EnlistmentStatePromoted.EnlistmentDone ( InternalEnlistment enlistment)
inlinepackagevirtual

Reimplemented from System.Transactions.EnlistmentState.

Definition at line 12 of file EnlistmentStatePromoted.cs.

13 {
14 Monitor.Exit(enlistment.SyncRoot);
15 try
16 {
17 enlistment.PromotedEnlistment.EnlistmentDone();
18 }
19 finally
20 {
21 Monitor.Enter(enlistment.SyncRoot);
22 }
23 }
static void Exit(object obj)
static void Enter(object obj)

References System.Transactions.IPromotedEnlistment.EnlistmentDone(), System.Threading.Monitor.Enter(), System.Threading.Monitor.Exit(), System.Transactions.InternalEnlistment.PromotedEnlistment, and System.Transactions.InternalEnlistment.SyncRoot.