메소드 | 설명 | |
---|---|---|
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. /// | |
리턴 | object |
public FabricContext ( |
||
typeToBuild | /// Specifies the type to build. /// | |
mockingEngine | IMockingEngine | /// Specifies the mock factory. /// |
container | IContainer | /// Specifies the container. /// |
fabric | /// Specifies the fabric. /// | |
리턴 | System |
public InjectExistingInstanceIntoContainer ( |
||
interfaceType | /// Specifies the interface type. /// | |
instance | object | /// Specifies an existing instance. /// |
리턴 | void |
public ResolveByFabric ( |
||
type | /// Specifies the type to resolve. /// | |
리턴 | object |
public ResolveInstanceFromContainer ( |
||
typeToResolveByContainer | /// The type to resolve. /// | |
리턴 | object |
public ResolveInstancesFromContainer ( |
||
itemType | /// Specifies the item type. /// | |
리턴 | IEnumerable |