CoreDesignSurfaceDomainModelSerializer Class
Provides an implementation of the IDomainModelSerializer interface that can be used to serialize / deserialize the CoreDesignSurface domain model.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModelSerializerBase
Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceDomainModelSerializer
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
<ExportAttribute(GetType(IDomainModelSerializer))> _
<DomainModelSerializerAttribute(GetType(CoreDesignSurfaceDomainModel), "https://schemas.microsoft.com/VisualStudio/2008/DslTools/CoreDesignSurface", _
Nothing)> _
Public Class CoreDesignSurfaceDomainModelSerializer _
Inherits CoreDesignSurfaceDomainModelSerializerBase
[ExportAttribute(typeof(IDomainModelSerializer))]
[DomainModelSerializerAttribute(typeof(CoreDesignSurfaceDomainModel), "https://schemas.microsoft.com/VisualStudio/2008/DslTools/CoreDesignSurface",
null)]
public class CoreDesignSurfaceDomainModelSerializer : CoreDesignSurfaceDomainModelSerializerBase
[ExportAttribute(typeof(IDomainModelSerializer))]
[DomainModelSerializerAttribute(typeof(CoreDesignSurfaceDomainModel), L"https://schemas.microsoft.com/VisualStudio/2008/DslTools/CoreDesignSurface",
nullptr)]
public ref class CoreDesignSurfaceDomainModelSerializer : public CoreDesignSurfaceDomainModelSerializerBase
[<ExportAttribute(typeof(IDomainModelSerializer))>]
[<DomainModelSerializerAttribute(typeof(CoreDesignSurfaceDomainModel), "https://schemas.microsoft.com/VisualStudio/2008/DslTools/CoreDesignSurface",
null)>]
type CoreDesignSurfaceDomainModelSerializer =
class
inherit CoreDesignSurfaceDomainModelSerializerBase
end
public class CoreDesignSurfaceDomainModelSerializer extends CoreDesignSurfaceDomainModelSerializerBase
The CoreDesignSurfaceDomainModelSerializer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CoreDesignSurfaceDomainModelSerializer |
Top
Properties
Name | Description | |
---|---|---|
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.) |
Top
Methods
Name | Description | |
---|---|---|
CalculateDiagramFileName | Throws NotImplementedException - Dsl libraries cannot be serialized / deserialized directly. (Inherited from CoreDesignSurfaceDomainModelSerializerBase.) | |
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 the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LoadModel | Throws NotImplementedException - Dsl libraries cannot be serialized / deserialized directly. (Inherited from CoreDesignSurfaceDomainModelSerializerBase.) | |
LoadModelAndDiagram | Throws NotImplementedException - Dsl libraries cannot be serialized / deserialized directly. (Inherited from CoreDesignSurfaceDomainModelSerializerBase.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SaveModel | Throws NotImplementedException - Dsl libraries cannot be serialized / deserialized directly. (Inherited from CoreDesignSurfaceDomainModelSerializerBase.) | |
SaveModelAndDiagram | Throws NotImplementedException - Dsl libraries cannot be serialized / deserialized directly. (Inherited from CoreDesignSurfaceDomainModelSerializerBase.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
Double-derived class - the default implementation is in CoreDesignSurfaceDomainModelSerializerBase. This class exist so users can customize behavior easily.
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.