C# Class Deeply.AsyncActionTask

AsyncActionTask class definition.
Inheritance: TaskBase
Afficher le fichier Open project: jsnape/deeply

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
ExecuteInternalAsync ( ITaskContext context ) : System.Threading.Tasks.Task

Implementation function for the execution.

Method Details

AsyncActionTask() public méthode

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

AsyncActionTask() public méthode

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.
Résultat System

ExecuteInternalAsync() protected méthode

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