C# Class nHydrate.Dsl.nHydrateSerializationHelperBase

显示文件 Open project: nHydrate/nHydrate

Public Methods

Method Description
GetSerializedModelString ( global modelRoot, global encoding ) : string

Return the model in XML format

LoadModel ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling store, string fileName, global::Microsoft.VisualStudio.Modeling schemaResolver, global::Microsoft.VisualStudio.Modeling.Validation validationController, global::Microsoft.VisualStudio.Modeling serializerLocator ) : nHydrateModel

Loads a nHydrateModel instance into the default partition of the given store.

LoadModel ( global::Microsoft.VisualStudio.Modeling store, string fileName, global::Microsoft.VisualStudio.Modeling schemaResolver, global::Microsoft.VisualStudio.Modeling.Validation validationController, global::Microsoft.VisualStudio.Modeling serializerLocator ) : nHydrateModel

Loads a nHydrateModel instance into the default partition of the given store, and ignore serialization result.

LoadModelAndDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling store, string modelFileName, string diagramFileName, global::Microsoft.VisualStudio.Modeling schemaResolver, global::Microsoft.VisualStudio.Modeling.Validation validationController, global::Microsoft.VisualStudio.Modeling serializerLocator ) : nHydrateModel

Loads a nHydrateModel instance and its associated diagram file into the default partition of the given store.

LoadModelAndDiagram ( global::Microsoft.VisualStudio.Modeling store, string modelFileName, string diagramFileName, global::Microsoft.VisualStudio.Modeling schemaResolver, global::Microsoft.VisualStudio.Modeling.Validation validationController, global::Microsoft.VisualStudio.Modeling serializerLocator ) : nHydrateModel

Loads a nHydrateModel instance and its associated diagram file into the default partition of the given store, and ignore serialization result.

SaveDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateDiagram diagram, string diagramFileName ) : void

Saves the given diagram to the given file, with default encoding (UTF-8), and optional properties with default value will not be written out.

SaveDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateDiagram diagram, string diagramFileName, bool writeOptionalPropertiesWithDefaultValue ) : void

Saves the given diagram to the given file, with default encoding (UTF-8).

SaveModel ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateModel modelRoot, string fileName ) : void

Saves the given model root to the given file, with default encoding (UTF-8), and optional properties with default value will not be written out.

SaveModel ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateModel modelRoot, string fileName, bool writeOptionalPropertiesWithDefaultValue ) : void

Saves the given model to the given file, with default encoding (UTF-8).

SaveModelAndDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateModel modelRoot, string modelFileName, nHydrateDiagram diagram, string diagramFileName ) : void

Saves the given diagram to the given file, with default encoding (UTF-8), and optional properties with default value will not be written out.

SaveModelAndDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateModel modelRoot, string modelFileName, nHydrateDiagram diagram, string diagramFileName, bool writeOptionalPropertiesWithDefaultValue ) : void

Saves the given diagram to the given file, with default encoding (UTF-8).

WriteRootElement ( global::Microsoft.VisualStudio.Modeling serializationContext, global::Microsoft.VisualStudio.Modeling rootElement, global writer ) : void

Write an element as the root of XML.

Protected Methods

Method Description
CheckVersion ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader ) : void

Checks the version of the file being read.

CreateModelHelper ( global::Microsoft.VisualStudio.Modeling modelPartition ) : nHydrateModel

Helper method to create and initialize a new nHydrateModel.

GetDirectory ( global::Microsoft.VisualStudio.Modeling store ) : DslModeling::DomainXmlSerializerDirectory

Return the directory of serializers to use

GetMonikerResolvers ( global::Microsoft.VisualStudio.Modeling store ) : DslModeling::IMonikerResolver>.global::System.Collections.Generic.IDictionary

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

InitializeSerialization ( global::Microsoft.VisualStudio.Modeling store ) : void

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

