Method | Description | |
---|---|---|
StructureMapAdaptor ( IContainer container ) : System |
Creates a new adaptor with the supplied container.
|
Method | Description | |
---|---|---|
DoGetAllInstances ( |
Returns all instances of serviceType. If none are found, an empty enumeration is returned.
|
|
DoGetInstance ( |
Returns an instance of serviceType, and uses key if it is not null. If serviceType is a class, it will construct that class and perform dependency injection regardless if it is registered in the container.
|
protected DoGetAllInstances ( |
||
serviceType | The type to check for anything registered on this type. | |
return | IEnumerable |
protected DoGetInstance ( |
||
serviceType | The type to construct. | |
key | string | A key to use in the container. Will not be used if null or empty. |
return | object |
public StructureMapAdaptor ( IContainer container ) : System | ||
container | IContainer | A container to use for the service locator. |
return | System |