Interface IMatcher<T>
- Namespace
- Quartz
- Assembly
- Quartz.dll
Matchers can be used in various IScheduler API methods to select the entities that should be operated upon.
public interface IMatcher<T> where T : Key<T>
Type Parameters
T
- Extension Methods
Remarks
An implementation is expected to be a value: two matchers built the same way must be Equals(object)-equal, so that a caller comparing matchers, or holding them in a set, gets the answer the shape of the matcher implies rather than the answer its identity does. The members that say so are object's own, so this interface does not redeclare them.
Methods
IsMatch(T)
Whether key is one of the keys this matcher selects.
bool IsMatch(T key)
Parameters
keyTThe key to test.