Struct MatchOperation
Match operation to use for evaluation.
[JsonConverter(typeof(MatchOperationConverter))]
public readonly record struct MatchOperation : IEquatable<MatchOperation>
- Implements
- Inherited Members
Properties
AllValues
public static IReadOnlyList<MatchOperation> AllValues { get; }
Property Value
ExactMatch
expression is an exact match of target.
public static MatchOperation ExactMatch { get; }
Property Value
MatchOperationUnspecified
Default value. This value is unused.
public static MatchOperation MatchOperationUnspecified { get; }
Property Value
PartialMatch
expression is a substring of target.
public static MatchOperation PartialMatch { get; }
Property Value
RegexContains
Equivalent to GoogleSQL REGEX_CONTAINS(target, expression).
public static MatchOperation RegexContains { get; }
Property Value
Value
public string Value { get; }
Property Value
Methods
Equals(MatchOperation)
public bool Equals(MatchOperation other)
Parameters
otherMatchOperation
Returns
FromString(string)
public static MatchOperation FromString(string value)
Parameters
valuestring
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
implicit operator MatchOperation(string)
public static implicit operator MatchOperation(string value)
Parameters
valuestring