Compartilhar via


DslDefinitionModelSerializationHelper.LoadModel Method

Definition

Loads a DslLibrary instance.

public:
 override Microsoft::VisualStudio::Modeling::DslDefinition::DslLibrary ^ LoadModel(Microsoft::VisualStudio::Modeling::SerializationResult ^ serializationResult, Microsoft::VisualStudio::Modeling::Partition ^ partition, System::String ^ fileName, Microsoft::VisualStudio::Modeling::ISchemaResolver ^ schemaResolver, Microsoft::VisualStudio::Modeling::Validation::ValidationController ^ validationController, Microsoft::VisualStudio::Modeling::ISerializerLocator ^ serializerLocator);
public override Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary LoadModel (Microsoft.VisualStudio.Modeling.SerializationResult serializationResult, Microsoft.VisualStudio.Modeling.Partition partition, string fileName, Microsoft.VisualStudio.Modeling.ISchemaResolver schemaResolver, Microsoft.VisualStudio.Modeling.Validation.ValidationController validationController, Microsoft.VisualStudio.Modeling.ISerializerLocator serializerLocator);
override this.LoadModel : Microsoft.VisualStudio.Modeling.SerializationResult * Microsoft.VisualStudio.Modeling.Partition * string * Microsoft.VisualStudio.Modeling.ISchemaResolver * Microsoft.VisualStudio.Modeling.Validation.ValidationController * Microsoft.VisualStudio.Modeling.ISerializerLocator -> Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary
Public Overrides Function LoadModel (serializationResult As SerializationResult, partition As Partition, fileName As String, schemaResolver As ISchemaResolver, validationController As ValidationController, serializerLocator As ISerializerLocator) As DslLibrary

Parameters

serializationResult
SerializationResult
partition
Partition
fileName
String
schemaResolver
ISchemaResolver
validationController
ValidationController
serializerLocator
ISerializerLocator

Returns

The loaded DslLibrary instance.

Remarks

Replaces the base LoadModel implementation so we ensure the Core domain model definition is loaded too.

Applies to