Show / Hide Table of Contents

Class NameValueArgument

Defines an abstract base class for command line arguments that consist of name and value pairs.

Inheritance
System.Object
CommandLineArgument
NameValueArgument
NamedArgument
OptionArgument
Inherited Members
CommandLineArgument.GetValueAs<T>()
CommandLineArgument.GetValueAs<T>(IValidator<T>)
CommandLineArgument.Consumed
CommandLineArgument.Value
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Juhta.Net.Console
Assembly: Juhta.Net.Console.dll
Syntax
public abstract class NameValueArgument : CommandLineArgument

Constructors

| Improve this Doc View Source

NameValueArgument(String, String)

Initializes a new instance.

Declaration
protected NameValueArgument(string name, string value)
Parameters
Type Name Description
System.String name

Specifies a value for the Name property.

System.String value

Specifies a value for the Value property.

Properties

| Improve this Doc View Source

Name

Gets the name of the command line argument.

Declaration
public string Name { get; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
Back to top Copyright © 2017-2019 Juha Lähteenmäki
Generated by DocFX