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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
<DomainModelSerializerAttribute(GetType(CoreDesignSurfaceDomainModel), "https://schemas.microsoft.com/VisualStudio/2008/DslTools/CoreDesignSurface", _
Nothing)> _
<ExportAttribute(GetType(IDomainModelSerializer))> _
Public Class CoreDesignSurfaceDomainModelSerializer _
Inherits CoreDesignSurfaceDomainModelSerializerBase
[DomainModelSerializerAttribute(typeof(CoreDesignSurfaceDomainModel), "https://schemas.microsoft.com/VisualStudio/2008/DslTools/CoreDesignSurface",
null)]
[ExportAttribute(typeof(IDomainModelSerializer))]
public class CoreDesignSurfaceDomainModelSerializer : CoreDesignSurfaceDomainModelSerializerBase
[DomainModelSerializerAttribute(typeof(CoreDesignSurfaceDomainModel), L"https://schemas.microsoft.com/VisualStudio/2008/DslTools/CoreDesignSurface",
nullptr)]
[ExportAttribute(typeof(IDomainModelSerializer))]
public ref class CoreDesignSurfaceDomainModelSerializer : public CoreDesignSurfaceDomainModelSerializerBase
[<DomainModelSerializerAttribute(typeof(CoreDesignSurfaceDomainModel), "https://schemas.microsoft.com/VisualStudio/2008/DslTools/CoreDesignSurface",
null)>]
[<ExportAttribute(typeof(IDomainModelSerializer))>]
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 a hash function for a particular type. (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.