Table of Contents

CliCommandAttribute.TreatUnmatchedTokensAsErrors Property

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Gets or sets a value that indicates whether unmatched tokens should be treated as errors. For example, if set to true and an extra command or argument is provided, validation will fail.

Default is true.

public bool TreatUnmatchedTokensAsErrors { get; set; }

Property Value

bool