Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DataSourceItemFormatter.SetBindingContext Method

Sets the bindingContext for the current thread.

[Visual Basic]
Public NotOverridable Sub SetBindingContext( _
   ByVal source As Object, _
   ByVal target As Object, _
   ByVal variables As IDictionary, _
   ByVal direction As BindingDirection _
) _
    Implements IBindingAwareFormatter.SetBindingContext
[C#]
public void SetBindingContext(
   object source,
   object target,
   IDictionary variables,
   BindingDirection direction
);

Parameters

source
The source object
target
The target object
variables
Variables to be used during binding
direction
The current binding's direction

Implements

IBindingAwareFormatter.SetBindingContext

See Also

DataSourceItemFormatter Class | Spring.DataBinding Namespace