Constructor KeyLocker
KeyLocker()
Initializes a new instance of the KeyLocker<T> class.
Declaration
public KeyLocker()
KeyLocker(IEqualityComparer<T>?)
Initializes a new instance of the KeyLocker<T> class with a specified equality comparer for the keys.
Declaration
public KeyLocker(IEqualityComparer<T>? comparer)
Parameters
Type | Name | Description |
---|---|---|
IEqualityComparer<T> | comparer |