DslDefinitionModelDomainModelSerializer Class

 

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

Namespace:   Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

System::Object
  Microsoft.VisualStudio.Modeling.DslDefinition::DslDefinitionModelDomainModelSerializerBase
    Microsoft.VisualStudio.Modeling.DslDefinition::DslDefinitionModelDomainModelSerializer

[ExportAttribute((IDomainModelSerializer^::typeid))]
[DomainModelSerializerAttribute((DslDefinitionModelDomainModel^::typeid), 
	"http://schemas.microsoft.com/VisualStudio/2005/DslTools/DslDefinitionModel", 
	"dsl")]
public ref class DslDefinitionModelDomainModelSerializer : DslDefinitionModelDomainModelSerializerBase

NameDescription
System_CAPS_pubpropertyDomainModelNamespace

The XML namespace used when serializing the domain model(Inherited from DslDefinitionModelDomainModelSerializerBase.)

System_CAPS_pubpropertyDomainModelType

The type of the domain model(Inherited from DslDefinitionModelDomainModelSerializerBase.)

System_CAPS_pubpropertyIsSerializable

Returns true: this DSL can be serialized / deserialized directly.(Inherited from DslDefinitionModelDomainModelSerializerBase.)

System_CAPS_pubpropertyModelFileExtension

File extension used for model files of this kind of domain model(Inherited from DslDefinitionModelDomainModelSerializerBase.)

NameDescription
System_CAPS_pubmethodCalculateDiagramFileName(String^)

Calculates and returns the name of the diagram file for the specified model file(Inherited from DslDefinitionModelDomainModelSerializerBase.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLoadModel(SerializationResult^, Partition^, String^, ISerializerLocator^)

Loads a DslLibrary instance and its associated diagram file.(Inherited from DslDefinitionModelDomainModelSerializerBase.)

System_CAPS_pubmethodLoadModelAndDiagram(SerializationResult^, Partition^, String^, Partition^, String^, ISerializerLocator^)

Loads a DslLibrary instance and its associated diagram file.(Inherited from DslDefinitionModelDomainModelSerializerBase.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSaveModel(SerializationResult^, ModelElement^, String^, Encoding^)

Saves the given model root to the given file, with specified encoding.(Inherited from DslDefinitionModelDomainModelSerializerBase.)

System_CAPS_pubmethodSaveModelAndDiagram(SerializationResult^, ModelElement^, String^, ModelElement^, String^, Encoding^)

Saves the given DslLibrary and global::Microsoft.VisualStudio.Modeling.DslDesigner.DslDesignerDiagram to the given files, with specified encoding.(Inherited from DslDefinitionModelDomainModelSerializerBase.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: