InstanceProducer Properties

Simple Injector

The InstanceProducer type exposes the following members.

Properties

  NameDescription
Public propertyLifestyle
Gets the Lifestyle for this registration. The returned lifestyle can differ from the lifestyle that is used during the registration. This can happen for instance when the registration is changed by an ExpressionBuilt registration or gets decorated.
Public propertyRegistration
Gets the Registration instance for this instance.
Public propertyServiceType
Gets the service type for which this producer produces instances.
Top
See Also

Reference