PlainValidationResultItem - класс

Message occurred during validation or operation execution.

Definition

Пространство имён: Tessa.Platform.Validation
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public sealed class PlainValidationResultItem : StorageSerializable
Inheritance
Object    StorageSerializable    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.
DeserializeВыполняет десериализацию полей объекта из заданного хранилища.
(Унаследован от StorageSerializable)
DeserializeAndGetCoreВыполняет десериализацию полей объекта из заданного хранилища.
(Унаследован от StorageSerializable)
DeserializeCoreВыполняет десериализацию полей объекта из заданного хранилища.
(Переопределяет StorageSerializableDeserializeCore(DictionaryString, 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)
SerializeВыполняет сериализацию полей объекта в заданное хранилище.
(Унаследован от StorageSerializable)
SerializeCoreВыполняет сериализацию полей объекта в заданное хранилище.
(Переопределяет StorageSerializableSerializeCore(DictionaryString, Object))
ToStringReturns a string that represents the current object.
(Унаследован от Object)
ToValidationResultItem Create ValidationResultItem from current object.

См. также