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
SimpleInjector.DiagnosticsDiagnosticResult
SimpleInjector.DiagnosticsLifestyleMismatchDiagnosticResult
Namespace: SimpleInjector.Diagnostics
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
The LifestyleMismatchDiagnosticResult type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | Description | Gets the description of the diagnostic result. (Inherited from DiagnosticResult.) |
![]() | DiagnosticType | Gets the diagnostic type of this result. (Inherited from DiagnosticResult.) |
![]() | DocumentationUrl | Gets the documentation URL of the diagnostic result. (Inherited from DiagnosticResult.) |
![]() | Group | Gets the hierarchical group to which this diagnostic result belongs. (Inherited from DiagnosticResult.) |
![]() | Relationship | Gets the object that describes the relationship between the component and its dependency. |
![]() | ServiceType | Gets the service type to which this warning is related. (Inherited from DiagnosticResult.) |
![]() | Severity | Gets the severity of this result. (Inherited from DiagnosticResult.) |
See Also