InitializeSerializationContext ( global::Microsoft.VisualStudio.Modeling partition, global::Microsoft.VisualStudio.Modeling serializationContext, bool isLoading ) : void
ReadExtensions ( global::Microsoft.VisualStudio.Modeling serializationContext, global::Microsoft.VisualStudio.Modeling element, global reader ) : void

Read any extension data written inside this XML element

The method reads any extension element data, regardless of whether it relates the current element or not. There may be no additional data for the specified element.

ReadRootElement ( global::Microsoft.VisualStudio.Modeling serializationContext, global::Microsoft.VisualStudio.Modeling rootElement, global reader, global::Microsoft.VisualStudio.Modeling schemaResolver ) : void

Read an element from the root of XML.

ResolveSchema ( string targetNamespace, global schemaSet, global::Microsoft.VisualStudio.Modeling schemaResolver, global reader, global::Microsoft.VisualStudio.Modeling serializationContext ) : bool

Attempts to resolve the supplied schema namespace

If the schema can be resolved it is added to the supplied schema set. Otherwise, a warning will be written to serializationContext.

TryCreateValidatingReader ( global::Microsoft.VisualStudio.Modeling schemaResolver, global reader, global::Microsoft.VisualStudio.Modeling serializationContext ) : global::System.Xml.XmlReader

Attempts to return a validating XML reader

TryGetEncoding ( global reader, global &encoding ) : bool

Attempts to return the encoding used by the reader.

The reader will be positioned at the start of the document when calling this method.

WriteExtensions ( global::Microsoft.VisualStudio.Modeling serializationContext, global::Microsoft.VisualStudio.Modeling element, global writer ) : void

Write extension element data inside the current XML element

The default implemenation is to write out all non-embedded extension elements, regardless of whether they relate to the current element or not. The additional data should be written as a series of one or more XML elements.

nHydrateSerializationHelperBase ( ) : System.Linq

Constructor

Private Methods

Method Description
CheckForOrphanedShapes ( global::Microsoft.VisualStudio.Modeling.Diagrams diagram, global::Microsoft.VisualStudio.Modeling serializationResult ) : void
CreateDiagramHelper ( global::Microsoft.VisualStudio.Modeling diagramPartition, global::Microsoft.VisualStudio.Modeling modelRoot ) : nHydrateDiagram
CreateXmlReaderSettings ( global::Microsoft.VisualStudio.Modeling serializationContext, bool isDiagram ) : global::System.Xml.XmlReaderSettings

Creates and returns the settings used when reading a file.

CreateXmlWriterSettings ( global::Microsoft.VisualStudio.Modeling serializationContext, bool isDiagram, global encoding ) : global::System.Xml.XmlWriterSettings

Creates and returns the settings used when writing a file.

InternalSaveDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateDiagram diagram, string diagramFileName, global encoding, bool writeOptionalPropertiesWithDefaultValue ) : global::System.IO.MemoryStream
InternalSaveModel ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateModel modelRoot, string fileName, global encoding, bool writeOptionalPropertiesWithDefaultValue ) : global::System.IO.MemoryStream
LoadModelAndDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling modelPartition, string modelFileName, global::Microsoft.VisualStudio.Modeling diagramPartition, string diagramFileName, global::Microsoft.VisualStudio.Modeling schemaResolver, global::Microsoft.VisualStudio.Modeling.Validation validationController, global::Microsoft.VisualStudio.Modeling serializerLocator ) : nHydrateModel
OnPostLoadModel ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling partition, string fileName, nHydrateModel modelRoot ) : void

Customize Model Loading.

OnPostLoadModelAndDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling modelPartition, string modelFileName, global::Microsoft.VisualStudio.Modeling diagramPartition, string diagramFileName, nHydrateModel modelRoot, nHydrateDiagram diagram ) : void

Customize Model and Diagram Loading.

ReadAttribute ( global::Microsoft.VisualStudio.Modeling serializationContext, global::Microsoft.VisualStudio.Modeling element, global reader, string attributeName ) : string

Reads and returns the value of an attribute.

This is an extension point to allow customisation e.g. to decode the data being written to the file.

