Class ValidationCheckResult
Represents the result of a validation check.
Inherited Members
Namespace: Algenta.Colectica.Model.Validation
Assembly: Algenta.Colectica.Model.dll
Syntax
public class ValidationCheckResult
Constructors
ValidationCheckResult()
Initializes a new instance of the ValidationCheckResult class.
Declaration
public ValidationCheckResult()
ValidationCheckResult(bool, string)
Initializes a new instance of the ValidationCheckResult class.
Declaration
public ValidationCheckResult(bool isValid, string message = null)
Parameters
Type | Name | Description |
---|---|---|
bool | isValid | Whether the checked object is valid. |
string | message | The message. |
Properties
IsValid
Gets or sets a value indicating whether the object is valid.
Declaration
public bool IsValid { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Message
Gets or sets a message providing details about why an object is invalid.
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string | The message. |