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
namestringThe name read from a log, a stored record, or a serialized document.
mutationMailboxMutationThe parsed mutation when the name is permitted; otherwise the unspecified default.
Returns
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.