IDomainModelSerializer Interface
Defines the contract for a standard domain model serializer.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
Public Interface IDomainModelSerializer
public interface IDomainModelSerializer
public interface class IDomainModelSerializer
type IDomainModelSerializer = interface end
public interface IDomainModelSerializer
The IDomainModelSerializer type exposes the following members.
Properties
Name | Description | |
---|---|---|
DomainModelNamespace | The XML namespace of the domain model | |
DomainModelType | The type of the domain model that can be serialized | |
IsSerializable | If this property is false, then calling the load / save methods will result in a NotImplementedException. Domain model libraries cannot be serialized directly. | |
ModelFileExtension | The file extension used when serializing instances of the domain model to a file |
Top
Methods
Name | Description | |
---|---|---|
CalculateDiagramFileName | Returns the name of the diagram file that accompanies the supplied model file | |
LoadModel | Loads the model file into the specified partition and returns the root model element. | |
LoadModelAndDiagram | Loads the model and diagram files into the specified partition and returns the root model element. | |
SaveModel | Save the model rooted on the specified element to a file | |
SaveModelAndDiagram | Saves the model and diagram to files |
Top