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.0Syntax
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 |
|
Methods
Validate()
Validates this instance.
Declaration
void Validate()