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
-
- Attribute
- Command
Line Argument Attribute
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 |
---|---|
Attribute |
Constructors
Name | Summary |
---|---|
Default |
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.
Inherited from Command
|
Name | string |
Gets or sets the long name of the argument.
Inherited from Command
|
ShortName | string |
Gets or sets the short name of the argument.
Inherited from Command
|
Type | Command |
Gets or sets the checking to be done on the argument.
Inherited from Command
|