UnknownTokenInfo(String, IReadOnlyList, String?, Nullable) Constructor

Definition

Assembly XenoAtom.CommandLine.dll

Describes an unknown token along with suggestions and optional diagnostics.

public UnknownTokenInfo(string Token, IReadOnlyList<string> Suggestions, string? InactiveMatchMessage, CommandTokenSpan? TokenSpan = default(CommandTokenSpan? ))

Parameters

Token
String

The unrecognized token.

Suggestions
IReadOnlyList<String>

Suggested corrections, if any.

InactiveMatchMessage
String

A note if the token matches an inactive command/option, or null.

TokenSpan
Nullable<CommandTokenSpan>

The optional location of this token in the invocation token stream.