Share via


DslDefinitionModelDomainModelSerializerBase Class

Base class that implements IDomainModelSerializer

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModelSerializerBase
    Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModelSerializer

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

Syntax

'Declaration
Public MustInherit Class DslDefinitionModelDomainModelSerializerBase _
    Implements IDomainModelSerializer
public abstract class DslDefinitionModelDomainModelSerializerBase : IDomainModelSerializer
public ref class DslDefinitionModelDomainModelSerializerBase abstract : IDomainModelSerializer
[<AbstractClass>]
type DslDefinitionModelDomainModelSerializerBase =  
    class 
        interface IDomainModelSerializer 
    end
public abstract class DslDefinitionModelDomainModelSerializerBase implements IDomainModelSerializer

The DslDefinitionModelDomainModelSerializerBase type exposes the following members.

Constructors

  Name Description
Protected method DslDefinitionModelDomainModelSerializerBase

Top

Properties

  Name Description
Public property DomainModelNamespace The XML namespace used when serializing the domain model
Public property DomainModelType The type of the domain model
Public property IsSerializable Returns true: this DSL can be serialized / deserialized directly.
Public property ModelFileExtension File extension used for model files of this kind of domain model

Top

Methods

  Name Description
Public method CalculateDiagramFileName Calculates and returns the name of the diagram file for the specified model file
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method LoadModel Loads a DslLibrary instance and its associated diagram file.
Public method LoadModelAndDiagram Loads a DslLibrary instance and its associated diagram file.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SaveModel Saves the given model root to the given file, with specified encoding.
Public method SaveModelAndDiagram Saves the given DslLibrary and global::Microsoft.VisualStudio.Modeling.DslDesigner.DslDesignerDiagram to the given files, with specified encoding.
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