Project.

AttachBuildListeners(BuildListenerCollection) Method

Summary

Attaches the specified build listeners to the NAnt.Core.Project.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
Project

Syntax

public void AttachBuildListeners(BuildListenerCollection listeners)

Remarks

The currently attached NAnt.Core.IBuildListener instances will be detached before the new NAnt.Core.IBuildListener instances are attached.

Parameters

Name Type Description
listeners BuildListenerCollection The NAnt.Core.IBuildListener instances to attach to the NAnt.Core.Project.

Return Value

Type Description
void