DefaultCommandLineArgumentAttribute Class

Summary

Marks a command-line option as being the default option. When the name of a command-line argument is not specified, this option will be assumed.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Util
Base Types
graph BT Type-->Base0["CommandLineArgumentAttribute"] click Base0 "/api/NAnt.Core.Util/CommandLineArgumentAttribute" Base0-->Base1["Attribute"] Type["DefaultCommandLineArgumentAttribute"] class Type type-node

Syntax

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

Attributes

Type Description
AttributeUsageAttribute

Constructors

Name Summary
DefaultCommandLineArgumentAttribute(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.