Table of Contents

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

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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

key TKey

The key to test.

Returns

bool

See Also