FunctionSetAttribute Class

Summary

Indicates that class should be treated as a set of functions.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Attributes
Base Types
  • Attribute
graph BT Type-->Base0["Attribute"] Type["FunctionSetAttribute"] class Type type-node

Syntax

[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class FunctionSetAttribute : Attribute

Remarks

Attach this attribute to a class that derives from NAnt.Core.FunctionSetBase to have NAnt be able to recognize it as containing custom functions.

Attributes

Type Description
AttributeUsageAttribute

Constructors

Name Summary
FunctionSetAttribute(string, string) Initializes a new instance of the NAnt.Core.Attributes.FunctionSetAttribute class with the specified name.

Properties

Name Value Summary
Category string
Gets or sets the category of the function set.
Prefix string
Gets or sets the prefix of all functions in this function set.