ICommandLineOptionsProvider.ValidateOptionArgumentsAsync Method
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.
Validate the arguments for the given command option.
public System.Threading.Tasks.Task<Microsoft.Testing.Platform.Extensions.ValidationResult> ValidateOptionArgumentsAsync(Microsoft.Testing.Platform.Extensions.CommandLine.CommandLineOption commandOption, string[] arguments);
abstract member ValidateOptionArgumentsAsync : Microsoft.Testing.Platform.Extensions.CommandLine.CommandLineOption * string[] -> System.Threading.Tasks.Task<Microsoft.Testing.Platform.Extensions.ValidationResult>
Public Function ValidateOptionArgumentsAsync (commandOption As CommandLineOption, arguments As String()) As Task(Of ValidationResult)
Parameters
- commandOption
- CommandLineOption
The command option.
- arguments
- String[]
The arguments provided for the command option.
Returns
The result of the validation.