Method TryParse
- Namespace
- MailFathom.Application.Discovery.Presentation
- Assembly
- MailFathom.Application.dll
TryParse(string?, out PresentationBlockType)
Parses an identity read off the wire.
public static bool TryParse(string? identity, out PresentationBlockType blockType)
Parameters
identitystringThe identity to parse.
blockTypePresentationBlockTypeThe 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 plan's schema version are for.