AutofacWebApiDependencyResolverBeginScope Method |
Starts a resolution scope. Objects which are resolved in the given scope will belong to
that scope, and when the scope is disposed, those objects are returned to the container.
Namespace:
Autofac.Integration.WebApi
Assembly:
Autofac.Integration.WebApi (in Autofac.Integration.WebApi.dll) Version: 6.0.0+03bf347ff3a78c2557675254b1a417eef4b464ec
Syntax public IDependencyScope BeginScope()
Public Function BeginScope As IDependencyScope
Return Value
Type:
IDependencyScope
The dependency scope.
Implements
IDependencyResolver.BeginScopeSee Also