ReadElementContentAsString ( global::Microsoft.VisualStudio.Modeling serializationContext, global::Microsoft.VisualStudio.Modeling element, global reader ) : string

Reads and returns the value of an element.

This is an extension point to allow customisation e.g. to decode the data being written to the file.

SaveDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateDiagram diagram, string diagramFileName, global encoding, bool writeOptionalPropertiesWithDefaultValue ) : void
SaveModel ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateModel modelRoot, string fileName, global encoding, bool writeOptionalPropertiesWithDefaultValue ) : void
SaveModelAndDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateModel modelRoot, string modelFileName, nHydrateDiagram diagram, string diagramFileName, global encoding, bool writeOptionalPropertiesWithDefaultValue ) : void
WriteAttributeString ( global::Microsoft.VisualStudio.Modeling serializationContext, global::Microsoft.VisualStudio.Modeling element, global writer, string attributeName, string attributeValue ) : void

Writes the specified attribute to the file.

This is an extension point to allow customisation e.g. to encode the data being written to the file.

WriteElementString ( global::Microsoft.VisualStudio.Modeling serializationContext, global::Microsoft.VisualStudio.Modeling element, global writer, string elementName, string elementValue ) : void

Writes the specified element to the file.

This is an extension point to allow customisation e.g. to encode the data being written to the file.

Method Details

CheckVersion() protected method

Checks the version of the file being read.
protected CheckVersion ( global::Microsoft.VisualStudio.Modeling serializationContext, global reader ) : void
serializationContext global::Microsoft.VisualStudio.Modeling Serialization context.
reader global Reader for the file being read. The reader is positioned at the open tag of the root element being read.
return void

CreateModelHelper() protected method

Helper method to create and initialize a new nHydrateModel.
protected CreateModelHelper ( global::Microsoft.VisualStudio.Modeling modelPartition ) : nHydrateModel
modelPartition global::Microsoft.VisualStudio.Modeling
return nHydrateModel

GetDirectory() protected method

Return the directory of serializers to use
protected GetDirectory ( global::Microsoft.VisualStudio.Modeling store ) : DslModeling::DomainXmlSerializerDirectory
store global::Microsoft.VisualStudio.Modeling
return DslModeling::DomainXmlSerializerDirectory

GetMonikerResolvers() protected method

This method returns the moniker resolvers for each of the domain models in the store
protected GetMonikerResolvers ( global::Microsoft.VisualStudio.Modeling store ) : DslModeling::IMonikerResolver>.global::System.Collections.Generic.IDictionary
store global::Microsoft.VisualStudio.Modeling Store on which the moniker resolvers are set up.
return DslModeling::IMonikerResolver>.global::System.Collections.Generic.IDictionary

GetSerializedModelString() public method

Return the model in XML format
public GetSerializedModelString ( global modelRoot, global encoding ) : string
modelRoot global Root instance to be saved.
encoding global Encoding to use when saving the root instance.
return string

InitializeSerialization() protected method

Ensure that moniker resolvers and domain element serializers are installed properly on the given store, so that deserialization can be carried out correctly.
protected InitializeSerialization ( global::Microsoft.VisualStudio.Modeling store ) : void
store global::Microsoft.VisualStudio.Modeling Store on which moniker resolvers will be set up.
return void

InitializeSerializationContext() protected method

protected InitializeSerializationContext ( global::Microsoft.VisualStudio.Modeling partition, global::Microsoft.VisualStudio.Modeling serializationContext, bool isLoading ) : void
partition global::Microsoft.VisualStudio.Modeling The partition being serialized.
serializationContext global::Microsoft.VisualStudio.Modeling The current serialization context instance.
isLoading bool Flag to indicate whether the file is being loaded or saved.
return void

LoadModel() public method

