CommandLineParseResult Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.