C# Class Deeply.ActionTask

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

Public Methods

Method Description
ActionTask ( System.Action action ) : System

Initializes a new instance of the ActionTask class.

ActionTask ( string name, System.Action action ) : System

Initializes a new instance of the ActionTask class.

Protected Methods

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

Implementation function for the execution.

Method Details

ActionTask() public method

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

ActionTask() public method

Initializes a new instance of the ActionTask class.
public ActionTask ( string name, System.Action action ) : System
name string Task name.
action System.Action 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