VerificationOption Enumeration

Simple Injector
This enumeration has defines in which way the container should run the verification process.

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

public enum VerificationOption
Members

  Member nameValueDescription
VerifyOnly0 Specifies that the container performs verification only, which means that it will test whether all registrations can be constructed by iterating the registrations and letting the container create at least one instance of each registration. An InvalidOperationException will be thrown in case the configuration is invalid.
VerifyAndDiagnose1 Specifies that the container will run diagnostic analysis after the verification succeeded. The container will diagnose the configuration with a subset of the available diagnostic warnings, that are most likely an indication of a configuration mistake. A complete set of diagnostic warnings can be retrieved by calling Analyzer.Analyze or by viewing the container in the Visual Studio debugger, after the verification has succeeded.
See Also

Reference