Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.0.0
public InstanceProducer<TService> GetRegistration<TService>() where TService : class
Public Function GetRegistration(Of TService As Class) As InstanceProducer(Of TService)
[Missing <typeparam name="TService"/> documentation for "M:SimpleInjector.Container.GetRegistration``1"]
Return ValueType: InstanceProducer
An InstanceProducer or null.
A call to this method locks the container. New registrations can't be made after a call to this method.
Note: This method is not guaranteed to always return the same InstanceProducer instance for a given Type. It will however either always return null or always return a producer that is able to return the expected instance.