SingleResponsibilityViolationDiagnosticResult Class

Simple Injector
Diagnostic result that warns about a component that depends on (too) many services. For more information, see: https://simpleinjector.org/diasr.
Inheritance Hierarchy

SystemObject
  SimpleInjector.DiagnosticsDiagnosticResult
    SimpleInjector.DiagnosticsSingleResponsibilityViolationDiagnosticResult

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

public class SingleResponsibilityViolationDiagnosticResult : DiagnosticResult

The SingleResponsibilityViolationDiagnosticResult type exposes the following members.

Properties

  NameDescription
Public propertyDependencies
Gets the list of registrations that are dependencies of the ImplementationType.
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 created type.
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