Click or drag to resize

ExternalReferenceResolverLoadOrGetReferencedDocument(ExternalReferenceType) Method

This method is used to load an outsourced CAEX document. The external representation for that document is defined in the provided ExternalReference object. The CAEXDocument is loaded as a new 'stand alone' document, which means that no libraries of the loaded document are merged to the original referencing document. The ExternalReference is not changed and all external references in the original document which use the alias name in a path- or id-reference will not change too. A merge of documents can only be requested by a IMerge service.

Namespace: Aml.Engine.Services
Assembly: Aml.Engine.Services (in Aml.Engine.Services.dll) Version: 3.2
Syntax
public (CAEXDocument Document, string Message) LoadOrGetReferencedDocument(
	ExternalReferenceType externalReference
)

Parameters

externalReference  ExternalReferenceType
the ExternalReference object

Return Value

ValueTupleCAEXDocument, String
If the ExternalReference doesn't have an alias, the document is not loaded. If a referenced document for the alias already exists, the existing document is returned.

Implements

IExternalReferenceResolverLoadOrGetReferencedDocument(ExternalReferenceType)
See Also