Suoranta.EnterpriseLib.Web - Developer API

RequestScopeExtensionMethod..::..InRequestScope<(Of <(<'T>)>)> Method

Sets the scope to request scope.

Namespace:  Suoranta.EnterpriseLib.Web.AppDomain.Ninject
Assembly:  Suoranta.EnterpriseLib.Web (in Suoranta.EnterpriseLib.Web.dll)

Syntax


public static IBindingNamedWithOrOnSyntax<T> InRequestScope<T>(
	this IBindingInSyntax<T> syntax
)

Type Parameters

T
The type of the service.

Parameters

syntax
Type: IBindingInSyntax<(Of <(<'T>)>)>

Return Value

The syntax to define more information.