terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
System.Threading.Tasks.TaskFactory< TResult > Class Template Reference
+ Inheritance diagram for System.Threading.Tasks.TaskFactory< TResult >:
+ Collaboration diagram for System.Threading.Tasks.TaskFactory< TResult >:

Classes

class  CompleteOnInvokePromise
 
class  FromAsyncTrimPromise
 

Public Member Functions

 TaskFactory ()
 
 TaskFactory (CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
 
Task StartNew (global::System.Action< object > action, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskScheduler scheduler)
 
Task< TResultStartNew< TResult > (global::System.Func< TResult > function, CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskScheduler scheduler)
 
Task< TResultStartNew< TResult > (global::System.Func< object, TResult > function, object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskScheduler scheduler)
 
Task FromAsync< TArg1 > (global::System.Func< TArg1, global::System.AsyncCallback, object, global::System.IAsyncResult > beginMethod, global::System.Action< global::System.IAsyncResult > endMethod, TArg1 arg1, object state)
 
Task FromAsync< TArg1 > (global::System.Func< TArg1, global::System.AsyncCallback, object, global::System.IAsyncResult > beginMethod, global::System.Action< global::System.IAsyncResult > endMethod, TArg1 arg1, object state, TaskCreationOptions creationOptions)
 
Task FromAsync< TArg1, TArg2 > (global::System.Func< TArg1, TArg2, global::System.AsyncCallback, object, global::System.IAsyncResult > beginMethod, global::System.Action< global::System.IAsyncResult > endMethod, TArg1 arg1, TArg2 arg2, object state)
 
Task FromAsync< TArg1, TArg2 > (global::System.Func< TArg1, TArg2, global::System.AsyncCallback, object, global::System.IAsyncResult > beginMethod, global::System.Action< global::System.IAsyncResult > endMethod, TArg1 arg1, TArg2 arg2, object state, TaskCreationOptions creationOptions)
 
 TaskFactory ()
 
 TaskFactory (CancellationToken cancellationToken, TaskCreationOptions creationOptions, TaskContinuationOptions continuationOptions, TaskScheduler scheduler)
 
Task< TResultFromAsync (global::System.Func< global::System.AsyncCallback, object, global::System.IAsyncResult > beginMethod, global::System.Func< global::System.IAsyncResult, TResult > endMethod, object state)
 
Task< TResultFromAsync< TArg1 > (global::System.Func< TArg1, global::System.AsyncCallback, object, global::System.IAsyncResult > beginMethod, global::System.Func< global::System.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 (global::System.Collections.Generic.IList< Task > tasks)
 
static void CheckMultiTaskContinuationOptions (TaskContinuationOptions continuationOptions)
 
static Task< TResultFromAsyncImpl (global::System.Func< global::System.AsyncCallback, object, global::System.IAsyncResult > beginMethod, global::System.Func< global::System.IAsyncResult, TResult > endFunction, global::System.Action< global::System.IAsyncResult > endAction, object state, TaskCreationOptions creationOptions)
 
static Task< TResultFromAsyncImpl< TArg1 > (global::System.Func< TArg1, global::System.AsyncCallback, object, global::System.IAsyncResult > beginMethod, global::System.Func< global::System.IAsyncResult, TResult > endFunction, global::System.Action< global::System.IAsyncResult > endAction, TArg1 arg1, object state, TaskCreationOptions creationOptions)
 
static Task< TResultFromAsyncImpl< TArg1, TArg2 > (global::System.Func< TArg1, TArg2, global::System.AsyncCallback, object, global::System.IAsyncResult > beginMethod, global::System.Func< global::System.IAsyncResult, TResult > endFunction, global::System.Action< global::System.IAsyncResult > endAction, TArg1 arg1, TArg2 arg2, object state, TaskCreationOptions creationOptions)
 
static Task< TResultFromAsyncTrim< TInstance, TArgs > (TInstance thisRef, TArgs args, global::System.Func< TInstance, TArgs, global::System.AsyncCallback, object, global::System.IAsyncResult > beginMethod, global::System.Func< TInstance, global::System.IAsyncResult, TResult > endMethod)
 

Static Private Member Functions

static void FromAsyncCoreLogic (global::System.IAsyncResult iar, global::System.Func< global::System.IAsyncResult, TResult > endFunction, global::System.Action< global::System.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 11 of file TaskFactory.cs.


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