Suoranta.EnterpriseLib.Web - Developer API

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

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(
	Type attributeType
)

Parameters

attributeType
Type: Type
Type of the attribute.

Return Value

The fluent syntax to define more information