CommandLineOptions.

Listeners Property

Summary

Gets a collection containing fully qualified type names of classes implementing NAnt.Core.IBuildListener that should be added to the project as listeners.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
CommandLineOptions

Syntax

[CommandLineArgument(CommandLineArgumentTypes.MultipleUnique, Name = "listener", Description = "Add an instance of class as a project listener")]
public StringCollection Listeners { get; }

Attributes

Type Description
CommandLineArgumentAttribute Allows control of command line parsing.

Value

Type Description
StringCollection A collection of fully qualified type names that should be added as listeners to the NAnt.Core.Project.