Loads a nHydrateModel instance into the default partition of the given store.
public LoadModel ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling store, string fileName, global::Microsoft.VisualStudio.Modeling schemaResolver, global::Microsoft.VisualStudio.Modeling.Validation validationController, global::Microsoft.VisualStudio.Modeling serializerLocator ) : nHydrateModel
serializationResult global::Microsoft.VisualStudio.Modeling Stores serialization result from the load operation.
store global::Microsoft.VisualStudio.Modeling The new nHydrateModel instance will be created into the default partition of this store.
fileName string Name of the file from which the nHydrateModel instance will be deserialized.
schemaResolver global::Microsoft.VisualStudio.Modeling /// An ISchemaResolver that allows the serializer to do schema validation on the root element (and everything inside it). /// If null is passed, schema validation will not be performed. ///
validationController global::Microsoft.VisualStudio.Modeling.Validation /// A ValidationController that will be used to do load-time validation (validations with validation category "Load"). If null /// is passed, load-time validation will not be performed. ///
serializerLocator global::Microsoft.VisualStudio.Modeling /// An ISerializerLocator that will be used to locate any additional domain model types required to load the model. Can be null. ///
return nHydrateModel

LoadModel() public method

Loads a nHydrateModel instance into the default partition of the given store, and ignore serialization result.
public LoadModel ( global::Microsoft.VisualStudio.Modeling store, string fileName, global::Microsoft.VisualStudio.Modeling schemaResolver, global::Microsoft.VisualStudio.Modeling.Validation validationController, global::Microsoft.VisualStudio.Modeling serializerLocator ) : nHydrateModel
store global::Microsoft.VisualStudio.Modeling The new nHydrateModel instance will be created into the default partition of this store.
fileName string Name of the file from which the nHydrateModel instance will be deserialized.
schemaResolver global::Microsoft.VisualStudio.Modeling /// An ISchemaResolver that allows the serializer to do schema validation on the root element (and everything inside it). /// If null is passed, schema validation will not be performed. ///
validationController global::Microsoft.VisualStudio.Modeling.Validation /// A ValidationController that will be used to do load-time validation (validations with validation category "Load"). If null /// is passed, load-time validation will not be performed. ///
serializerLocator global::Microsoft.VisualStudio.Modeling /// An ISerializerLocator that will be used to locate any additional domain model types required to load the model. Can be null. ///
return nHydrateModel

LoadModelAndDiagram() public method

Loads a nHydrateModel instance and its associated diagram file into the default partition of the given store.
public LoadModelAndDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, global::Microsoft.VisualStudio.Modeling store, string modelFileName, string diagramFileName, global::Microsoft.VisualStudio.Modeling schemaResolver, global::Microsoft.VisualStudio.Modeling.Validation validationController, global::Microsoft.VisualStudio.Modeling serializerLocator ) : nHydrateModel
serializationResult global::Microsoft.VisualStudio.Modeling Stores serialization result from the load operation.
store global::Microsoft.VisualStudio.Modeling The new nHydrateModel instance will be created into the default partition of this store.
modelFileName string Name of the file from which the nHydrateModel instance will be deserialized.
diagramFileName string Name of the file from which the nHydrateDiagram instance will be deserialized.
schemaResolver global::Microsoft.VisualStudio.Modeling /// An ISchemaResolver that allows the serializer to do schema validation on the root element (and everything inside it). /// If null is passed, schema validation will not be performed. ///
validationController global::Microsoft.VisualStudio.Modeling.Validation /// A ValidationController that will be used to do load-time validation (validations with validation category "Load"). If null /// is passed, load-time validation will not be performed. ///
serializerLocator global::Microsoft.VisualStudio.Modeling /// An ISerializerLocator that will be used to locate any additional domain model types required to load the model. Can be null. ///
return nHydrateModel

LoadModelAndDiagram() public method

