Method TryParse
- Namespace
- MailFathom.Application.Discovery.Planning
- Assembly
- MailFathom.Application.dll
TryParse(string?, out DiscoveryIntent)
Reads an intent from the name it is written under.
public static bool TryParse(string? identity, out DiscoveryIntent intent)
Parameters
identitystringThe name to read, which may be surrounded by whitespace.
intentDiscoveryIntentThe intent the name means, or the default of the struct when it means none.
Returns
Remarks
A name this catalogue does not hold is not an error here. It is what a model answering with something else produces, and the planner reads that as Unclassified rather than as a failed run.