Method FromRule
- Namespace
- MailFathom.Application.Emails.Enrichment
- Assembly
- MailFathom.Application.dll
FromRule(string)
Records that a mark was produced by one of this deployment's own deterministic rules.
public static EmailEnrichmentProvenance FromRule(string ruleIdentity)
Parameters
ruleIdentitystringThe rule that produced it.
Returns
- EmailEnrichmentProvenance
The provenance.
Remarks
No rule writes a mark yet, and the constructor exists anyway because the distinction it draws is what the record is for: a shape that could only ever express one of the two would make the source column a constant, and the first deterministic producer would then arrive as a schema change rather than as a caller.
Exceptions
- ArgumentException
Thrown when the identity is blank, over-long, or carries a control character.