Class SortedBindingListAdaptor<TObject, TKey>
- Namespace
- DynamicData.Binding
- Assembly
- DynamicData.dll
Represents an adaptor which is used to update a binding list from a sorted change set.
public class SortedBindingListAdaptor<TObject, TKey> : ISortedChangeSetAdaptor<TObject, TKey> where TObject : notnull where TKey : notnull
Type Parameters
TObject
The type of object.
TKey
The type of key.
- Inheritance
-
SortedBindingListAdaptor<TObject, TKey>
- Implements
-
ISortedChangeSetAdaptor<TObject, TKey>
Remarks
Initializes a new instance of the SortedBindingListAdaptor<TObject, TKey> class.
Constructors
SortedBindingListAdaptor(BindingList<TObject>, int)
Represents an adaptor which is used to update a binding list from a sorted change set.
public SortedBindingListAdaptor(BindingList<TObject> list, int refreshThreshold = 25)
Parameters
list
BindingList<TObject>The source list.
refreshThreshold
intThe threshold before a refresh is triggered.
Remarks
Initializes a new instance of the SortedBindingListAdaptor<TObject, TKey> class.
Methods
Adapt(ISortedChangeSet<TObject, TKey>)
Adapts the specified change.
public void Adapt(ISortedChangeSet<TObject, TKey> changes)
Parameters
changes
ISortedChangeSet<TObject, TKey>The change.