C# Class Deeply.ResourceScope

Resource scope decorator class definition.
Inheritance: TaskBase
Show file Open project: jsnape/deeply

Public Methods

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

Protected Methods

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

Implementation function for the execution.

Method Details

ExecuteInternalAsync() protected method

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

ResourceScope() public method

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

ResourceScope() public method

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

ResourceScope() public method

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

ResourceScope() public method

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