Note: This API is now obsolete.
Determines whether the specified container is currently verifying its configuration.
Namespace: SimpleInjector.Advanced
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
[ObsoleteAttribute("Please use Container.IsVerifying instead. Will be removed in version 6.0.", true)] [EditorBrowsableAttribute(EditorBrowsableState.Never)] public static bool IsVerifying( this Container container )
Parameters
- container
- Type: SimpleInjectorContainer
The container.
Return Value
Type: Booleantrue if the specified container is verifying; otherwise, false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Container. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when container is null. |
See Also