C# 클래스 Spring.DataBinding.AbstractBinding

Abstract base class for IBinding implementations.
상속: IBinding
파일 보기 프로젝트 열기: spring-projects/spring-net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ALL_BINDINGERRORS_PROVIDER string

공개 메소드들

메소드 설명
BindSourceToTarget ( object source, object target, IValidationErrors validationErrors ) : void

Binds source object to target object.

BindSourceToTarget ( object source, object target, IValidationErrors validationErrors, object>.IDictionary variables ) : void

Binds source object to target object.

BindTargetToSource ( object source, object target, IValidationErrors validationErrors ) : void

Binds target object to source object.

BindTargetToSource ( object source, object target, IValidationErrors validationErrors, object>.IDictionary variables ) : void

Binds target object to source object.

Equals ( object obj ) : bool

Determines whether the specified is equal to the current .

GetHashCode ( ) : int

Serves as a hash function for a particular type. is suitable for use in hashing algorithms and data structures like a hash table.

IsValid ( IValidationErrors errors ) : bool

Gets or sets a flag specifying whether this binding is valid.

SetErrorMessage ( string messageId ) : void

Sets error message that should be displayed in the case of a non-fatal binding error.

보호된 메소드들

메소드 설명
AbstractBinding ( ) : System

Initializes a new instance of the class.

SetInvalid ( IValidationErrors validationErrors ) : bool

Marks this binding's state as invalid for this validationErrors collection. Returns false if validationErrors is null.

메소드 상세

AbstractBinding() 보호된 메소드

Initializes a new instance of the class.
protected AbstractBinding ( ) : System
리턴 System

BindSourceToTarget() 공개 메소드

Binds source object to target object.
public BindSourceToTarget ( object source, object target, IValidationErrors validationErrors ) : void
source object /// The source object. ///
target object /// The target object. ///
validationErrors IValidationErrors /// Validation errors collection that type conversion errors should be added to. ///
리턴 void

BindSourceToTarget() 공개 추상적인 메소드

Binds source object to target object.
public abstract BindSourceToTarget ( object source, object target, IValidationErrors validationErrors, object>.IDictionary variables ) : void
source object /// The source object. ///
target object /// The target object. ///
validationErrors IValidationErrors /// Validation errors collection that type conversion errors should be added to. ///
variables object>.IDictionary /// Variables that should be used during expression evaluation. ///
리턴 void

BindTargetToSource() 공개 메소드

Binds target object to source object.
public BindTargetToSource ( object source, object target, IValidationErrors validationErrors ) : void
source object /// The source object. ///
target object /// The target object. ///
validationErrors IValidationErrors /// Validation errors collection that type conversion errors should be added to. ///
리턴 void

BindTargetToSource() 공개 추상적인 메소드

Binds target object to source object.
public abstract BindTargetToSource ( object source, object target, IValidationErrors validationErrors, object>.IDictionary variables ) : void
source object /// The source object. ///
target object /// The target object. ///
validationErrors IValidationErrors /// Validation errors collection that type conversion errors should be added to. ///
variables object>.IDictionary /// Variables that should be used during expression evaluation. ///
리턴 void

Equals() 공개 메소드

Determines whether the specified is equal to the current .
public Equals ( object obj ) : bool
obj object The to compare with the current .
리턴 bool

GetHashCode() 공개 메소드

Serves as a hash function for a particular type. is suitable for use in hashing algorithms and data structures like a hash table.
public GetHashCode ( ) : int
리턴 int

IsValid() 공개 메소드

Gets or sets a flag specifying whether this binding is valid.
public IsValid ( IValidationErrors errors ) : bool
errors IValidationErrors
리턴 bool

SetErrorMessage() 공개 메소드

Sets error message that should be displayed in the case of a non-fatal binding error.
public SetErrorMessage ( string messageId ) : void
messageId string /// Resource ID of the error message. ///
리턴 void

SetInvalid() 보호된 메소드

Marks this binding's state as invalid for this validationErrors collection. Returns false if validationErrors is null.
protected SetInvalid ( IValidationErrors validationErrors ) : bool
validationErrors IValidationErrors
리턴 bool

프로퍼티 상세

ALL_BINDINGERRORS_PROVIDER 공개적으로 정적으로 프로퍼티

The name of the always filled error provider
public static string ALL_BINDINGERRORS_PROVIDER
리턴 string