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
파일 보기 프로젝트 열기: jsnape/deeply 1 사용 예제들

공개 메소드들

메소드 설명
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