NAnt SDK Documentation - v0.92

CommandLineOptions.Listeners Property

Gets a collection containing fully qualified type names of classes implementating IBuildListener that should be added to the project as listeners.

[Visual Basic]
<CommandLineArgument(Name:="listener", ShortName:="null", Description:="Add an instance of class as a project listener", Type:=CommandLineArgumentTypes.MultipleUnique)>
Public ReadOnly Property Listeners As StringCollection
[C#]
[CommandLineArgument(Name="listener", ShortName="null", Description="Add an instance of class as a project listener", Type=CommandLineArgumentTypes.MultipleUnique)]
public System.Collections.Specialized.StringCollection Listeners {get;}

Property Value

A collection of fully qualified type names that should be added as listeners to the Project.

See Also

CommandLineOptions Class | NAnt.Core Namespace