Метод | Описание | |
---|---|---|
AddFactory ( this storage, string serviceName, |
Adds a factory to the current IFactoryStorage instance.
|
|
ContainsFactory ( this storage, string serviceName, |
Determines whether or not a factory exists in storage.
|
|
GetFactory ( this storage, string serviceName, |
Determines which factories should be used for a particular service request.
|
|
GetFactory ( this storage, string serviceName, |
Determines which factories should be used for a particular service request.
|
public static AddFactory ( this storage, string serviceName, |
||
storage | this | The |
serviceName | string | The name that will be associated with the target factory. |
serviceType | The service type that the factory will be able to create. | |
additionalParameterTypes | IEnumerable |
The list of additional parameters that this factory type will support. |
factory | IFactory | The |
Результат | void |
public static ContainsFactory ( this storage, string serviceName, |
||
storage | this | The |
serviceName | string | The name that will be associated with the target factory. |
serviceType | The service type that the factory will be able to create. | |
additionalParameterTypes | IEnumerable |
The list of additional parameters that this factory type will support. |
Результат | bool |
public static GetFactory ( this storage, string serviceName, |
||
storage | this | The |
serviceName | string | The name that will be associated with the target factory. |
serviceType | The service type that the factory will be able to create. | |
additionalParameterTypes | IEnumerable |
The list of additional parameters that this factory type will support. |
Результат | IFactory |
public static GetFactory ( this storage, string serviceName, |
||
storage | this | The |
serviceName | string | The name that will be associated with the target factory. |
serviceType | The service type that the factory will be able to create. | |
additionalParameters | IEnumerable | The list of additional parameter values that this factory type will use to instantiate the service. |
Результат | IFactory |