KnownRelationshipLifestyle Property

Simple Injector
Gets the lifestyle of the parent type of the relationship.

Namespace:  SimpleInjector.Advanced
Assembly:  SimpleInjector (in SimpleInjector.dll) Version: 4.0.0
Syntax

public Lifestyle Lifestyle { get; }

Property Value

Type: Lifestyle
The lifestyle of the parent type of the relationship.
See Also

Reference