Assembly: SimpleInjector (in SimpleInjector.dll) Version: 4.0.0
public InstanceProducer GetCurrentRegistrations()
Public Function GetCurrentRegistrations As InstanceProducer()
Return ValueType: InstanceProducer
An array of InstanceProducer instances.
This method has a performance characteristic of O(n). Prevent from calling this in a performance critical path of the application.
Note: This method is not guaranteed to always return the same InstanceProducer instance for a given registration. It will however either always return a producer that is able to return the expected instance. Because of this, do not compare sets of instances returned by different calls to by reference. The way of comparing lists is by the actual type. The type of each instance is guaranteed to be unique in the returned list.