CoreDesignSurfaceDomainModelSerializer Class

Definition

Provides an implementation of the IDomainModelSerializer interface that can be used to serialize / deserialize the CoreDesignSurface domain model.

public ref class CoreDesignSurfaceDomainModelSerializer : Microsoft::VisualStudio::Modeling::Diagrams::CoreDesignSurfaceDomainModelSerializerBase
[Microsoft.VisualStudio.Modeling.DomainModelSerializer(typeof(Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel), "http://schemas.microsoft.com/VisualStudio/2008/DslTools/CoreDesignSurface", null)]
[System.ComponentModel.Composition.Export(typeof(Microsoft.VisualStudio.Modeling.IDomainModelSerializer))]
public class CoreDesignSurfaceDomainModelSerializer : Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModelSerializerBase
[<Microsoft.VisualStudio.Modeling.DomainModelSerializer(typeof(Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModel), "http://schemas.microsoft.com/VisualStudio/2008/DslTools/CoreDesignSurface", null)>]
[<System.ComponentModel.Composition.Export(typeof(Microsoft.VisualStudio.Modeling.IDomainModelSerializer))>]
type CoreDesignSurfaceDomainModelSerializer = class
    inherit CoreDesignSurfaceDomainModelSerializerBase
Public Class CoreDesignSurfaceDomainModelSerializer
Inherits CoreDesignSurfaceDomainModelSerializerBase
Inheritance
CoreDesignSurfaceDomainModelSerializer
Attributes

Remarks

Double-derived class - the default implementation is in CoreDesignSurfaceDomainModelSerializerBase. This class exist so users can customize behavior easily.

Constructors

CoreDesignSurfaceDomainModelSerializer()

Properties

DomainModelNamespace

The XML namespace used when serializing the domain model

(Inherited from CoreDesignSurfaceDomainModelSerializerBase)
DomainModelType

The type of the domain model

(Inherited from CoreDesignSurfaceDomainModelSerializerBase)
IsSerializable

Returns false: Dsl libraries cannot be serialized / deserialized directly.

(Inherited from CoreDesignSurfaceDomainModelSerializerBase)
ModelFileExtension

Returns null: Dsl libraries cannot be serialized / deserialized directly.

(Inherited from CoreDesignSurfaceDomainModelSerializerBase)

Methods

CalculateDiagramFileName(String)

Throws NotImplementedException - Dsl libraries cannot be serialized / deserialized directly.

(Inherited from CoreDesignSurfaceDomainModelSerializerBase)
LoadModel(SerializationResult, Partition, String, ISerializerLocator)

Throws NotImplementedException - Dsl libraries cannot be serialized / deserialized directly.

(Inherited from CoreDesignSurfaceDomainModelSerializerBase)
LoadModelAndDiagram(SerializationResult, Partition, String, Partition, String, ISerializerLocator)

Throws NotImplementedException - Dsl libraries cannot be serialized / deserialized directly.

(Inherited from CoreDesignSurfaceDomainModelSerializerBase)
SaveModel(SerializationResult, ModelElement, String, Encoding)

Throws NotImplementedException - Dsl libraries cannot be serialized / deserialized directly.

(Inherited from CoreDesignSurfaceDomainModelSerializerBase)
SaveModelAndDiagram(SerializationResult, ModelElement, String, ModelElement, String, Encoding)

Throws NotImplementedException - Dsl libraries cannot be serialized / deserialized directly.

(Inherited from CoreDesignSurfaceDomainModelSerializerBase)

Applies to