C# Class AssemblyCSharp.AsyncTask

Inheritance: ICancelable
ファイルを表示 Open project: wooga/ps_social_jam Class Usage Examples

Public Methods

Method Description
Cancel ( ) : void
Dispose ( ) : void
Execute ( TaskExecutionContext context, CancellationToken cancellationToken = null ) : void
ExecuteCoroutine ( TaskExecutionContext context, CancellationToken cancellationToken = null ) : IEnumerator

Protected Methods

Method Description
DoExecute ( TaskExecutionContext context ) : void
DoExecuteCoroutine ( TaskExecutionContext context ) : IEnumerator
ProgressCallback ( float>.Action callback ) : Action
ProgressCallback ( string task, float>.Action callback ) : Action

Method Details

Cancel() public method

public Cancel ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

DoExecute() protected abstract method

protected abstract DoExecute ( TaskExecutionContext context ) : void
context TaskExecutionContext
return void

DoExecuteCoroutine() protected abstract method

protected abstract DoExecuteCoroutine ( TaskExecutionContext context ) : IEnumerator
context TaskExecutionContext
return IEnumerator

Execute() public method

public Execute ( TaskExecutionContext context, CancellationToken cancellationToken = null ) : void
context TaskExecutionContext
cancellationToken CancellationToken
return void

ExecuteCoroutine() public method

public ExecuteCoroutine ( TaskExecutionContext context, CancellationToken cancellationToken = null ) : IEnumerator
context TaskExecutionContext
cancellationToken CancellationToken
return IEnumerator

ProgressCallback() protected method

protected ProgressCallback ( float>.Action callback ) : Action
callback float>.Action
return Action

ProgressCallback() protected method

protected ProgressCallback ( string task, float>.Action callback ) : Action
task string
callback float>.Action
return Action