Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

BaseBindingContainer.AddBinding(String, String, IFormatter) Method

Adds the SimpleExpressionBinding binding with a default binding direction of Bidirectional.

[Visual Basic]
Public NotOverridable Overloads Sub AddBinding( _
   ByVal sourceExpression As String, _
   ByVal targetExpression As String, _
   ByVal formatter As IFormatter _
) _
    Implements IBindingContainer.AddBinding
[C#]
public IBinding AddBinding(
   string sourceExpression,
   string targetExpression,
   IFormatter formatter
);

Parameters

sourceExpression
The source expression.
targetExpression
The target expression.
formatter
IFormatter to use for value formatting and parsing.

Return Value

Added SimpleExpressionBinding instance.

Implements

IBindingContainer.AddBinding

See Also

BaseBindingContainer Class | Spring.DataBinding Namespace | BaseBindingContainer.AddBinding Overload List