The SimpleInjector.Diagnostics namespace contains diagnostic features for Simple Injector.
Classes
Class | Description | |
---|---|---|
AmbiguousLifestylesDiagnosticResult |
Diagnostic result that warns about when a multiple registrations map to the same implementation type
and lifestyle, which might cause multiple instances to be created during the lifespan of that lifestyle.
For more information, see: https://simpleinjector.org/diaal.
| |
Analyzer |
Entry point for doing diagnostic analysis on Container instances.
| |
ContainerRegisteredServiceDiagnosticResult |
Diagnostic result for a warning about a concrete type that was not registered explicitly and was not
resolved using unregistered type resolution, but was created by the container using the transient
lifestyle.
For more information, see: https://simpleinjector.org/diaut.
| |
DiagnosticGroup |
A hierarchical group of DiagnosticResult.
| |
DiagnosticResult |
Base class for types that hold information about a single diagnostic message or warning for a
particular type or part of the configuration.
| |
DisposableTransientComponentDiagnosticResult |
Diagnostic result for a warning about a component that is registered as transient, but implements
IDisposable.
For more information, see: https://simpleinjector.org/diadt.
| |
LifestyleMismatchDiagnosticResult |
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.
| |
ShortCircuitedDependencyDiagnosticResult |
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.
| |
SingleResponsibilityViolationDiagnosticResult |
Diagnostic result that warns about a component that depends on (too) many services.
For more information, see: https://simpleinjector.org/diasr.
| |
TornLifestyleDiagnosticResult |
Diagnostic result that warns about when a multiple registrations map to the same implementation type
and lifestyle, which might cause multiple instances to be created during the lifespan of that lifestyle.
For more information, see: https://simpleinjector.org/diatl.
|
Enumerations
Enumeration | Description | |
---|---|---|
DiagnosticSeverity |
Specifies the list of severity levels that diagnostic results can have.
| |
DiagnosticType |
Specifies the list of diagnostic types that are currently supported by the diagnostic
Analyzer. Note that new diagnostic types might be added in future versions.
For more information, please read the
Diagnosing your configuration using the Diagnostic
Services wiki documentation.
|