C# Класс Deeply.ResourceScope

Resource scope decorator class definition.
Наследование: TaskBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
ExecuteInternalAsync ( ITaskContext context ) : System.Threading.Tasks.Task

Implementation function for the execution.

Описание методов

ExecuteInternalAsync() защищенный Метод

Implementation function for the execution.
protected ExecuteInternalAsync ( ITaskContext context ) : System.Threading.Tasks.Task
context ITaskContext Execution context.
Результат System.Threading.Tasks.Task

ResourceScope() публичный Метод

Initializes a new instance of the ResourceScope class.
public ResourceScope ( ITask decoratedTask ) : System
decoratedTask ITask Wrapped task.
Результат System

ResourceScope() публичный Метод

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.
Результат System

ResourceScope() публичный Метод

Initializes a new instance of the ResourceScope class.
public ResourceScope ( string name, ITask decoratedTask ) : System
name string Task name.
decoratedTask ITask Wrapped task.
Результат System

ResourceScope() публичный Метод

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.
Результат System