RXOperableCollection - assign '_comparer' in constructor

This commit is contained in:
John Colvin committed 2019-03-17 15:30:43 -05:00
1 parent 7904065333
commit 4cc513f1d3
1 file changed
+1
@@ -124,6 +124,7 @@ namespace mbts.ui.utility {
_factory = factory;
_key = key;
_eq_comparer = EqualityComparer.Create(key);
_comparer = comparer;
_sorted_items = new SortedList<TModel>(comparer ?? throw new ArgumentNullException(nameof(comparer)));
}