Suoranta.EnterpriseLib.Web - Developer API

IFilterBindingWithSyntax<(Of <(<'T>)>)>..::..WithConstructorArgumentFromActionAttribute<(Of <(<'TAttribute>)>)> Method

Indicates that the specified constructor argument should be overridden with the specified value. The value is retrieved from an attribute on the action of the specified type.

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

Syntax


IFilterBindingWithOrOnSyntax<T> WithConstructorArgumentFromActionAttribute<TAttribute>(
	string name,
	Func<TAttribute, Object> callback
)

Type Parameters

TAttribute
The type of the attribute.

Parameters

name
Type: String
The name of the argument to override.
callback
Type: Func<(Of <(<'TAttribute, Object>)>)>
The callback.

Return Value

The fluent syntax to define more information