Свойство | Type | Description | |
---|---|---|---|
PropertiesBindingFlags | BindingFlags | ||
errors | IList |
Méthode | 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 |
Méthode | 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, |
Méthode | 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 | |
Résultat | void |
protected BeforeBinding ( object instance, String prefix, Castle.Components.Binder.Node node ) : void | ||
instance | object | |
prefix | String | |
node | Castle.Components.Binder.Node | |
Résultat | void |
protected BeforeBindingProperty ( object instance, |
||
instance | object | |
prop | ||
prefix | string | |
node | Castle.Components.Binder.CompositeNode | |
Résultat | void |
public BindObject ( |
||
targetType | ||
prefix | string | |
treeRoot | Castle.Components.Binder.CompositeNode | |
Résultat | object |
public BindObject ( |
||
targetType | ||
prefix | string | |
excludedProperties | string | |
allowedProperties | string | |
treeRoot | Castle.Components.Binder.CompositeNode | |
Résultat | object |
public BindObjectInstance ( object instance, string prefix, Castle.Components.Binder.CompositeNode treeRoot ) : void | ||
instance | object | |
prefix | string | |
treeRoot | Castle.Components.Binder.CompositeNode | |
Résultat | 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 | |
Résultat | void |
public BindParameter ( |
||
desiredType | ||
paramName | String | |
treeRoot | Castle.Components.Binder.CompositeNode | |
Résultat | object |
protected BindSpecialObjectInstance ( |
||
instanceType | ||
prefix | String | |
node | Castle.Components.Binder.Node | |
succeeded | bool | |
Résultat | object |
public CanBindObject ( |
||
targetType | ||
prefix | String | |
treeRoot | Castle.Components.Binder.CompositeNode | |
Résultat | bool |
public CanBindParameter ( |
||
desiredType | ||
paramName | String | |
treeRoot | Castle.Components.Binder.CompositeNode | |
Résultat | bool |
protected CheckForValidationFailures ( object instance, |
||
instance | object | |
instanceType | ||
prop | ||
node | Castle.Components.Binder.CompositeNode | |
name | string | |
prefix | string | |
summary | ||
Résultat | bool |
protected CheckForValidationFailures ( object instance, |
||
instance | object | |
instanceType | ||
prop | ||
value | object | |
name | string | |
prefix | string | |
summary | ||
Résultat | bool |
protected ConvertLeafNode ( |
||
desiredType | ||
lNode | Castle.Components.Binder.LeafNode | |
conversionSucceeded | bool | |
Résultat | object |
protected CreateInstance ( |
||
instanceType | ||
paramPrefix | String | |
node | Castle.Components.Binder.Node | |
Résultat | object |
protected CreateNormalizedList ( String csv ) : String[] | ||
csv | String | |
Résultat | String[] |
public GetValidationSummary ( object instance ) : |
||
instance | object | The instance. |
Résultat |
protected InternalBindObject ( |
||
instanceType | ||
paramPrefix | String | |
node | Castle.Components.Binder.Node | |
Résultat | object |
protected InternalBindObject ( |
||
instanceType | ||
paramPrefix | String | |
node | Castle.Components.Binder.Node | |
succeeded | bool | |
Résultat | object |
protected InternalRecursiveBindObjectInstance ( object instance, String prefix, Castle.Components.Binder.CompositeNode node ) : void | ||
instance | object | |
prefix | String | |
node | Castle.Components.Binder.CompositeNode | |
Résultat | void |
protected InternalRecursiveBindObjectInstance ( object instance, String prefix, Castle.Components.Binder.Node node ) : void | ||
instance | object | |
prefix | String | |
node | Castle.Components.Binder.Node | |
Résultat | void |
protected IsSpecialType ( |
||
instanceType | Type about to be bound | |
Résultat | bool |
protected PerformCustomBinding ( object instance, string prefix, Castle.Components.Binder.Node node ) : bool | ||
instance | object | |
prefix | string | |
node | Castle.Components.Binder.Node | |
Résultat | bool |
protected PopInstance ( object instance, string prefix ) : void | ||
instance | object | |
prefix | string | |
Résultat | void |
protected PushInstance ( object instance, string prefix ) : void | ||
instance | object | |
prefix | string | |
Résultat | void |
public Service ( IServiceProvider provider ) : void | ||
provider | IServiceProvider | |
Résultat | void |
protected SetPropertyValue ( object instance, |
||
instance | object | |
prop | ||
value | object | |
Résultat | void |
protected ShouldIgnoreType ( |
||
instanceType | ||
Résultat | bool |
protected ShouldRecreateInstance ( object value, |
||
value | object | |
type | ||
prefix | String | |
node | Castle.Components.Binder.Node | |
Résultat | bool |
protected static BindingFlags PropertiesBindingFlags | ||
Résultat | BindingFlags |