Home

Castle Stronghold

ValidateNotEmptyAttribute API Document

Validate that the property is not null or empty (for strings)

Constructors

ValidateNotEmptyAttribute()

Initializes a new instance of the Castle.ActiveRecord.ValidateNotEmptyAttribute class.

ValidateNotEmptyAttribute(String errorMessage)

Initializes a new instance of the Castle.ActiveRecord.ValidateNotEmptyAttribute class.

ParameterDescription
errorMessage The error message.

Properties

NameTypeDescription
ValidatorIValidator Gets the validator for this attribute. Each attribute that inherits from this class will have its own validtor.

Google
Search WWW Search castleproject.org