DisposableTransientComponentDiagnosticResult Class

Simple Injector
Diagnostic result for a warning about a component that is registered as transient, but implements IDisposable. For more information, see: https://simpleinjector.org/diadt.
Inheritance Hierarchy

SystemObject
  SimpleInjector.DiagnosticsDiagnosticResult
    SimpleInjector.DiagnosticsDisposableTransientComponentDiagnosticResult

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

public class DisposableTransientComponentDiagnosticResult : DiagnosticResult

The DisposableTransientComponentDiagnosticResult 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 propertyRegistration
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