C# Класс Deeply.Tests.Fixtures.SimpleContextFixture

SimpleTaskContextFixture class definition.
Depending on which is simpler, this class can either be inherited by test classes or created and disposed inside test. In the first instance XUnit will automatically dispose of the instance but in the second you should use a using or finally block to ensure correct disposal.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

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

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

SimpleContextFixture ( ) : System

Initializes a new instance of the SimpleContextFixture class.

This constructor is normally called when used as a test base class.

SimpleContextFixture ( Action registerTypes ) : System

Initializes a new instance of the SimpleContextFixture class.

This constructor is normally used when instantiated in-test.

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

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

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

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
protected Dispose ( bool disposing ) : void
disposing bool A flag indicating whether this instance is being disposed or finalized.
Результат void

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

Initializes a new instance of the SimpleContextFixture class.
This constructor is normally called when used as a test base class.
public SimpleContextFixture ( ) : System
Результат System

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

Initializes a new instance of the SimpleContextFixture class.
This constructor is normally used when instantiated in-test.
public SimpleContextFixture ( Action registerTypes ) : System
registerTypes Action Call-back function allowing the user to register additional classes.
Результат System