Search Results for

    Show / Hide Table of Contents

    Enum UnrecognizedArgumentHandling

    Defines behaviors for for how unrecognized arguments should be handled.

    Namespace: McMaster.Extensions.CommandLineUtils
    Assembly: McMaster.Extensions.CommandLineUtils.dll
    Syntax
    public enum UnrecognizedArgumentHandling

    Fields

    Name Description
    CollectAndContinue

    When an unrecognized argument is encountered, save it in a list that will be assigned to RemainingArguments.

    StopParsingAndCollect

    When an unrecognized argument is encountered, stop parsing arguments and put all remaining arguments, including the first unrecognized argument, in RemainingArguments.

    Throw

    When an unrecognized argument is encountered, throw CommandParsingException.

    • Improve this Doc
    • View Source
    In This Article
    Back to top