C# Class Castle.MonoRail.Framework.HelperAttribute

Inheritance: System.Attribute, IHelperDescriptorBuilder
Datei anzeigen Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
BuildHelperDescriptors ( ) : Castle.MonoRail.Framework.Internal.HelperDescriptor[]

IHelperDescriptorBuilder implementation. Gets the HelperDescriptor that describes the helper.

HelperAttribute ( Type helperType ) : System

Constructs a HelperAttribute with the supplied helperType.

HelperAttribute ( Type helperType, String name ) : System

Constructs a HelperAttribute with the supplied helperType and a name to be bound to it.

Method Details

BuildHelperDescriptors() public method

IHelperDescriptorBuilder implementation. Gets the HelperDescriptor that describes the helper.
public BuildHelperDescriptors ( ) : Castle.MonoRail.Framework.Internal.HelperDescriptor[]
return Castle.MonoRail.Framework.Internal.HelperDescriptor[]

HelperAttribute() public method

Constructs a HelperAttribute with the supplied helperType.
public HelperAttribute ( Type helperType ) : System
helperType System.Type The helper type
return System

HelperAttribute() public method

Constructs a HelperAttribute with the supplied helperType and a name to be bound to it.
public HelperAttribute ( Type helperType, String name ) : System
helperType System.Type The helper type
name String Name bound to the helper. The name will be /// used on the view to gain access to it
return System