Share via


SerializationUtilities.ResolveDomainModels Method

Definition

Resolves XML namespace declarations to domain models and loads the domain models into the store.

public:
 static void ResolveDomainModels(System::Xml::XmlReader ^ reader, Microsoft::VisualStudio::Modeling::ISerializerLocator ^ serializerLocator, Microsoft::VisualStudio::Modeling::Store ^ store);
public static void ResolveDomainModels (System.Xml.XmlReader reader, Microsoft.VisualStudio.Modeling.ISerializerLocator serializerLocator, Microsoft.VisualStudio.Modeling.Store store);
static member ResolveDomainModels : System.Xml.XmlReader * Microsoft.VisualStudio.Modeling.ISerializerLocator * Microsoft.VisualStudio.Modeling.Store -> unit
Public Shared Sub ResolveDomainModels (reader As XmlReader, serializerLocator As ISerializerLocator, store As Store)

Parameters

reader
XmlReader

The XML reader being used to load the model

serializerLocator
ISerializerLocator

The locator instance to use to resolve the namespaces. Can be null.

store
Store

The store into which the domain model definitions will be loaded

Remarks

Extracts the XML namespace declrations from the current node pointed to by the supplied reader and attempts to find the corresponding domain model type. Loads all located domain models into the store.

Applies to