InstanceProducerLifestyle Property

Simple Injector
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.

Namespace:  SimpleInjector
Assembly:  SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax

public Lifestyle Lifestyle { get; }

Property Value

Type: Lifestyle
The Lifestyle for this registration.
See Also

Reference