Initializes a new instance of the C1ObservableKeyedCollection<(Of <(<'TKey, TItem>)>)> class.
Namespace:
C1.C1ScheduleAssembly: C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)
Syntax
C# |
---|
protected C1ObservableKeyedCollection( IEqualityComparer<TKey> comparer ) |
Visual Basic (Declaration) |
---|
Protected Sub New ( _ comparer As IEqualityComparer(Of TKey) _ ) |
Parameters
- comparer
- Type: System.Collections.Generic..::..IEqualityComparer<(Of <(<'TKey>)>)>
The implementation of the IEqualityComparer generic interface to use when comparing keys, or a null reference (Nothing in Visual Basic) to use the default equality comparer for the type of the key, obtained from EqualityComparer.Default.