Method Parse
Parse(string?)
Parses a field instruction. A null or whitespace-only instruction yields an instruction whose Kind is Unknown and whose Name is empty; parsing never throws on malformed input.
public static FieldInstruction Parse(string? instruction)
Parameters
instructionstringThe instruction text, without the surrounding field braces.
Returns
- FieldInstruction
The parsed instruction.