SingletonLifestyleLength Property

Simple Injector
Gets the length of the lifestyle. Implementers must implement this property. The diagnostic services use this value to compare lifestyles with each other to determine lifestyle misconfigurations.

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

public override int Length { get; }

Property Value

Type: Int32
The Int32 representing the length of this lifestyle.
See Also

Reference