Table of Contents

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

domain string

The domain text an operator supplied.

includeSubdomains bool

Whether the entry also reaches the names beneath that domain.

exclusion ContactCollectionExclusion

The entry, when the text is a domain this system compares on.

Returns

bool

true when the text is usable; otherwise false.