Suoranta.EnterpriseLib.Web - Developer API

IFilterBindingInSyntax<(Of <(<'T>)>)>..::..InScope Method (Func<(Of <(<'IContext, ControllerContext, ActionDescriptor, Object>)>)>)

Indicates that instances activated via the binding should be re-used as long as the object returned by the provided callback remains alive (that is, has not been garbage collected).

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

Syntax


Parameters

scope
Type: Func<(Of <(<'IContext, ControllerContext, ActionDescriptor, Object>)>)>
The callback that returns the scope.

Return Value

The fluent syntax to define more information