Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation Class Referencesealed

Protected Member Functions

Task CreateTask (Action< object > action, object state, TaskScheduler scheduler)
 
void RunCallback (ContextCallback callback, object state, ref Task currentTask)
 

Static Protected Member Functions

static ContextCallback GetInvokeActionCallback ()
 
static void InlineIfPossibleOrElseQueue (Task task, bool needsProtection)
 

Protected Attributes

readonly Action m_action
 
int m_continuationId
 

Package Functions

 SynchronizationContextAwaitTaskContinuation (SynchronizationContext context, Action action, bool flowExecutionContext)
 
override void Run (Task task, bool canInlineContinuationTask)
 
override Delegate[] GetDelegateContinuationsForDebugger ()
 

Static Package Functions

static void RunOrScheduleAction (Action action, bool allowInlining)
 
static void RunOrScheduleAction (IAsyncStateMachineBox box, bool allowInlining)
 
static void UnsafeScheduleAction (Action action, Task task)
 

Properties

static bool IsValidLocationForInlining [get]
 

Private Member Functions

void IThreadPoolWorkItem. Execute ()
 

Static Private Member Functions

static void PostAction (object state)
 
static Action GetActionLogDelegate (int continuationId, Action action)
 
static ContextCallback GetPostActionCallback ()
 

Private Attributes

readonly SynchronizationContext m_syncContext
 
readonly ExecutionContext m_capturedContext
 

Static Private Attributes

static readonly SendOrPostCallback s_postCallback
 
static ContextCallback s_postActionCallback
 
static readonly ContextCallback s_invokeContextCallback
 
static readonly Action< Actions_invokeAction
 

Detailed Description


The documentation for this class was generated from the following file: