TaskFunctions.

GetAssembly(string) Method

Summary

Returns the System.Reflection.Assembly from which the specified task was loaded.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
TaskFunctions

Syntax

[Function("get-assembly")]
public Assembly GetAssembly(string name)

Attributes

Type Description
FunctionAttribute Indicates that the method should be exposed as a function in NAnt build files.

Parameters

Name Type Description
name string The name of the task to get the System.Reflection.Assembly of.

Return Value

Type Description
Assembly The System.Reflection.Assembly from which the specified task was loaded.