Summary
Scans the given assembly for tasks, types, functions and filters.
Syntax
[ReflectionPermission(SecurityAction.Demand, Flags = ReflectionPermissionFlag.NoFlags)]
public static bool ScanAssembly(Assembly assembly, Task task)
Attributes
| Type |
Description |
| ReflectionPermissionAttribute |
|
Parameters
| Name |
Type |
Description |
| assembly |
Assembly |
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 |
true if assembly contains at
least one "extension"; otherwise, false.
|