TornLifestyleDiagnosticResult Class

Simple Injector
Diagnostic result that warns about when a multiple registrations map to the same implementation type and lifestyle, which might cause multiple instances to be created during the lifespan of that lifestyle. For more information, see: https://simpleinjector.org/diatl.
Inheritance Hierarchy

SystemObject
  SimpleInjector.DiagnosticsDiagnosticResult
    SimpleInjector.DiagnosticsTornLifestyleDiagnosticResult

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

public class TornLifestyleDiagnosticResult : DiagnosticResult

The TornLifestyleDiagnosticResult type exposes the following members.

Properties

  NameDescription
Public propertyAffectedRegistrations
Gets the list of registrations that are affected by this warning.
Public propertyDescription
Gets the description of the diagnostic result.
(Inherited from DiagnosticResult.)
Public propertyDiagnosticType
Gets the diagnostic type of this result.
(Inherited from DiagnosticResult.)
Public propertyDocumentationUrl
Gets the documentation URL of the diagnostic result.
(Inherited from DiagnosticResult.)
Public propertyGroup
Gets the hierarchical group to which this diagnostic result belongs.
(Inherited from DiagnosticResult.)
Public propertyImplementationType
Gets the implementation type that the affected registrations map to.
Public propertyLifestyle
Gets the lifestyle on which instances are torn.
Public propertyServiceType
Gets the service type to which this warning is related.
(Inherited from DiagnosticResult.)
Public propertySeverity
Gets the severity of this result.
(Inherited from DiagnosticResult.)
Top
See Also

Reference