TypeFactory.

ScanAssembly(string, Task) Method

Summary

Scans the given assembly for tasks, types, functions and filters.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
TypeFactory

Syntax

[ReflectionPermission(SecurityAction.Demand, Flags = ReflectionPermissionFlag.NoFlags)]
public static bool ScanAssembly(string assemblyFile, Task task)

Attributes

Type Description
ReflectionPermissionAttribute

Parameters

Name Type Description
assemblyFile string The assembly to scan for tasks, types, functions and filters.
task Task The NAnt.Core.Task which will be used to output messages to the build log.

Return Value

Type Description
bool