Suoranta.EnterpriseLib.Web - Developer API

IFilterBindingWithSyntax<(Of <(<'T>)>)>..::..WithConstructorArgument Method (String, Func<(Of <(<'IContext, ControllerContext, ActionDescriptor, Object>)>)>)

Indicates that the specified constructor argument should be overridden with the specified value.

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

Syntax


IFilterBindingWithOrOnSyntax<T> WithConstructorArgument(
	string name,
	Func<IContext, ControllerContext, ActionDescriptor, Object> callback
)

Parameters

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

Return Value

The fluent syntax to define more information