Compartir a través de


DslDefinitionModelDomainModelSerializerBase Class

Definition

Base class that implements IDomainModelSerializer

public ref class DslDefinitionModelDomainModelSerializerBase abstract : Microsoft::VisualStudio::Modeling::IDomainModelSerializer
public abstract class DslDefinitionModelDomainModelSerializerBase : Microsoft.VisualStudio.Modeling.IDomainModelSerializer
type DslDefinitionModelDomainModelSerializerBase = class
    interface IDomainModelSerializer
Public MustInherit Class DslDefinitionModelDomainModelSerializerBase
Implements IDomainModelSerializer
Inheritance
DslDefinitionModelDomainModelSerializerBase
Derived
Implements

Constructors

DslDefinitionModelDomainModelSerializerBase()

Properties

DomainModelNamespace

The XML namespace used when serializing the domain model

DomainModelType

The type of the domain model

IsSerializable

Returns true: this DSL can be serialized / deserialized directly.

ModelFileExtension

File extension used for model files of this kind of domain model

Methods

CalculateDiagramFileName(String)

Calculates and returns the name of the diagram file for the specified model file

LoadModel(SerializationResult, Partition, String, ISerializerLocator)

Loads a DslLibrary instance and its associated diagram file.

LoadModelAndDiagram(SerializationResult, Partition, String, Partition, String, ISerializerLocator)

Loads a DslLibrary instance and its associated diagram file.

SaveModel(SerializationResult, ModelElement, String, Encoding)

Saves the given model root to the given file, with specified encoding.

SaveModelAndDiagram(SerializationResult, ModelElement, String, ModelElement, String, Encoding)

Saves the given DslLibrary and global::Microsoft.VisualStudio.Modeling.DslDesigner.DslDesignerDiagram to the given files, with specified encoding.

Applies to