Initializes a new instance of the SimpleInjectorWebApiDependencyResolver class with
the default scope option (i.e. to use an ambient AsyncScopedLifestyle
scope if one already exists).
Namespace: SimpleInjector.Integration.WebApi
Assembly: SimpleInjector.Integration.WebApi (in SimpleInjector.Integration.WebApi.dll) Version: 5.3.0
Syntax
Parameters
- container
- Type: SimpleInjectorContainer
The container.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the container parameter is a null reference. |
See Also