Loads a nHydrateModel instance and its associated diagram file into the default partition of the given store, and ignore serialization result.
public LoadModelAndDiagram ( global::Microsoft.VisualStudio.Modeling store, string modelFileName, string diagramFileName, global::Microsoft.VisualStudio.Modeling schemaResolver, global::Microsoft.VisualStudio.Modeling.Validation validationController, global::Microsoft.VisualStudio.Modeling serializerLocator ) : nHydrateModel
store global::Microsoft.VisualStudio.Modeling The new nHydrateModel instance will be created into the default partition of this store.
modelFileName string Name of the file from which the nHydrateModel instance will be deserialized.
diagramFileName string Name of the file from which the nHydrateDiagram instance will be deserialized.
schemaResolver global::Microsoft.VisualStudio.Modeling /// An ISchemaResolver that allows the serializer to do schema validation on the root element (and everything inside it). /// If null is passed, schema validation will not be performed. ///
validationController global::Microsoft.VisualStudio.Modeling.Validation /// A ValidationController that will be used to do load-time validation (validations with validation category "Load"). If null /// is passed, load-time validation will not be performed. ///
serializerLocator global::Microsoft.VisualStudio.Modeling /// An ISerializerLocator that will be used to locate any additional domain model types required to load the model. Can be null. ///
return nHydrateModel

ReadExtensions() protected method

Read any extension data written inside this XML element
The method reads any extension element data, regardless of whether it relates the current element or not. There may be no additional data for the specified element.
protected ReadExtensions ( global::Microsoft.VisualStudio.Modeling serializationContext, global::Microsoft.VisualStudio.Modeling element, global reader ) : void
serializationContext global::Microsoft.VisualStudio.Modeling The current serialization context instance.
element global::Microsoft.VisualStudio.Modeling In-memory ModelElement instance that is currently being read.
reader global Reader for the file being read. The reader is positioned after the attributes of the specified element.
return void

ReadRootElement() protected method

Read an element from the root of XML.
protected ReadRootElement ( global::Microsoft.VisualStudio.Modeling serializationContext, global::Microsoft.VisualStudio.Modeling rootElement, global reader, global::Microsoft.VisualStudio.Modeling schemaResolver ) : void
serializationContext global::Microsoft.VisualStudio.Modeling Serialization context.
rootElement global::Microsoft.VisualStudio.Modeling In-memory element instance that will get the deserialized data.
reader global XmlReader to read serialized data from.
schemaResolver global::Microsoft.VisualStudio.Modeling An ISchemaResolver that allows the serializer to do schema validation on the root element (and everything inside it).
return void

ResolveSchema() protected static method

Attempts to resolve the supplied schema namespace
If the schema can be resolved it is added to the supplied schema set. Otherwise, a warning will be written to serializationContext.
protected static ResolveSchema ( string targetNamespace, global schemaSet, global::Microsoft.VisualStudio.Modeling schemaResolver, global reader, global::Microsoft.VisualStudio.Modeling serializationContext ) : bool
targetNamespace string
schemaSet global
schemaResolver global::Microsoft.VisualStudio.Modeling
reader global
serializationContext global::Microsoft.VisualStudio.Modeling
return bool

SaveDiagram() public method

Saves the given diagram to the given file, with default encoding (UTF-8), and optional properties with default value will not be written out.
public SaveDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateDiagram diagram, string diagramFileName ) : void
serializationResult global::Microsoft.VisualStudio.Modeling Stores serialization result from the save operation.
diagram nHydrateDiagram nHydrateDiagram to be saved.
diagramFileName string Name of the file in which the diagram will be saved.
return void

SaveDiagram() public method

Saves the given diagram to the given file, with default encoding (UTF-8).
public SaveDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateDiagram diagram, string diagramFileName, bool writeOptionalPropertiesWithDefaultValue ) : void
serializationResult global::Microsoft.VisualStudio.Modeling Stores serialization result from the save operation.
diagram nHydrateDiagram nHydrateDiagram to be saved.
diagramFileName string Name of the file in which the diagram will be saved.
writeOptionalPropertiesWithDefaultValue bool Whether optional properties with default value will be saved.
return void

SaveModel() public method

Saves the given model root to the given file, with default encoding (UTF-8), and optional properties with default value will not be written out.
public SaveModel ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateModel modelRoot, string fileName ) : void
serializationResult global::Microsoft.VisualStudio.Modeling Stores serialization result from the save operation.
modelRoot nHydrateModel nHydrateModel instance to be saved.
fileName string Name of the file in which the nHydrateModel instance will be saved.
return void

