how sync...
This commit is contained in:
parent
6ee7fb7301
commit
b69f32c450
@ -14,14 +14,6 @@ namespace ObservableCollections
|
|||||||
{
|
{
|
||||||
readonly ISynchronizedView<T, TView> parent;
|
readonly ISynchronizedView<T, TView> parent;
|
||||||
protected readonly List<TView> listView;
|
protected readonly List<TView> listView;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//protected readonly SortedList<int, TView> listView; // key is original index
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
protected readonly object gate = new object();
|
protected readonly object gate = new object();
|
||||||
|
|
||||||
public SynchronizedViewList(ISynchronizedView<T, TView> parent)
|
public SynchronizedViewList(ISynchronizedView<T, TView> parent)
|
||||||
@ -60,6 +52,8 @@ namespace ObservableCollections
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// fnew SortedList<int, int>().sort
|
||||||
|
|
||||||
listView.InsertRange(e.NewStartingIndex, e.NewViews);
|
listView.InsertRange(e.NewStartingIndex, e.NewViews);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user