Method TryParse
- Namespace
- MailFathom.Application.EmailContent.Rendering.Document
- Assembly
- MailFathom.Application.dll
TryParse(string?, out MailDocumentBlockType)
Parses an identity read off the wire.
public static bool TryParse(string? identity, out MailDocumentBlockType blockType)
Parameters
identitystringThe identity to parse.
blockTypeMailDocumentBlockTypeThe catalogued type when the identity names one; otherwise the unspecified default.
Returns
Remarks
An identity nothing declares is unknown rather than new, so nothing is reconstructed from it: a client meeting one is meeting a service ahead of it, which is what the block's version and the document's schema version are for.