terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
System.Threading.Tasks.TaskFactory< TResult > Class Template Reference

Classes

class  CompleteOnInvokePromise
 
class  FromAsyncTrimPromise
 

Public Member Functions

 TaskFactory ()
 
 TaskFactory (CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
 
Task StartNew (Action< object > action, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskScheduler scheduler)
 
Task< TResultStartNew< TResult > (Func< TResult > function, CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskScheduler scheduler)
 
Task< TResultStartNew< TResult > (Func< object, TResult > function, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskScheduler scheduler)
 
Task FromAsync< TArg1 > (Func< TArg1, AsyncCallback, object, IAsyncResult > beginMethod, Action< IAsyncResult > endMethod, TArg1 arg1, object state)
 
Task FromAsync< TArg1 > (Func< TArg1, AsyncCallback, object, IAsyncResult > beginMethod, Action< IAsyncResult > endMethod, TArg1 arg1, object state, TaskCreationOptions creationOptions)
 
Task FromAsync< TArg1, TArg2 > (Func< TArg1, TArg2, AsyncCallback, object, IAsyncResult > beginMethod, Action< IAsyncResult > endMethod, TArg1 arg1, TArg2 arg2, object state)
 
Task FromAsync< TArg1, TArg2 > (Func< TArg1, TArg2, AsyncCallback, object, IAsyncResult > beginMethod, Action< IAsyncResult > endMethod, TArg1 arg1, TArg2 arg2, object state, TaskCreationOptions creationOptions)
 
 TaskFactory ()
 
 TaskFactory (CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
 
Task< TResultFromAsync (Func< AsyncCallback, object, IAsyncResult > beginMethod, Func< IAsyncResult, TResult > endMethod, object state)
 
Task< TResultFromAsync< TArg1 > (Func< TArg1, AsyncCallback, object, IAsyncResult > beginMethod, Func< IAsyncResult, TResult > endMethod, TArg1 arg1, object state)
 

Static Package Functions

static void CheckCreationOptions (TaskCreationOptions creationOptions)
 
static void CheckFromAsyncOptions (TaskCreationOptions creationOptions, bool hasBeginMethod)
 
static Task< TaskCommonCWAnyLogic (IList< Task > tasks)
 
static void CheckMultiTaskContinuationOptions (TaskContinuationOptions continuationOptions)
 
static Task< TResultFromAsyncImpl (Func< AsyncCallback, object, IAsyncResult > beginMethod, Func< IAsyncResult, TResult > endFunction, Action< IAsyncResult > endAction, object state, TaskCreationOptions creationOptions)
 
static Task< TResultFromAsyncImpl< TArg1 > (Func< TArg1, AsyncCallback, object, IAsyncResult > beginMethod, Func< IAsyncResult, TResult > endFunction, Action< IAsyncResult > endAction, TArg1 arg1, object state, TaskCreationOptions creationOptions)
 
static Task< TResultFromAsyncImpl< TArg1, TArg2 > (Func< TArg1, TArg2, AsyncCallback, object, IAsyncResult > beginMethod, Func< IAsyncResult, TResult > endFunction, Action< IAsyncResult > endAction, TArg1 arg1, TArg2 arg2, object state, TaskCreationOptions creationOptions)
 
static Task< TResultFromAsyncTrim< TInstance, TArgs > (TInstance thisRef, TArgs args, Func< TInstance, TArgs, AsyncCallback, object, IAsyncResult > beginMethod, Func< TInstance, IAsyncResult, TResult > endMethod)
 

Static Private Member Functions

static void FromAsyncCoreLogic (IAsyncResult iar, Func< IAsyncResult, TResult > endFunction, Action< IAsyncResult > endAction, Task< TResult > promise, bool requiresSynchronization)
 

Private Attributes

readonly CancellationToken m_defaultCancellationToken
 
readonly TaskScheduler m_defaultScheduler
 
readonly TaskCreationOptions m_defaultCreationOptions
 
readonly TaskContinuationOptions m_defaultContinuationOptions
 
CancellationToken m_defaultCancellationToken
 
TaskScheduler m_defaultScheduler
 
TaskCreationOptions m_defaultCreationOptions
 
TaskContinuationOptions m_defaultContinuationOptions
 

Detailed Description

Definition at line 8 of file TaskFactory.cs.


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