Table of Contents

Class DataTypeIntegrityValidationResult

Namespace
CMS.FormEngine
Assembly
CMS.FormEngine.dll

DataType integrity validation result object

public class DataTypeIntegrityValidationResult
Inheritance
object
DataTypeIntegrityValidationResult
Extension Methods

Constructors

DataTypeIntegrityValidationResult()

Initializes a new instance of DataTypeIntegrityValidationResult class with a successful validation.

public DataTypeIntegrityValidationResult()

DataTypeIntegrityValidationResult(DataTypeIntegrityValidationResult)

Initializes a new instance of DataTypeIntegrityValidationResult class by using DataTypeIntegrityValidationResult object.

public DataTypeIntegrityValidationResult(DataTypeIntegrityValidationResult validationResult)

Parameters

validationResult DataTypeIntegrityValidationResult

DataTypeIntegrityValidationResult(DataTypeIntegrityValidationResultType, string)

Initializes a new instance of DataTypeIntegrityValidationResult class by using a validation result type and an error message.

public DataTypeIntegrityValidationResult(DataTypeIntegrityValidationResultType resultType, string errorMessage)

Parameters

resultType DataTypeIntegrityValidationResultType
errorMessage string

Properties

ErrorMessage

Error message if validation failed

public string ErrorMessage { get; }

Property Value

string

ResultType

DataType integrity validation result type

public DataTypeIntegrityValidationResultType ResultType { get; }

Property Value

DataTypeIntegrityValidationResultType

Success

Represents the success of the validation, (true if validation was successful; otherwise, false).

public bool Success { get; }

Property Value

bool

Remarks