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
jsonstringThe candidate document.
Returns
Exceptions
- ArgumentNullException
Thrown when
jsonis null.- JsonException
Thrown when the candidate is not JSON at all.