RXOperableCollection - assign '_comparer' in constructor
This commit is contained in:
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)));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user