AssemblyFunctions.

GetName(Assembly) Method

Summary

Gets an System.Reflection.AssemblyName for the specified assembly.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
AssemblyFunctions

Syntax

[Function("get-name")]
public static AssemblyName GetName(Assembly assembly)

Attributes

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

Parameters

Name Type Description
assembly Assembly The assembly to get an System.Reflection.AssemblyName for.

Return Value

Type Description
AssemblyName An System.Reflection.AssemblyName for the specified assembly.

See Also

  • NAnt.Core.Functions.AssemblyNameFunctions