C# Класс Patterns.Runtime.TemporaryScope

Provides a disposable scope with configurable setup and tear-down actions.
Наследование: IDisposable
Показать файл Открыть проект

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

Метод Описание
Dispose ( ) : void

Disposes this scope; if a tear-down method exists, it is executed.

TemporaryScope ( System.Action setup = null, System.Action tearDown = null ) : System

Initializes a new instance of the TemporaryScope class.

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

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

Disposes this scope; if a tear-down method exists, it is executed.
public Dispose ( ) : void
Результат void

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

Initializes a new instance of the TemporaryScope class.
public TemporaryScope ( System.Action setup = null, System.Action tearDown = null ) : System
setup System.Action The setup.
tearDown System.Action The tear down.
Результат System