SaveModel() public method

Saves the given model to the given file, with default encoding (UTF-8).
public SaveModel ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateModel modelRoot, string fileName, bool writeOptionalPropertiesWithDefaultValue ) : void
serializationResult global::Microsoft.VisualStudio.Modeling Stores serialization result from the save operation.
modelRoot nHydrateModel nHydrateModel instance to be saved.
fileName string Name of the file in which the nHydrateModel instance will be saved.
writeOptionalPropertiesWithDefaultValue bool Whether optional properties with default value will be saved.
return void

SaveModelAndDiagram() public method

Saves the given diagram to the given file, with default encoding (UTF-8), and optional properties with default value will not be written out.
public SaveModelAndDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateModel modelRoot, string modelFileName, nHydrateDiagram diagram, string diagramFileName ) : void
serializationResult global::Microsoft.VisualStudio.Modeling Stores serialization result from the save operation.
modelRoot nHydrateModel nHydrateModel instance to be saved.
modelFileName string Name of the file in which the CanonicalSampleRoot instance will be saved.
diagram nHydrateDiagram nHydrateDiagram to be saved.
diagramFileName string Name of the file in which the diagram will be saved.
return void

SaveModelAndDiagram() public method

Saves the given diagram to the given file, with default encoding (UTF-8).
public SaveModelAndDiagram ( global::Microsoft.VisualStudio.Modeling serializationResult, nHydrateModel modelRoot, string modelFileName, nHydrateDiagram diagram, string diagramFileName, bool writeOptionalPropertiesWithDefaultValue ) : void
serializationResult global::Microsoft.VisualStudio.Modeling Stores serialization result from the save operation.
modelRoot nHydrateModel nHydrateModel instance to be saved.
modelFileName string Name of the file in which the CanonicalSampleRoot instance will be saved.
diagram nHydrateDiagram nHydrateDiagram to be saved.
diagramFileName string Name of the file in which the diagram will be saved.
writeOptionalPropertiesWithDefaultValue bool Whether optional properties with default value will be saved.
return void

TryCreateValidatingReader() protected method

Attempts to return a validating XML reader
protected TryCreateValidatingReader ( global::Microsoft.VisualStudio.Modeling schemaResolver, global reader, global::Microsoft.VisualStudio.Modeling serializationContext ) : global::System.Xml.XmlReader
schemaResolver global::Microsoft.VisualStudio.Modeling
reader global
serializationContext global::Microsoft.VisualStudio.Modeling
return global::System.Xml.XmlReader

TryGetEncoding() protected method

Attempts to return the encoding used by the reader.
The reader will be positioned at the start of the document when calling this method.
protected TryGetEncoding ( global reader, global &encoding ) : bool
reader global
encoding global
return bool

WriteExtensions() protected method

Write extension element data inside the current XML element
The default implemenation is to write out all non-embedded extension elements, regardless of whether they relate to the current element or not. The additional data should be written as a series of one or more XML elements.
protected WriteExtensions ( global::Microsoft.VisualStudio.Modeling serializationContext, global::Microsoft.VisualStudio.Modeling element, global writer ) : void
serializationContext global::Microsoft.VisualStudio.Modeling The current serialization context instance.
element global::Microsoft.VisualStudio.Modeling The element whose attributes have just been written.
writer global XmlWriter to write serialized data to.
return void

WriteRootElement() public method

Write an element as the root of XML.
public WriteRootElement ( global::Microsoft.VisualStudio.Modeling serializationContext, global::Microsoft.VisualStudio.Modeling rootElement, global writer ) : void
serializationContext global::Microsoft.VisualStudio.Modeling Serialization context.
rootElement global::Microsoft.VisualStudio.Modeling Root element instance that will be serialized.
writer global XmlWriter to write serialized data to.
return void

nHydrateSerializationHelperBase() protected method

Constructor
protected nHydrateSerializationHelperBase ( ) : System.Linq
return System.Linq