CommandLineOption Class
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.
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. |