Property | Type | Description | |
---|---|---|---|
PropertiesBindingFlags | BindingFlags | ||
errors | IList |
Method | Description | |
---|---|---|
BindObject ( |
||
BindObject ( |
||
BindObjectInstance ( object instance, string prefix, Castle.Components.Binder.CompositeNode treeRoot ) : void | ||
BindObjectInstance ( object instance, string prefix, string excludedProperties, string allowedProperties, Castle.Components.Binder.CompositeNode treeRoot ) : void | ||
BindParameter ( |
||
CanBindObject ( |
||
CanBindParameter ( |
||
DataBinder ( ) : System |
Initializes a new instance of the DataBinder class.
|
|
GetValidationSummary ( object instance ) : |
Gets the validation error summary.
|
|
Service ( IServiceProvider provider ) : void |
Method | Description | |
---|---|---|
AfterBinding ( object instance, String prefix, Castle.Components.Binder.Node node ) : void | ||
BeforeBinding ( object instance, String prefix, Castle.Components.Binder.Node node ) : void | ||
BeforeBindingProperty ( object instance, |
||
BindSpecialObjectInstance ( |
Implementations will bound the instance itself. IsSpecialType IsSpecialType |
|
CheckForValidationFailures ( object instance, |
||
CheckForValidationFailures ( object instance, |
||
ConvertLeafNode ( |
||
CreateInstance ( |
||
CreateNormalizedList ( String csv ) : String[] | ||
InternalBindObject ( |
||
InternalBindObject ( |
||
InternalRecursiveBindObjectInstance ( object instance, String prefix, Castle.Components.Binder.CompositeNode node ) : void | ||
InternalRecursiveBindObjectInstance ( object instance, String prefix, Castle.Components.Binder.Node node ) : void | ||
IsSpecialType ( |
Invoked during object binding to allow subclasses to have a chance of binding the types itself. If the implementation returns
|
|
PerformCustomBinding ( object instance, string prefix, Castle.Components.Binder.Node node ) : bool | ||
PopInstance ( object instance, string prefix ) : void | ||
PushInstance ( object instance, string prefix ) : void | ||
SetPropertyValue ( object instance, |
Sets the property value of the object we are binding. Databinders that require different ways to access properties can override this method.
|
|
ShouldIgnoreType ( |
||
ShouldRecreateInstance ( object value, |
Method | Description | |
---|---|---|
ConvertComplexNodesToArray ( |
||
ConvertComplexNodesToList ( |
||
ConvertFlatNodesToArray ( |
||
ConvertFlatNodesToList ( |
||
ConvertToArray ( |
||
ConvertToGenericList ( |
||
ConvertToSimpleValue ( |
||
InternalBindGenericList ( |
||
InternalBindObjectArray ( |
||
IsDateTimeType ( |
||
IsGenericList ( |
||
IsSimpleProperty ( |
||
NormalizeList ( String list ) : void | ||
RelaxedConvertLeafNode ( |
||
ShouldIgnoreProperty ( |
||
Translate ( |
||
TryGetDateWithUTCFormat ( Castle.Components.Binder.CompositeNode treeRoot, string paramName, bool &conversionSucceeded ) : string | ||
TrySpecialDateTimeBinding ( |
protected AfterBinding ( object instance, String prefix, Castle.Components.Binder.Node node ) : void | ||
instance | object | |
prefix | String | |
node | Castle.Components.Binder.Node | |
return | void |
protected BeforeBinding ( object instance, String prefix, Castle.Components.Binder.Node node ) : void | ||
instance | object | |
prefix | String | |
node | Castle.Components.Binder.Node | |
return | void |
protected BeforeBindingProperty ( object instance, |
||
instance | object | |
prop | ||
prefix | string | |
node | Castle.Components.Binder.CompositeNode | |
return | void |
public BindObject ( |
||
targetType | ||
prefix | string | |
treeRoot | Castle.Components.Binder.CompositeNode | |
return | object |
public BindObject ( |
||
targetType | ||
prefix | string | |
excludedProperties | string | |
allowedProperties | string | |
treeRoot | Castle.Components.Binder.CompositeNode | |
return | object |
public BindObjectInstance ( object instance, string prefix, Castle.Components.Binder.CompositeNode treeRoot ) : void | ||
instance | object | |
prefix | string | |
treeRoot | Castle.Components.Binder.CompositeNode | |
return | void |
public BindObjectInstance ( object instance, string prefix, string excludedProperties, string allowedProperties, Castle.Components.Binder.CompositeNode treeRoot ) : void | ||
instance | object | |
prefix | string | |
excludedProperties | string | |
allowedProperties | string | |
treeRoot | Castle.Components.Binder.CompositeNode | |
return | void |
public BindParameter ( |
||
desiredType | ||
paramName | String | |
treeRoot | Castle.Components.Binder.CompositeNode | |
return | object |
protected BindSpecialObjectInstance ( |
||
instanceType | ||
prefix | String | |
node | Castle.Components.Binder.Node | |
succeeded | bool | |
return | object |
public CanBindObject ( |
||
targetType | ||
prefix | String | |
treeRoot | Castle.Components.Binder.CompositeNode | |
return | bool |
public CanBindParameter ( |
||
desiredType | ||
paramName | String | |
treeRoot | Castle.Components.Binder.CompositeNode | |
return | bool |
protected CheckForValidationFailures ( object instance, |
||
instance | object | |
instanceType | ||
prop | ||
node | Castle.Components.Binder.CompositeNode | |
name | string | |
prefix | string | |
summary | ||
return | bool |
protected CheckForValidationFailures ( object instance, |
||
instance | object | |
instanceType | ||
prop | ||
value | object | |
name | string | |
prefix | string | |
summary | ||
return | bool |
protected ConvertLeafNode ( |
||
desiredType | ||
lNode | Castle.Components.Binder.LeafNode | |
conversionSucceeded | bool | |
return | object |
protected CreateInstance ( |
||
instanceType | ||
paramPrefix | String | |
node | Castle.Components.Binder.Node | |
return | object |
protected CreateNormalizedList ( String csv ) : String[] | ||
csv | String | |
return | String[] |
public GetValidationSummary ( object instance ) : |
||
instance | object | The instance. |
return |
protected InternalBindObject ( |
||
instanceType | ||
paramPrefix | String | |
node | Castle.Components.Binder.Node | |
return | object |
protected InternalBindObject ( |
||
instanceType | ||
paramPrefix | String | |
node | Castle.Components.Binder.Node | |
succeeded | bool | |
return | object |
protected InternalRecursiveBindObjectInstance ( object instance, String prefix, Castle.Components.Binder.CompositeNode node ) : void | ||
instance | object | |
prefix | String | |
node | Castle.Components.Binder.CompositeNode | |
return | void |
protected InternalRecursiveBindObjectInstance ( object instance, String prefix, Castle.Components.Binder.Node node ) : void | ||
instance | object | |
prefix | String | |
node | Castle.Components.Binder.Node | |
return | void |
protected IsSpecialType ( |
||
instanceType | Type about to be bound | |
return | bool |
protected PerformCustomBinding ( object instance, string prefix, Castle.Components.Binder.Node node ) : bool | ||
instance | object | |
prefix | string | |
node | Castle.Components.Binder.Node | |
return | bool |
protected PopInstance ( object instance, string prefix ) : void | ||
instance | object | |
prefix | string | |
return | void |
protected PushInstance ( object instance, string prefix ) : void | ||
instance | object | |
prefix | string | |
return | void |
public Service ( IServiceProvider provider ) : void | ||
provider | IServiceProvider | |
return | void |
protected SetPropertyValue ( object instance, |
||
instance | object | |
prop | ||
value | object | |
return | void |
protected ShouldIgnoreType ( |
||
instanceType | ||
return | bool |
protected ShouldRecreateInstance ( object value, |
||
value | object | |
type | ||
prefix | String | |
node | Castle.Components.Binder.Node | |
return | bool |
protected static BindingFlags PropertiesBindingFlags | ||
return | BindingFlags |