CommandLineOptions.

Targets Property

Summary

Gets a collection containing the targets that should be executed.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
CommandLineOptions

Syntax

[DefaultCommandLineArgument(CommandLineArgumentTypes.MultipleUnique, Name = "target")]
public StringCollection Targets { get; }

Attributes

Type Description
DefaultCommandLineArgumentAttribute 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.

Value

Type Description
StringCollection A collection that contains the targets that should be executed.