C# Class Castle.MonoRail.Framework.Helpers.FormHelper.EnumValueGetter

Implementation of ValueGetter to access enum fields
Inheritance: ValueGetter
Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
EnumValueGetter ( Type enumType ) : System

Initializes a new instance of the EnumValueGetter class.

GetValue ( object instance ) : object

Gets the value.

Method Details

EnumValueGetter() public method

Initializes a new instance of the EnumValueGetter class.
public EnumValueGetter ( Type enumType ) : System
enumType System.Type Type of the enum.
return System

GetValue() public method

Gets the value.
public GetValue ( object instance ) : object
instance object The instance.
return object