C# Класс Spring.DataBinding.SimpleExpressionBinding

Simple, expression-based implementation of IBinding that binds source to target one-to-one.
Наследование: Spring.DataBinding.AbstractSimpleBinding
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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