Table of Contents

Class OrMatcher<TKey>

Namespace
Quartz
Assembly
Quartz.dll

Matches using an OR operator on two Matcher operands.

public sealed class OrMatcher<TKey> : IMatcher<TKey> where TKey : Key<TKey>

Type Parameters

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

Properties

LeftOperand

The first of the two matchers, and the only one consulted when it matches.

public IMatcher<TKey> LeftOperand { get; }

Property Value

IMatcher<TKey>

RightOperand

The second matcher, consulted when the first does not match.

public IMatcher<TKey> RightOperand { get; }

Property Value

IMatcher<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

Or<TKey>(IMatcher<TKey>, IMatcher<TKey>)