C# 클래스 Spring.DataBinding.SimpleExpressionBinding

Simple, expression-based implementation of IBinding that binds source to target one-to-one.
상속: Spring.DataBinding.AbstractSimpleBinding
파일 보기 프로젝트 열기: spring-projects/spring-net 1 사용 예제들

공개 메소드들

메소드 설명
SimpleExpressionBinding ( string sourceExpression, string targetExpression ) : System.Collections.Generic

Initializes a new instance of the SimpleExpressionBinding class.

SimpleExpressionBinding ( string sourceExpression, string targetExpression, IFormatter formatter ) : System.Collections.Generic

Initializes a new instance of the SimpleExpressionBinding class.

보호된 메소드들

메소드 설명
GetSourceValue ( object source, object>.IDictionary variables ) : object

Gets the source value for the binding.

GetTargetValue ( object target, object>.IDictionary variables ) : object

Gets the target value for the binding.

SetSourceValue ( object source, object value, object>.IDictionary variables ) : void

Sets the source value for the binding.

SetTargetValue ( object target, object value, object>.IDictionary variables ) : void

Sets the target value for the binding.

메소드 상세

GetSourceValue() 보호된 메소드

Gets the source value for the binding.
protected GetSourceValue ( object source, object>.IDictionary variables ) : object
source object /// Source object to extract value from. ///
variables object>.IDictionary /// Variables for expression evaluation. ///
리턴 object

GetTargetValue() 보호된 메소드

Gets the target value for the binding.
protected GetTargetValue ( object target, object>.IDictionary variables ) : object
target object /// Source object to extract value from. ///
variables object>.IDictionary /// Variables for expression evaluation. ///
리턴 object

SetSourceValue() 보호된 메소드

Sets the source value for the binding.
protected SetSourceValue ( object source, object value, object>.IDictionary variables ) : void
source object /// The source object to set the value on. ///
value object /// The value to set. ///
variables object>.IDictionary /// Variables for expression evaluation. ///
리턴 void

SetTargetValue() 보호된 메소드

Sets the target value for the binding.
protected SetTargetValue ( object target, object value, object>.IDictionary variables ) : void
target object /// The target object to set the value on. ///
value object /// The value to set. ///
variables object>.IDictionary /// Variables for expression evaluation. ///
리턴 void

SimpleExpressionBinding() 공개 메소드

Initializes a new instance of the SimpleExpressionBinding class.
public SimpleExpressionBinding ( string sourceExpression, string targetExpression ) : System.Collections.Generic
sourceExpression string /// The source expression. ///
targetExpression string /// The target expression. ///
리턴 System.Collections.Generic

SimpleExpressionBinding() 공개 메소드

Initializes a new instance of the SimpleExpressionBinding class.
public SimpleExpressionBinding ( string sourceExpression, string targetExpression, IFormatter formatter ) : System.Collections.Generic
sourceExpression string /// The source expression. ///
targetExpression string /// The target expression. ///
formatter IFormatter /// The formatter to use. ///
리턴 System.Collections.Generic