C# Class Deeply.AsyncActionTask

AsyncActionTask class definition.
Inheritance: TaskBase
Show file Open project: jsnape/deeply

Public Methods

Method Description
AsyncActionTask ( Func action ) : System

Initializes a new instance of the AsyncActionTask class.

AsyncActionTask ( string name, Func action ) : System

Initializes a new instance of the AsyncActionTask class.

Protected Methods

Method Description
ExecuteInternalAsync ( ITaskContext context ) : System.Threading.Tasks.Task

Implementation function for the execution.

Method Details

AsyncActionTask() public method

Initializes a new instance of the AsyncActionTask class.
public AsyncActionTask ( Func action ) : System
action Func Action to call when the task executes.
return System

AsyncActionTask() public method

Initializes a new instance of the AsyncActionTask class.
public AsyncActionTask ( string name, Func action ) : System
name string Task name.
action Func Action to call when the task executes.
return System

ExecuteInternalAsync() protected method

Implementation function for the execution.
protected ExecuteInternalAsync ( ITaskContext context ) : System.Threading.Tasks.Task
context ITaskContext Verification context.
return System.Threading.Tasks.Task