Suoranta.EnterpriseLib.Web - Developer API

IConstructorArgumentSyntaxExtensions..::..FromActionAttribute<(Of <(<'TAttribute>)>)> Method

Specifies that the constructor parameter shall be received from an attribute on the action.

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

Syntax


public static AttributeValueSelector<TAttribute> FromActionAttribute<TAttribute>(
	this IConstructorArgumentSyntax syntax
)
where TAttribute : Attribute

Type Parameters

TAttribute
The type of the attribute.

Parameters

syntax
Type: IConstructorArgumentSyntax
The constructor argument syntax.

Return Value

The syntax to specify which value to use.