HelperAttribute API Document
Associates a helper class with the controller.
Constructors
HelperAttribute(Type helperType)
Constructs a Castle.MonoRail.Framework.HelperAttribute with the supplied helperType.
| Parameter | Description |
|---|---|
| helperType | The helper type |
HelperAttribute(Type helperType, String name)
Constructs a Castle.MonoRail.Framework.HelperAttribute with the supplied helperType and a name to be bound to it.
| Parameter | Description |
|---|---|
| helperType | The helper type |
| name | Name bound to the helper. The name will be used on the view to gain access to it |
Properties
| Name | Type | Description |
|---|---|---|
| Name | String | Gets Name bound to the helper. The name will be used on the view to gain access to it |
| HelperType | Type | Gets the helper type |
Methods
BuildHelperDescriptors() : HelperDescriptor[]
Castle.MonoRail.Framework.Internal.IHelperDescriptorBuilder implementation. Gets the that describes the helper.