Method ContainsSeparator
- Namespace
- MailFathom.Application.Rules
- Assembly
- MailFathom.Application.dll
ContainsSeparator(string?)
Reports whether a value carries a character this identity separates its own fields with.
public static bool ContainsSeparator(string? value)
Parameters
valuestringA rule name, a condition, or an account identifier about to become part of a rule set.
Returns
Remarks
The remarks above say a separator cannot occur in what is hashed, and this is what lets that be true rather than hoped for: whatever binds a rule set asks first and refuses a value that answers yes. Without the check the claim rests on the expression language's grammar, which is somebody else's decision and can change under this one — and a rule set that renders identically to a different rule set is exactly the collision this identity exists to make impossible.