C# Class Castle.MonoRail.Framework.ViewComponentParamAttribute

Inheritance: System.Attribute
Show file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
ViewComponentParamAttribute ( ) : System

Initializes a new instance of the ViewComponentParamAttribute class.

ViewComponentParamAttribute ( string paramName ) : System

Initializes a new instance of the ViewComponentParamAttribute class allowing you to override the parameter name to be queried on the ViewComponent.ComponentParams dictionary.

Method Details

ViewComponentParamAttribute() public method

Initializes a new instance of the ViewComponentParamAttribute class.
public ViewComponentParamAttribute ( ) : System
return System

ViewComponentParamAttribute() public method

Initializes a new instance of the ViewComponentParamAttribute class allowing you to override the parameter name to be queried on the ViewComponent.ComponentParams dictionary.
public ViewComponentParamAttribute ( string paramName ) : System
paramName string Overrides the name of the parameter.
return System