Table of Contents

Method TryParseName

Namespace
MailFathom.Domain.Mutations
Assembly
MailFathom.Domain.dll

TryParseName(string?, out MailboxMutation)

Parses a recorded name back into the mutation it names.

public static bool TryParseName(string? name, out MailboxMutation mutation)

Parameters

name string

The name read from a log, a stored record, or a serialized document.

mutation MailboxMutation

The parsed mutation when the name is permitted; otherwise the unspecified default.

Returns

bool

true when the name is a permitted mutation; otherwise false.

Remarks

A name this set does not hold is not accepted, so a mutation that was never permitted is recognized as unknown rather than reconstructed as a value nothing performs.