Suoranta.EnterpriseLib.Web.AppDomain.Ninject.Mvc.FilterBindingSyntax Namespace
Suoranta.EnterpriseLib.Web - Developer API

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

Indicates that the specified property should be injected with the specified value.

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

Syntax


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

Parameters

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

Return Value

The fluent syntax to define more information