AvailableTask.

PropertyName Property

Summary

The property that must be set if the resource is available.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
AvailableTask

Syntax

[TaskAttribute("property", Required = true)]
[StringValidator(AllowEmpty = false)]
public string PropertyName { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
StringValidatorAttribute Used to indicate whether a string property should allow an empty string value or not.

Value

Type Description
string