CommandLineOption Class

Definition

Represents a command line option.

public sealed class CommandLineOption : IEquatable<Microsoft.Testing.Platform.Extensions.CommandLine.CommandLineOption>
type CommandLineOption = class
    interface IEquatable<CommandLineOption>
Public NotInheritable Class CommandLineOption
Implements IEquatable(Of CommandLineOption)
Inheritance
CommandLineOption
Implements

Constructors

Name Description
CommandLineOption(String, String, ArgumentArity, Boolean, String)
CommandLineOption(String, String, ArgumentArity, Boolean)

Initializes a new instance of the CommandLineOption class.

Properties

Name Description
Arity

Gets the arity of the command line option.

Description

Gets the description of the command line option.

IsHidden

Gets a value indicating whether the command line option is hidden.

Name

Gets the name of the command line option.

ObsolescenceMessage

Methods

Name Description
Equals(CommandLineOption)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

Applies to