Table of Contents

Class NameMatcher<TKey>

Namespace
Quartz
Assembly
Quartz.dll

Matches on name (ignores group) property of Keys.

public sealed class NameMatcher<TKey> : StringMatcher<TKey>, IMatcher<TKey> where TKey : Key<TKey>

Type Parameters

TKey
Inheritance
NameMatcher<TKey>
Implements
IMatcher<TKey>
Inherited Members
Extension Methods

Remarks

The key-typed half of the name filter. Its arity-free twin, NameMatcher, is the same four comparisons over a name that belongs to no key — a calendar's name, a group's name.

Methods

GetValue(TKey)

The part of the key this matcher compares — its name, or its group.

protected override string GetValue(TKey key)

Parameters

key TKey

Returns

string

NameContains(string)

Create a NameMatcher that matches names containing the given string.

public static NameMatcher<TKey> NameContains(string compareTo)

Parameters

compareTo string

Returns

NameMatcher<TKey>

NameEndsWith(string)

Create a NameMatcher that matches names ending with the given string.

public static NameMatcher<TKey> NameEndsWith(string compareTo)

Parameters

compareTo string

Returns

NameMatcher<TKey>

NameEquals(string)

Create a NameMatcher that matches names equaling the given string.

public static NameMatcher<TKey> NameEquals(string compareTo)

Parameters

compareTo string

Returns

NameMatcher<TKey>

NameStartsWith(string)

Create a NameMatcher that matches names starting with the given string.

public static NameMatcher<TKey> NameStartsWith(string compareTo)

Parameters

compareTo string

Returns

NameMatcher<TKey>