Suoranta.EnterpriseLib.Web.AppDomain.Ninject.Mvc.FilterBindingSyntax Namespace
Suoranta.EnterpriseLib.Web - Developer API

FilterFilterBindingBuilder<(Of <(<'T>)>)>..::..InScope Method

Overload List


  Name Description
Public method InScope(Func<(Of <<'(IContext, 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).
Public method InScope(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).