NAnt SDK Documentation - v0.92

FunctionSetAttribute Class

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

For a list of all members of this type, see FunctionSetAttribute Members.

System.Object
   System.Attribute
      NAnt.Core.Attributes.FunctionSetAttribute

[Visual Basic]
<AttributeUsage(Inherited:=False, ValidOn:=AttributeTargets.Class, AllowMultiple:=False)>
NotInheritable Public Class FunctionSetAttribute
    Inherits Attribute
[C#]
[AttributeUsage(Inherited=False, ValidOn=AttributeTargets.Class, AllowMultiple=False)]
public sealed class FunctionSetAttribute : Attribute

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

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

Requirements

Namespace: NAnt.Core.Attributes

Assembly: NAnt.Core (in NAnt.Core.dll)

See Also

FunctionSetAttribute Members | NAnt.Core.Attributes Namespace