Bagikan melalui


DslDefinitionModelSerializationHelperBase.SerializationValidationObserver Class

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

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Modeling.Validation.ValidationMessageObserver
    Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelSerializationHelperBase.SerializationValidationObserver

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
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
Public method Dispose IDisposable.Dispose().
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Modeling.DslDefinition Namespace