CommandLineArgumentAttribute Class

Summary

Allows control of command line parsing.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Util
Base Types
  • Attribute
Derived Types
graph BT Type-->Base0["Attribute"] Type["CommandLineArgumentAttribute"] class Type type-node Derived0["DefaultCommandLineArgumentAttribute"]-->Type click Derived0 "/api/NAnt.Core.Util/DefaultCommandLineArgumentAttribute"

Syntax

[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class CommandLineArgumentAttribute : Attribute

Attributes

Type Description
AttributeUsageAttribute

Constructors

Name Summary
CommandLineArgumentAttribute(CommandLineArgumentTypes) Initializes a new instance of the NAnt.Core.Util.CommandLineArgumentAttribute class with the specified argument type.

Properties

Name Value Summary
Description string
Gets or sets the description of the argument.
Name string
Gets or sets the long name of the argument.
ShortName string
Gets or sets the short name of the argument.
Type CommandLineArgumentTypes
Gets or sets the checking to be done on the argument.