Method Normalized
- Namespace
- MailFathom.Domain.Emails
- Assembly
- MailFathom.Domain.dll
Normalized(string?)
Reduces one written keyword to the form everything compares keywords in.
public static string? Normalized(string? keyword)
Parameters
keywordstringThe keyword as somebody wrote it.
Returns
Remarks
This is the same reduction Create(IEnumerable<string>?) applies, published so that a caller filtering on a keyword folds
its own value the way the stored ones were folded. Two implementations of it would be two answers to whether
$Junk matches $junk, and only one of them would be the stored one.