CommandLineParseResult Constructor

Definition

Initializes a new instance of the CommandLineParseResult class.

public CommandLineParseResult(string? toolName, System.Collections.Generic.IReadOnlyList<Microsoft.Testing.Platform.CommandLine.CommandLineParseOption> options, System.Collections.Generic.IReadOnlyList<string> errors);
new Microsoft.Testing.Platform.CommandLine.CommandLineParseResult : string * System.Collections.Generic.IReadOnlyList<Microsoft.Testing.Platform.CommandLine.CommandLineParseOption> * System.Collections.Generic.IReadOnlyList<string> -> Microsoft.Testing.Platform.CommandLine.CommandLineParseResult
Public Sub New (toolName As String, options As IReadOnlyList(Of CommandLineParseOption), errors As IReadOnlyList(Of String))

Parameters

toolName
String

The name of the tool.

options
IReadOnlyList<CommandLineParseOption>

The collection of parsed options.

errors
IReadOnlyList<String>

The collection of errors associated to the parsing.

Applies to