NAnt SDK Documentation - v0.92

StringValidatorAttribute Class

Used to indicate whether a String property should allow an empty string value or not.

For a list of all members of this type, see StringValidatorAttribute Members.

System.Object
   System.Attribute
      NAnt.Core.Attributes.ValidatorAttribute
         NAnt.Core.Attributes.StringValidatorAttribute

[Visual Basic]
<AttributeUsage(Inherited:=True, ValidOn:=AttributeTargets.Property, AllowMultiple:=False)>
NotInheritable Public Class StringValidatorAttribute
    Inherits ValidatorAttribute
[C#]
[AttributeUsage(Inherited=True, ValidOn=AttributeTargets.Property, AllowMultiple=False)]
public sealed class StringValidatorAttribute : ValidatorAttribute

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: NAnt.Core.Attributes

Assembly: NAnt.Core (in NAnt.Core.dll)

See Also

StringValidatorAttribute Members | NAnt.Core.Attributes Namespace