C# Class Deeply.ResourceScope

Resource scope decorator class definition.
Inheritance: TaskBase
Afficher le fichier Open project: jsnape/deeply

Méthodes publiques

Méthode Description
ResourceScope ( ITask decoratedTask ) : System

Initializes a new instance of the ResourceScope class.

ResourceScope ( ITask decoratedTask, IEnumerable resources ) : System

Initializes a new instance of the ResourceScope class.

ResourceScope ( string name, ITask decoratedTask ) : System

Initializes a new instance of the ResourceScope class.

ResourceScope ( string name, ITask decoratedTask, IEnumerable resources ) : System

Initializes a new instance of the ResourceScope class.

Méthodes protégées

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

Implementation function for the execution.

Method Details

ExecuteInternalAsync() protected méthode

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

ResourceScope() public méthode

Initializes a new instance of the ResourceScope class.
public ResourceScope ( ITask decoratedTask ) : System
decoratedTask ITask Wrapped task.
Résultat System

ResourceScope() public méthode

Initializes a new instance of the ResourceScope class.
public ResourceScope ( ITask decoratedTask, IEnumerable resources ) : System
decoratedTask ITask Wrapped task.
resources IEnumerable Sequence of resources to dispose of.
Résultat System

ResourceScope() public méthode

Initializes a new instance of the ResourceScope class.
public ResourceScope ( string name, ITask decoratedTask ) : System
name string Task name.
decoratedTask ITask Wrapped task.
Résultat System

ResourceScope() public méthode

Initializes a new instance of the ResourceScope class.
public ResourceScope ( string name, ITask decoratedTask, IEnumerable resources ) : System
name string Task name.
decoratedTask ITask Wrapped task.
resources IEnumerable Sequence of resources to dispose of.
Résultat System