C# Класс NUnit.Framework.Internal.TestExecutionContext.IsolatedContext

An IsolatedContext is used when running code that may effect the current result in ways that should not impact the final result of the test. A new TestExecutionContext is created with an initially clear result, which is discarded on exiting the context.
Наследование: IDisposable
Показать файл Открыть проект

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

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

Restore the original TestExecutionContext.

IsolatedContext ( ) : System

Save the original current TestExecutionContext and make a new isolated context current.

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

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

Restore the original TestExecutionContext.
public Dispose ( ) : void
Результат void

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

Save the original current TestExecutionContext and make a new isolated context current.
public IsolatedContext ( ) : System
Результат System