Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

BaseBindingContainer.AddBinding(String, String, BindingDirection, IFormatter) Method

Adds the SimpleExpressionBinding binding.

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

Parameters

sourceExpression
The source expression.
targetExpression
The target expression.
direction
Binding direction.
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