Show / Hide Table of Contents

Class NamedArgument

Defines a class that represents a named argument. At the command line level, named arguments consist of two separate raw arguments. The first argument specifies the name for the argument and the second argument the actual argument value. The first argument must begin with a named argument prefix.

Inheritance
System.Object
CommandLineArgument
NameValueArgument
NamedArgument
Inherited Members
NameValueArgument.Name
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 class NamedArgument : NameValueArgument

Constructors

| Improve this Doc View Source

NamedArgument(String, String)

Initializes a new instance.

Declaration
public NamedArgument(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.

  • Improve this Doc
  • View Source
Back to top Copyright © 2017-2019 Juha Lähteenmäki
Generated by DocFX