次の方法で共有


IDomainModelSerializer Interface

Definition

Defines the contract for a standard domain model serializer.

public interface class IDomainModelSerializer
public interface IDomainModelSerializer
type IDomainModelSerializer = interface
Public Interface IDomainModelSerializer
Derived

Properties

DomainModelNamespace

The XML namespace of the domain model

DomainModelType

The type of the domain model that can be serialized

IsSerializable

Returns a flag indicating whether the domain model can be serialized directly or not.

ModelFileExtension

The file extension used when serializing instances of the domain model to a file

Methods

CalculateDiagramFileName(String)

Returns the name of the diagram file that accompanies the supplied model file

LoadModel(SerializationResult, Partition, String, ISerializerLocator)

Loads the model file into the specified partition and returns the root model element.

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

Loads the model and diagram files into the specified partition and returns the root model element.

SaveModel(SerializationResult, ModelElement, String, Encoding)

Save the model rooted on the specified element to a file

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

Saves the model and diagram to files

Applies to