TextFilterResult Struct
Definition
Represents the outcome of evaluating a single value against a TextFilter: the decision reached and the pattern that decided it, if any.
public readonly struct TextFilterResult
- Inherited Members
- Extension Methods
Properties
Decision
Gets the decision reached for the value.
public TextFilterDecision Decision { get; }
Property Value
IsMatch
Gets a value indicating whether the value was accepted by the filter.
public bool IsMatch { get; }
Property Value
Pattern
Gets the pattern that decided the outcome.
public TextFilterPattern? Pattern { get; }
Property Value
- TextFilterPattern
The deciding pattern, or null when the decision is IncludedByDefault or NotIncluded. In AnyMatch mode, when several patterns could have matched, the reported pattern is one of them (the cheapest to evaluate), not necessarily the first declared; in LastMatchWins mode it is exactly the last matching rule.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |