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