Expose comparer

This commit is contained in:
erri120 2024-08-14 14:30:39 +02:00
parent 82ae67ab29
commit 32f83949f6
No known key found for this signature in database
2 changed files with 22 additions and 0 deletions

View File

@ -224,5 +224,16 @@ namespace ObservableCollections
{ {
return GetEnumerator(); return GetEnumerator();
} }
public IEqualityComparer<TKey> Comparer
{
get
{
lock (SyncRoot)
{
return dictionary.Comparer;
}
}
}
} }
} }

View File

@ -264,5 +264,16 @@ namespace ObservableCollections
{ {
return GetEnumerator(); return GetEnumerator();
} }
public IEqualityComparer<T> Comparer
{
get
{
lock (SyncRoot)
{
return set.Comparer;
}
}
}
} }
} }