DslDefinitionModelSerializationHelperBase.SerializationValidationObserver Class
An utility class to collect validation messages during serialization, and store them in serialization result.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Validation.ValidationMessageObserver
Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelSerializationHelperBase.SerializationValidationObserver
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
Protected NotInheritable Class SerializationValidationObserver _
Inherits ValidationMessageObserver _
Implements IDisposable
protected sealed class SerializationValidationObserver : ValidationMessageObserver,
IDisposable
protected ref class SerializationValidationObserver sealed : public ValidationMessageObserver,
IDisposable
[<Sealed>]
type SerializationValidationObserver =
class
inherit ValidationMessageObserver
interface IDisposable
end
protected final class SerializationValidationObserver extends ValidationMessageObserver implements IDisposable
The DslDefinitionModelSerializationHelperBase.SerializationValidationObserver type exposes the following members.
Methods
Name | Description | |
---|---|---|
Dispose | IDisposable.Dispose(). | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnValidationBeginning | Indicates that validation is about to begin. (Inherited from ValidationMessageObserver.) | |
OnValidationEnded | Indicates that validation has ended. (Inherited from ValidationMessageObserver.) | |
OnValidationMessageAdded | Indicates that a validation message has been added. (Inherited from ValidationMessageObserver.) | |
OnValidationMessageRemoved | Indicates that a message has been removed. (Inherited from ValidationMessageObserver.) | |
OnValidationMessagesChangedSummary | Indicates that the list of validation messages has changed. (Inherited from ValidationMessageObserver.) | |
OnValidationMessagesChanging | Indicates that a list of validation messages is changing. (Inherited from ValidationMessageObserver.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.