Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

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: 14.26.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()