ConsoleDriver.

CreateListener(string) Method

Summary

Dynamically constructs an NAnt.Core.IBuildListener instance of the class specified.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
ConsoleDriver

Syntax

[ReflectionPermission(SecurityAction.Demand, Flags = ReflectionPermissionFlag.NoFlags)]
public static IBuildListener CreateListener(string typeName)

Remarks

At this point, only looks in the assembly where NAnt.Core.IBuildListener is defined.

Attributes

Type Description
ReflectionPermissionAttribute

Parameters

Name Type Description
typeName string The fully qualified name of the listener that should be instantiated.

Return Value

Type Description
IBuildListener