NAnt SDK Documentation - v0.92

Proxy.IfDefined Property

Indicates if the proxy should be used to connect to the external resource. If true then the proxy will be used; otherwise, not. The default is true.

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

See Also

Proxy Class | NAnt.Core.Types Namespace