NAnt SDK Documentation - v0.92

XsltExtensionObject.IfDefined Property

Indicates if the extension object should be added to the XSLT argument list. If true then the extension object will be added; otherwise, skipped. The default is true.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="if", ExpandProperties:=True, ProcessXml:=True), _  BooleanValidator>
Public Property IfDefined As Boolean
[C#]
[TaskAttribute(Required=False, Name="if", ExpandProperties=True, ProcessXml=True)]
[BooleanValidator]
public bool IfDefined {get; set;}

See Also

XsltExtensionObject Class | NAnt.Core.Types Namespace