DependencyScopeExtensions

Namespace: ASPSecurityKit.NetFramework.WebApi
Assembly: ASPSecurityKit.NetFramework.WebApi.dll

Summary

Provides extension methods for IDependencyScope.

Methods

GetService<T>(scope)

Summary

Gets an instance of the specified service if registered.

Returns

An instance of the specified service if registered.

Parameters
Name Type Description
scope System.Web.Http.Dependencies.IDependencyScope The dependency scope.
Generic Types
Name Description
T The type of the service.