November Happy Hour will be moved to Thursday December 5th.

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: 12.17.2
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()