SerializationUtilities.ResolveDomainModels Method
Resolves XML namespace declarations to domain models and loads the domain models into the store.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Dichiarazione
Public Shared Sub ResolveDomainModels ( _
reader As XmlReader, _
serializerLocator As ISerializerLocator, _
store As Store _
)
public static void ResolveDomainModels(
XmlReader reader,
ISerializerLocator serializerLocator,
Store store
)
public:
static void ResolveDomainModels(
XmlReader^ reader,
ISerializerLocator^ serializerLocator,
Store^ store
)
static member ResolveDomainModels :
reader:XmlReader *
serializerLocator:ISerializerLocator *
store:Store -> unit
public static function ResolveDomainModels(
reader : XmlReader,
serializerLocator : ISerializerLocator,
store : Store
)
Parameters
- reader
Type: System.Xml.XmlReader
The XML reader being used to load the model
- serializerLocator
Type: Microsoft.VisualStudio.Modeling.ISerializerLocator
The locator instance to use to resolve the namespaces. Can be null.
- store
Type: Microsoft.VisualStudio.Modeling.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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.