ShortCircuitedDependencyDiagnosticResult Class

Simple Injector
Diagnostic result that warns about a component that depends on an unregistered concrete type and this concrete type has a lifestyle that is different than the lifestyle of an explicitly registered type that uses this concrete type as its implementation. For more information, see: https://simpleinjector.org/diasc.
Inheritance Hierarchy

SystemObject
  SimpleInjector.DiagnosticsDiagnosticResult
    SimpleInjector.DiagnosticsShortCircuitedDependencyDiagnosticResult

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

public class ShortCircuitedDependencyDiagnosticResult : DiagnosticResult

The ShortCircuitedDependencyDiagnosticResult 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 propertyExpectedDependencies
Gets the collection of registrations that have the component's current dependency as implementation type, but have a lifestyle that is different than the current dependency.
Public propertyGroup
Gets the hierarchical group to which this diagnostic result belongs.
(Inherited from DiagnosticResult.)
Public propertyRelationship
Gets the instance that describes the current relationship between the checked component and the short-circuited 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