Class DataValidationResultItem
A data validation result item.
Inheritance
System.Object
DataValidationResultItem
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Data.Validation
Assembly: Kephas.Data.dll
Syntax
public class DataValidationResultItem : IDataValidationResultItem
Constructors
| Improve this Doc View SourceDataValidationResultItem(String, String, DataValidationSeverity)
Initializes a new instance of the DataValidationResultItem class.
Declaration
public DataValidationResultItem(string message, string memberName = null, DataValidationSeverity severity = DataValidationSeverity.Error)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.String | memberName | Optional. the member name. |
DataValidationSeverity | severity | Optional. the severity. |
Properties
| Improve this Doc View SourceMemberName
Gets the name of the member.
Declaration
public string MemberName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the member. |
Message
Gets the message.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String | The message. |
Severity
Gets the validation result severity.
Declaration
public DataValidationSeverity Severity { get; }
Property Value
Type | Description |
---|---|
DataValidationSeverity | The severity. |