Home

Castle Stronghold

FlashBinderAttribute API Document

Another implementation of a parameter binding. This one allow the programmer to say that the parameter value comes from an entry in the Castle.MonoRail.Framework.Controller.Flash.

Constructors

FlashBinderAttribute()

Initializes a new instance of the Castle.MonoRail.Framework.FlashBinderAttribute class.

Properties

NameTypeDescription
FlashKeyString The flash entry to use. If none is provided, the target parameter name is used

Methods

Bind(SmartDispatcherController controller, ParameterInfo parameterInfo) : Object

Implementation of Castle.MonoRail.Framework.IParameterBinder.Bind(Castle.MonoRail.Framework.SmartDispatcherController,System.Reflection.ParameterInfo) and it is used to read the data available and construct the parameter type accordingly.

ParameterDescription
controller The controller instance
parameterInfo The parameter info

CalculateParamPoints(SmartDispatcherController controller, ParameterInfo parameterInfo) : Int32

Implementation of Castle.MonoRail.Framework.IParameterBinder.CalculateParamPoints(Castle.MonoRail.Framework.SmartDispatcherController,System.Reflection.ParameterInfo) and it is used to give the method a weight when overloads are available.

ParameterDescription
controller The controller instance
parameterInfo The parameter info

Google
Search WWW Search castleproject.org