Table of Contents

Method FitsWhatIsComposedFrom

Namespace
MailFathom.Infrastructure.Persistence.Settings
Assembly
MailFathom.Infrastructure.dll

FitsWhatIsComposedFrom(string)

Gets whether a candidate document fits what the layer composes settings from.

public static bool FitsWhatIsComposedFrom(string json)

Parameters

json string

The candidate document.

Returns

bool

true when it fits; otherwise false.

Exceptions

ArgumentNullException

Thrown when json is null.

JsonException

Thrown when the candidate is not JSON at all.