Class BindingListAdaptor<T>
- Namespace
- DynamicData.Binding
- Assembly
- DynamicData.dll
Adaptor to reflect a change set into a binding list.
public class BindingListAdaptor<T> : IChangeSetAdaptor<T> where T : notnull
Type Parameters
T
The type of items.
- Inheritance
-
BindingListAdaptor<T>
- Implements
Remarks
Initializes a new instance of the BindingListAdaptor<T> class.
Constructors
BindingListAdaptor(BindingList<T>, int)
Adaptor to reflect a change set into a binding list.
public BindingListAdaptor(BindingList<T> list, int refreshThreshold = 25)
Parameters
list
BindingList<T>The list of items to add to the adapter.
refreshThreshold
intThe threshold before a reset is issued.
Remarks
Initializes a new instance of the BindingListAdaptor<T> class.
Methods
Adapt(IChangeSet<T>)
Adapts the specified change.
public void Adapt(IChangeSet<T> changes)
Parameters
changes
IChangeSet<T>The change.