London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Interface IValidator

Defines the properties and methods that objects that participate in validation must implement.

Namespace: Mediachase.BusinessFoundation.Data
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 13.30.0
Syntax
public interface IValidator

Properties

ErrorMessage

Gets or sets the error message.

Declaration
string ErrorMessage { get; set; }
Property Value
Type Description
System.String

The error message.

IsValid

Gets or sets a value indicating whether this instance is valid.

Declaration
bool IsValid { get; set; }
Property Value
Type Description
System.Boolean

true if this instance is valid; otherwise, false.

Methods

Validate()

Validates this instance.

Declaration
void Validate()