StringValidatorAttribute.

AllowEmpty Property

Summary

Gets or sets a value indicating whether an empty string or null should be a considered a valid value.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Attributes
Containing Type
StringValidatorAttribute

Syntax

public bool AllowEmpty { get; set; }

Value

Type Description
bool true if an empty string or null should be considered a valid value; otherwise, false. The default is true.