ArgsReader.ReadArguments method

Reads any remaining non-option arguments.

public IReadOnlyList<string> ReadArguments()

Return Value

The remaining non-option arguments, if any.

Exceptions

exception condition
ArgsReaderException A remaining argument is an option.

Remarks

If any remaining arguments are options, this method throws an exception. If options can appear before normal arguments, be sure to read all options before reading any normal arguments.

See Also