|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| void | GetObjectData (SerializationInfo info, StreamingContext context) |
| ExecutionContext | CreateCopy () |
| void | Dispose () |
Static Public Member Functions | |
| static ? ExecutionContext | Capture () |
| static AsyncFlowControl | SuppressFlow () |
| static void | RestoreFlow () |
| static bool | IsFlowSuppressed () |
| static void | Run (ExecutionContext executionContext, ContextCallback callback, object? state) |
| static void | Restore (ExecutionContext executionContext) |
Static Package Functions | |
| static ExecutionContext | CaptureForRestore () |
| static void | RunInternal (ExecutionContext executionContext, ContextCallback callback, object state) |
| static void | RestoreInternal (ExecutionContext executionContext) |
| static void | RunFromThreadPoolDispatchLoop (Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, object state) |
| static void | RunForThreadPoolUnsafe< TState > (ExecutionContext executionContext, Action< TState > callback, in TState state) |
| static void | RestoreChangedContextToThread (Thread currentThread, ExecutionContext contextToRestore, ExecutionContext currentContext) |
| static void | ResetThreadPoolThread (Thread currentThread) |
| static void | OnValuesChanged (ExecutionContext previousExecutionCtx, ExecutionContext nextExecutionCtx) |
| static object | GetLocalValue (IAsyncLocal local) |
| static void | SetLocalValue (IAsyncLocal local, object newValue, bool needChangeNotifications) |
Static Package Attributes | |
| static readonly ExecutionContext | Default = new ExecutionContext() |
Properties | |
| bool | HasChangeNotifications [get] |
| bool | IsDefault [get] |
Private Member Functions | |
| ExecutionContext () | |
| ExecutionContext (IAsyncLocalValueMap localValues, IAsyncLocal[] localChangeNotifications, bool isFlowSuppressed) | |
| ExecutionContext | ShallowClone (bool isFlowSuppressed) |
Static Private Member Functions | |
| static void | ThrowNullContext () |
Private Attributes | |
| readonly IAsyncLocalValueMap | m_localValues |
| readonly IAsyncLocal[] | m_localChangeNotifications |
| readonly bool | m_isFlowSuppressed |
| readonly bool | m_isDefault |
Static Private Attributes | |
| static volatile ExecutionContext | s_defaultFlowSuppressed |
Definition at line 9 of file ExecutionContext.cs.