Method | Description | |
---|---|---|
CreateStub ( |
Creates a new stub of the specified interface type.
|
|
FabricContext ( |
Creates a new instance of the FabricContext class.
|
|
InjectExistingInstanceIntoContainer ( |
Registers the existing instance specified by instance under the interface specified by interfaceType at the underlying IoC type.
|
|
ResolveByFabric ( |
Resolves the type specified by type with the root level fabric.
|
|
ResolveInstanceFromContainer ( |
Resolves an instance of the specified type from the underlying IoC container.
|
|
ResolveInstancesFromContainer ( |
Resolves a collection of the itemtype specified by itemType from the underlying IoC container.
|
public CreateStub ( |
||
interfaceType | /// Specifies a type to create a stub for. /// | |
return | object |
public FabricContext ( |
||
typeToBuild | /// Specifies the type to build. /// | |
mockingEngine | IMockingEngine | /// Specifies the mock factory. /// |
container | IContainer | /// Specifies the container. /// |
fabric | /// Specifies the fabric. /// | |
return | System |
public InjectExistingInstanceIntoContainer ( |
||
interfaceType | /// Specifies the interface type. /// | |
instance | object | /// Specifies an existing instance. /// |
return | void |
public ResolveByFabric ( |
||
type | /// Specifies the type to resolve. /// | |
return | object |
public ResolveInstanceFromContainer ( |
||
typeToResolveByContainer | /// The type to resolve. /// | |
return | object |
public ResolveInstancesFromContainer ( |
||
itemType | /// Specifies the item type. /// | |
return | IEnumerable |