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

FilterFilterBindingBuilder<(Of <(<'T>)>)>..::..When Method (Func<(Of <(<'IRequest, Boolean>)>)>)

Indicates that the binding should be used only for requests that support the specified condition

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

Syntax


public IFilterBindingInNamedWithOrOnSyntax<T> When(
	Func<IRequest, bool> condition
)

Parameters

condition
Type: Func<(Of <(<'IRequest, Boolean>)>)>

Return Value

The fluent syntax to define more information