Interface IMatcher<TCandidate>
- Namespace
- Platform.Interfaces
- Assembly
- Platform.Interfaces.dll
Defines a matcher that determines whether a candidate satisfies its matching rule.
Определяет объект, который проверяет, соответствует ли кандидат правилу сопоставления.
public interface IMatcher<in TCandidate>
Type Parameters
TCandidateType of the value being tested for a match.
Тип значения, проверяемого на соответствие.
Methods
IsMatched(TCandidate)
Determines whether the candidate satisfies the matching rule.
Определяет, соответствует ли кандидат правилу сопоставления.
bool IsMatched(TCandidate candidate)
Parameters
candidateTCandidateThe value to test.
Проверяемое значение.
Returns
- bool
Whether the candidate satisfies the matching rule.
Соответствует ли кандидат правилу сопоставления.