AIT.VisualStudio.TestTools


TestCompositionContainerBase

Defined in AIT.VisualStudio.TestTools.MEF.dll.
Provides composition environment for tests.

Constructors

ConstructorDescription
new()
Signature: unit -> unit
Initializes a new instance of the TestCompositionContainerBase class.
new(typesToRemove)
Signature: (typesToRemove:Type []) -> unit

Instance members

Instance memberDescription
AssembliesToInclude
Signature: IEnumerable<Assembly>
Modifiers: abstract
Gets the assemblies automatic include.
ComposeStub(exportedValue)
Signature: exportedValue:'T -> unit
Type parameters: 'T
Adds the stub to the container.
ComposeStub(contractName, exportedValue)
Signature: (contractName:string * exportedValue:'T) -> unit
Type parameters: 'T
Adds the stub to the container.
ComposeStubPart(part)
Signature: part:obj -> unit
Adds the stub to the container.
Dispose()
Signature: unit -> unit
Modifiers: abstract
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
GetExportedValueOrDefault(contractName)
Signature: contractName:string -> 'T
Type parameters: 'T
Gets the exported value or the default.
GetExportedValuesOrDefault(contractName)
Signature: contractName:string -> IEnumerable<'T>
Type parameters: 'T
Gets the exported value or the default.
SatisfyImportsOnce(part)
Signature: part:obj -> unit
Satisfies the imports once.
StubsToCompose
Signature: IEnumerable<Stub>
Modifiers: abstract
Gets the stubs to compose.
TypesToInclude
Signature: IEnumerable<Type>
Modifiers: abstract
Gets the assemblies automatic include.
TypesToRemove
Signature: IEnumerable<Type>
Modifiers: abstract
Gets the types to remove form the container.
Fork me on GitHub