Class KeyMatcher<TKey>
- Namespace
- Quartz
- Assembly
- Quartz.dll
Matches on the complete key being equal (both name and group).
public sealed class KeyMatcher<TKey> : IMatcher<TKey> where TKey : Key<TKey>
Type Parameters
TKey
- Inheritance
-
KeyMatcher<TKey>
- Implements
-
IMatcher<TKey>
- Inherited Members
- Extension Methods
Properties
CompareToValue
The one key this matcher selects.
public TKey CompareToValue { get; }
Property Value
- TKey
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
IsMatch(TKey)
Whether key is one of the keys this matcher selects.
public bool IsMatch(TKey key)
Parameters
keyTKeyThe key to test.