NAnt SDK Documentation - v0.92

ScriptTask.Prefix Property

The namespace prefix for any custom functions defined in the script. If ommitted the prefix will default to 'script'

[Visual Basic]
<TaskAttribute(Name:="prefix", Required:=False, ExpandProperties:=True, ProcessXml:=True)>
Public Property Prefix As String
[C#]
[TaskAttribute(Name="prefix", Required=False, ExpandProperties=True, ProcessXml=True)]
public string Prefix {get; set;}

See Also

ScriptTask Class | NAnt.DotNet.Tasks Namespace