Method Render
Render(string, bool)
Renders a token back to instruction syntax, quoting and escaping only when the value needs it, so that an unquoted token round-trips unquoted.
public static string Render(string value, bool forceQuotes)
Parameters
valuestringThe token text.
forceQuotesboolWhether to quote even when the value would not require it.
Returns
- string
The instruction-syntax spelling of the token.
Exceptions
- ArgumentNullException
valueis null.