Share via


DslDefinitionModelSerializationHelperBase.SerializationValidationObserver Class

Definition

An utility class to collect validation messages during serialization, and store them in serialization result.

protected: ref class DslDefinitionModelSerializationHelperBase::SerializationValidationObserver sealed : Microsoft::VisualStudio::Modeling::Validation::ValidationMessageObserver, IDisposable
protected sealed class DslDefinitionModelSerializationHelperBase.SerializationValidationObserver : Microsoft.VisualStudio.Modeling.Validation.ValidationMessageObserver, IDisposable
Protected NotInheritable Class DslDefinitionModelSerializationHelperBase.SerializationValidationObserver
Inherits ValidationMessageObserver
Implements IDisposable
Inheritance
DslDefinitionModelSerializationHelperBase.SerializationValidationObserver
Implements

Methods

Dispose()

IDisposable.Dispose().

Finalize()

Destructor

OnValidationBeginning(ValidationContext)

Overriddable method to capture the validation beginning stats

(Inherited from ValidationMessageObserver)
OnValidationEnded(ValidationContext)

Overriddable method to capture the validation ended notification.

(Inherited from ValidationMessageObserver)
OnValidationMessageAdded(ValidationMessage)

Called with validation messages are added.

OnValidationMessageRemoved(ValidationMessage)

Override to process each message removed after the controller finishes the constraint validation.

(Inherited from ValidationMessageObserver)
OnValidationMessagesChangedSummary(ReadOnlyCollection<ValidationMessage>, ReadOnlyCollection<ValidationMessage>)

Override to process a summary of the the change to the message collection.

(Inherited from ValidationMessageObserver)
OnValidationMessagesChanging(ReadOnlyCollection<ValidationMessage>, ReadOnlyCollection<ValidationMessage>, ReadOnlyCollection<ValidationMessage>, ReadOnlyCollection<ValidationMessage>)

Override to process a change to the message collection.

(Inherited from ValidationMessageObserver)

Applies to