C# Class Deeply.ActionTask

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

Méthodes publiques

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

Méthodes protégées

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

Implementation function for the execution.

Method Details

ActionTask() public méthode

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

ActionTask() public méthode

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.
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