Udostępnij za pośrednictwem


CoreDesignSurfaceSerializationHelper Class

Definition

Helper class for serializing and deserializing CoreDesignSurface models.

public ref class CoreDesignSurfaceSerializationHelper sealed : Microsoft::VisualStudio::Modeling::Diagrams::CoreDesignSurfaceSerializationHelperBase
public sealed class CoreDesignSurfaceSerializationHelper : Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceSerializationHelperBase
type CoreDesignSurfaceSerializationHelper = class
    inherit CoreDesignSurfaceSerializationHelperBase
Public NotInheritable Class CoreDesignSurfaceSerializationHelper
Inherits CoreDesignSurfaceSerializationHelperBase
Inheritance
CoreDesignSurfaceSerializationHelper

Properties

Instance

Singleton instance.

Methods

GetDirectory(Store)

Return the directory of serializers to use

(Inherited from CoreDesignSurfaceSerializationHelperBase)
GetMonikerResolvers(Store)

This method returns the moniker resolvers for each of the domain models in the store

(Inherited from CoreDesignSurfaceSerializationHelperBase)
InitializeSerialization(Store)

Ensure that moniker resolvers and domain element serializers are installed properly on the given store, so that deserialization can be carried out correctly.

(Inherited from CoreDesignSurfaceSerializationHelperBase)
InitializeSerializationContext(Partition, SerializationContext, Boolean) (Inherited from CoreDesignSurfaceSerializationHelperBase)
ReadExtensions(SerializationContext, ModelElement, XmlReader)

Read any extension data written inside this XML element

(Inherited from CoreDesignSurfaceSerializationHelperBase)
WriteExtensions(SerializationContext, ModelElement, XmlWriter)

Write extension element data inside the current XML element

(Inherited from CoreDesignSurfaceSerializationHelperBase)

Applies to