PlainValidationResultItem - класс

Message occured during validation or operation execution.

Definition

Пространство имён: Tessa.Platform.Validation
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
public sealed class PlainValidationResultItem
Inheritance
Object    PlainValidationResultItem

Заметки

Allows serialization of IValidationResultItem object.

Конструкторы

PlainValidationResultItemИнициализирует новый экземпляр класса PlainValidationResultItem

Свойства

Details Additional information to describe the message, such as exception stacktrace (if its allowed to be sent to the client), or null if no said info is provided.
FieldName Name of object's attribute associated with the message, or null if no such object is provided. If message describes exception, then property returns exception's type name.
KeyКлюч сообщения, возникшего при валидации.
Message Message text.
ObjectName Name of the object associated with the message, or null if no such object is provided.
ObjectType Type of the object associated with the message, or null if no such object is provided.
Type

Message type.

0 - information; 1 - warning; 2 - error.

Методы

Create Create object from IValidationResultItem object.
EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
ToStringReturns a string that represents the current object.
(Унаследован от Object)
ToValidationResultItem Create ValidationResultItem from current object.

Методы расширения

Get
(Определяется ComHelper)
Invoke
(Определяется ComHelper)
Set
(Определяется ComHelper)

См. также