Table of Contents

Method TryParse

Namespace
MailFathom.Infrastructure.ObjectStorage
Assembly
MailFathom.Infrastructure.dll

TryParse(string?, out ObjectStorageFailure)

Parses a published classification name, ignoring case and surrounding whitespace.

public static bool TryParse(string? name, out ObjectStorageFailure failure)

Parameters

name string

The name to read.

failure ObjectStorageFailure

The parsed classification when the name is a declared one; otherwise the unspecified default.

Returns

bool

true when the name is a declared classification; otherwise false.