ContainerGetRegistration Method

Simple Injector
Overload List

  NameDescription
Public methodGetRegistrationTService
Gets the InstanceProducer for the given TService. When no registration exists, the container will try creating a new producer. A producer can be created when the type is a concrete reference type, there is an ResolveUnregisteredType event registered that acts on that type, or when the service type is an IEnumerableT. Otherwise null is returned.
Public methodGetRegistrationTService(Boolean)
Gets the InstanceProducerTService for the given TService.When no registration exists, the container will try creating a new producer. A producer can be created when the type is a concrete reference type, there is an ResolveUnregisteredType event registered that acts on that type, or when the service type is an IEnumerableT. Otherwise null is returned, or an exception is throw when throwOnFailure is set to true.
Public methodGetRegistration(Type)
Gets the InstanceProducer for the given serviceType. When no registration exists, the container will try creating a new producer. A producer can be created when the type is a concrete reference type, there is an ResolveUnregisteredType event registered that acts on that type, or when the service type is an IEnumerableT. Otherwise null is returned.
Public methodGetRegistration(Type, Boolean)
Gets the InstanceProducer for the given serviceType. When no registration exists, the container will try creating a new producer. A producer can be created when the type is a concrete reference type, there is an ResolveUnregisteredType event registered that acts on that type, or when the service type is an IEnumerableT. Otherwise null is returned, or an exception is throw when throwOnFailure is set to true.
Top
See Also

Reference