C# Class Castle.MonoRail.ActiveRecordSupport.ARDataBindAttribute

Inheritance: Castle.MonoRail.Framework.DataBindAttribute
显示文件 Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
ARDataBindAttribute ( String prefix ) : System

Defines a binder for the parameter using the ARDataBinder and the specified prefix.

This uses the default AutoLoadBehavior whic is AutoLoadBehavior.Never

ARDataBindAttribute ( String prefix, AutoLoadBehavior autoLoadBehavior ) : System

Defines a binder for the parameter using the ARDataBinder and the specified prefix.

Bind ( SmartDispatcherController controller, ParameterInfo parameterInfo ) : object

Protected Methods

Method Description
CreateBinder ( ) : IDataBinder

Method Details

ARDataBindAttribute() public method

Defines a binder for the parameter using the ARDataBinder and the specified prefix.
This uses the default AutoLoadBehavior whic is AutoLoadBehavior.Never
public ARDataBindAttribute ( String prefix ) : System
prefix String A name that prefixes the entries on the http request
return System

ARDataBindAttribute() public method

Defines a binder for the parameter using the ARDataBinder and the specified prefix.
public ARDataBindAttribute ( String prefix, AutoLoadBehavior autoLoadBehavior ) : System
prefix String A name that prefixes the entries on the http request
autoLoadBehavior AutoLoadBehavior The predefined behavior the autoload feature should use
return System

Bind() public method

public Bind ( SmartDispatcherController controller, ParameterInfo parameterInfo ) : object
controller SmartDispatcherController
parameterInfo System.Reflection.ParameterInfo
return object

CreateBinder() protected method

protected CreateBinder ( ) : IDataBinder
return IDataBinder