Method TryCreateForDomain
- Namespace
- MailFathom.Domain.Contacts.Collection
- Assembly
- MailFathom.Domain.dll
TryCreateForDomain(string?, bool, out ContactCollectionExclusion?)
Builds an entry that excludes every address at one domain.
public static bool TryCreateForDomain(string? domain, bool includeSubdomains, out ContactCollectionExclusion? exclusion)
Parameters
domainstringThe domain text an operator supplied.
includeSubdomainsboolWhether the entry also reaches the names beneath that domain.
exclusionContactCollectionExclusionThe entry, when the text is a domain this system compares on.