Suoranta.EnterpriseLib.Web - Developer API

IFilterBindingWhenSyntax<(Of <(<'T>)>)>..::..WhenControllerHas<(Of <(<'TAttribute>)>)> Method

Indicates that the binding should be used only when the controller has an attribute of the specified type.

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

Syntax


IFilterBindingInNamedWithOrOnSyntax<T> WhenControllerHas<TAttribute>()

Type Parameters

TAttribute
The type of the attribute.

Return Value

The fluent syntax to define more information