Method | Description | |
---|---|---|
GenericSingletonInstanceContainer ( string serviceName, |
Initializes a new instance of the GenericSingletonInstanceContainer class.
|
Method | Description | |
---|---|---|
Register ( |
Registers the generic service type as a singleton type.
|
public GenericSingletonInstanceContainer ( string serviceName, |
||
serviceName | string | The name of the generic service. |
genericServiceType | The generic type that represents the service type. | |
genericTypeImplementation | The type that represents the generic service type implementation. | |
dependencyContainer | IDependencyContainer | The dependency map that describes the list of services that will be available to the instantiated generic types. |
return | System |
protected Register ( |
||
serviceType | The service type that will be registered. | |
concreteType | The generic concrete type that will implement the generic service type. | |
map | DependencyMap | The dependency map that contains all the dependencies. |
return | void |