Show / Hide Table of Contents

Class DataValidationResultItem

A data validation result item.

Inheritance
System.Object
DataValidationResultItem
Implements
IDataValidationResultItem
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 Source

DataValidationResultItem(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 Source

MemberName

Gets the name of the member.

Declaration
public string MemberName { get; }
Property Value
Type Description
System.String

The name of the member.

| Improve this Doc View Source

Message

Gets the message.

Declaration
public string Message { get; }
Property Value
Type Description
System.String

The message.

| Improve this Doc View Source

Severity

Gets the validation result severity.

Declaration
public DataValidationSeverity Severity { get; }
Property Value
Type Description
DataValidationSeverity

The severity.

Implements

IDataValidationResultItem

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX