NAnt SDK Documentation - v0.85-nightly-2005-11-09

FunctionSetAttribute Constructor 

[This is preliminary documentation and subject to change.]

Initializes a new instance of the FunctionSetAttribute class with the specified name.

[Visual Basic]
Public Sub New( _
   ByVal prefix As String, _
   ByVal category As String _
)
[C#]
public FunctionSetAttribute(
   string prefix,
   string category
);

Parameters

prefix
The prefix used to distinguish the functions.
category
The category of the functions.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Attributes.FunctionSetAttribute.#ctor(System.String,System.String)

Exceptions

Exception Type Condition
ArgumentNullException

prefix is a null reference (Nothing in Visual Basic).

-or-

category is a null reference (Nothing in Visual Basic).

ArgumentOutOfRangeException

prefix is a zero-length String.

-or-

category is a zero-length String.

See Also

FunctionSetAttribute Class | NAnt.Core.Attributes Namespace