Entry point for doing diagnostic analysis on Container instances.
             
Inheritance Hierarchy
SimpleInjector.DiagnosticsAnalyzer
Namespace: SimpleInjector.Diagnostics
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
The Analyzer type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Analyze | 
            Analyzes the supplied container instance.
              | 
Examples
C#
DiagnosticResult[] results = Analyzer.Analyze(container); var typesWithAShortedLifetimeThanTheirDependencies = from result in results where result.DiagnosticType == DiagnosticType.LifestyleMismatch let mismatch = (LifestyleMismatchDiagnosticResult)result select mismatch.Relationship.ImplementationType;
See Also