AssemblyFunctions Class

Summary

Functions to return information for a given assembly.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Base Types
graph BT Type-->Base0["FunctionSetBase"] click Base0 "/api/NAnt.Core/FunctionSetBase" Base0-->Base1["Object"] Type["AssemblyFunctions"] class Type type-node

Syntax

[FunctionSet("assembly", "Assembly")]
public class AssemblyFunctions : FunctionSetBase

Attributes

Type Description
FunctionSetAttribute Indicates that class should be treated as a set of functions.

Constructors

Name Summary
AssemblyFunctions(Project, PropertyDictionary) Initializes a new instance of the NAnt.Core.Functions.AssemblyFunctions class.

Properties

Name Value Summary
Project Project
Gets or sets the NAnt.Core.FunctionSetBase.Project that this functionset will reference.
Inherited from FunctionSetBase

Methods

Name Value Summary
GetAttributeProperty(Assembly, string, string, string) string
Gets a custom attribute from the specified assembly.
static
GetFullName(Assembly) string
Gets the full name of the assembly, also known as the display name.
static
GetInformationalVersion(Assembly) string
Gets the value of the System.Reflection.AssemblyInformationalVersionAttribute for the specified assembly.
static
GetLocation(Assembly) string
Gets the physical location, in codebase format, of the loaded file that contains the manifest.
static
GetName(Assembly) AssemblyName
Gets an System.Reflection.AssemblyName for the specified assembly.
static
Load(string) Assembly
Loads an assembly given the long form of its name.
LoadFromFile(string) Assembly
Loads an assembly given its file name or path.