C# Class Castle.MonoRail.ActiveRecordSupport.ARSmartDispatcherController

Extends the SmartDispatcherController with ActiveRecord specific functionality
Inheritance: SmartDispatcherController
Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
ARSmartDispatcherController ( ) : System

Initializes a new instance of the ARSmartDispatcherController class.

Protected Methods

Method Description
BindObject ( ParamStore from, Type targetType, String prefix, AutoLoadBehavior autoLoad ) : object

Binds the object.

BindObject ( ParamStore from, Type targetType, String prefix, String excludedProperties, String allowedProperties, AutoLoadBehavior autoLoad ) : object

Binds the object using the posted values.

BindObjectInstance ( object instance, ParamStore from, String prefix, AutoLoadBehavior autoLoad ) : void
BindObjectInstance ( object instance, String prefix, AutoLoadBehavior autoLoad ) : void
SetAutoLoadBehavior ( AutoLoadBehavior autoLoad ) : void

Method Details

ARSmartDispatcherController() public method

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

BindObject() protected method

Binds the object.
protected BindObject ( ParamStore from, Type targetType, String prefix, AutoLoadBehavior autoLoad ) : object
from ParamStore Defines where the parameters should be obtained from.
targetType System.Type Type of the target.
prefix String The prefix.
autoLoad AutoLoadBehavior The auto load behavior.
return object

BindObject() protected method

Binds the object using the posted values.
protected BindObject ( ParamStore from, Type targetType, String prefix, String excludedProperties, String allowedProperties, AutoLoadBehavior autoLoad ) : object
from ParamStore Defines where the parameters should be obtained from.
targetType System.Type Type of the target.
prefix String The prefix.
excludedProperties String The excluded properties.
allowedProperties String The allowed properties.
autoLoad AutoLoadBehavior The auto load behavior.
return object

BindObjectInstance() protected method

protected BindObjectInstance ( object instance, ParamStore from, String prefix, AutoLoadBehavior autoLoad ) : void
instance object
from ParamStore
prefix String
autoLoad AutoLoadBehavior
return void

BindObjectInstance() protected method

protected BindObjectInstance ( object instance, String prefix, AutoLoadBehavior autoLoad ) : void
instance object
prefix String
autoLoad AutoLoadBehavior
return void

SetAutoLoadBehavior() protected method

protected SetAutoLoadBehavior ( AutoLoadBehavior autoLoad ) : void
autoLoad AutoLoadBehavior
return void