LifestyleMismatchDiagnosticResult Class

Simple Injector
Diagnostic result for a warning about a component that depends on a service with a lifestyle that is shorter than that of the component. For more information, see: https://simpleinjector.org/dialm.
Inheritance Hierarchy

SystemObject
  SimpleInjector.DiagnosticsDiagnosticResult
    SimpleInjector.DiagnosticsLifestyleMismatchDiagnosticResult

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

public class LifestyleMismatchDiagnosticResult : DiagnosticResult

The LifestyleMismatchDiagnosticResult type exposes the following members.

Properties

  NameDescription
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 propertyRelationship
Gets the object that describes the relationship between the component and its dependency.
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