프로퍼티 | 타입 | 설명 | |
---|---|---|---|
PropertiesBindingFlags | BindingFlags | ||
errors | IList |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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, |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
protected BeforeBinding ( object instance, String prefix, Castle.Components.Binder.Node node ) : void | ||
instance | object | |
prefix | String | |
node | Castle.Components.Binder.Node | |
리턴 | void |
protected BeforeBindingProperty ( object instance, |
||
instance | object | |
prop | ||
prefix | string | |
node | Castle.Components.Binder.CompositeNode | |
리턴 | void |
public BindObject ( |
||
targetType | ||
prefix | string | |
treeRoot | Castle.Components.Binder.CompositeNode | |
리턴 | object |
public BindObject ( |
||
targetType | ||
prefix | string | |
excludedProperties | string | |
allowedProperties | string | |
treeRoot | Castle.Components.Binder.CompositeNode | |
리턴 | object |
public BindObjectInstance ( object instance, string prefix, Castle.Components.Binder.CompositeNode treeRoot ) : void | ||
instance | object | |
prefix | string | |
treeRoot | Castle.Components.Binder.CompositeNode | |
리턴 | 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 | |
리턴 | void |
public BindParameter ( |
||
desiredType | ||
paramName | String | |
treeRoot | Castle.Components.Binder.CompositeNode | |
리턴 | object |
protected BindSpecialObjectInstance ( |
||
instanceType | ||
prefix | String | |
node | Castle.Components.Binder.Node | |
succeeded | bool | |
리턴 | object |
public CanBindObject ( |
||
targetType | ||
prefix | String | |
treeRoot | Castle.Components.Binder.CompositeNode | |
리턴 | bool |
public CanBindParameter ( |
||
desiredType | ||
paramName | String | |
treeRoot | Castle.Components.Binder.CompositeNode | |
리턴 | bool |
protected CheckForValidationFailures ( object instance, |
||
instance | object | |
instanceType | ||
prop | ||
node | Castle.Components.Binder.CompositeNode | |
name | string | |
prefix | string | |
summary | ||
리턴 | bool |
protected CheckForValidationFailures ( object instance, |
||
instance | object | |
instanceType | ||
prop | ||
value | object | |
name | string | |
prefix | string | |
summary | ||
리턴 | bool |
protected ConvertLeafNode ( |
||
desiredType | ||
lNode | Castle.Components.Binder.LeafNode | |
conversionSucceeded | bool | |
리턴 | object |
protected CreateInstance ( |
||
instanceType | ||
paramPrefix | String | |
node | Castle.Components.Binder.Node | |
리턴 | object |
protected CreateNormalizedList ( String csv ) : String[] | ||
csv | String | |
리턴 | String[] |
public GetValidationSummary ( object instance ) : |
||
instance | object | The instance. |
리턴 |
protected InternalBindObject ( |
||
instanceType | ||
paramPrefix | String | |
node | Castle.Components.Binder.Node | |
리턴 | object |
protected InternalBindObject ( |
||
instanceType | ||
paramPrefix | String | |
node | Castle.Components.Binder.Node | |
succeeded | bool | |
리턴 | object |
protected InternalRecursiveBindObjectInstance ( object instance, String prefix, Castle.Components.Binder.CompositeNode node ) : void | ||
instance | object | |
prefix | String | |
node | Castle.Components.Binder.CompositeNode | |
리턴 | void |
protected InternalRecursiveBindObjectInstance ( object instance, String prefix, Castle.Components.Binder.Node node ) : void | ||
instance | object | |
prefix | String | |
node | Castle.Components.Binder.Node | |
리턴 | void |
protected IsSpecialType ( |
||
instanceType | Type about to be bound | |
리턴 | bool |
protected PerformCustomBinding ( object instance, string prefix, Castle.Components.Binder.Node node ) : bool | ||
instance | object | |
prefix | string | |
node | Castle.Components.Binder.Node | |
리턴 | bool |
protected PopInstance ( object instance, string prefix ) : void | ||
instance | object | |
prefix | string | |
리턴 | void |
protected PushInstance ( object instance, string prefix ) : void | ||
instance | object | |
prefix | string | |
리턴 | void |
public Service ( IServiceProvider provider ) : void | ||
provider | IServiceProvider | |
리턴 | void |
protected SetPropertyValue ( object instance, |
||
instance | object | |
prop | ||
value | object | |
리턴 | void |
protected ShouldIgnoreType ( |
||
instanceType | ||
리턴 | bool |
protected ShouldRecreateInstance ( object value, |
||
value | object | |
type | ||
prefix | String | |
node | Castle.Components.Binder.Node | |
리턴 | bool |
protected static BindingFlags PropertiesBindingFlags | ||
리턴 | BindingFlags |