Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros

◆ Prepared()

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

Reimplemented from System.Transactions.EnlistmentState.

Definition at line 25 of file EnlistmentStatePromoted.cs.

26 {
27 Monitor.Exit(enlistment.SyncRoot);
28 try
29 {
30 enlistment.PromotedEnlistment.Prepared();
31 }
32 finally
33 {
34 Monitor.Enter(enlistment.SyncRoot);
35 }
36 }
static void Exit(object obj)
static void Enter(object obj)

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