Click or drag to resize

MergeService Class

This class implements a merge service which is able to merge CAEX documents from different sources into one common document. The merge service adds the libraries from the external referenced file into the target document and updates all references, which use an alias and can be resolved after the merge. If a library, which is used in the external source, also exists in the target document, this library is replaced, if the library version in the external source is newer. If not the existing library is kept. If an InstanceHierarchy in the external source can be identified as an outsourced Master InternalElement, it is tried to add the Master InternalElement back to its original position.
Inheritance Hierarchy
SystemObject
  Aml.Engine.ServicesMergeService

Namespace: Aml.Engine.Services
Assembly: Aml.Engine.Services (in Aml.Engine.Services.dll) Version: 3.2
Syntax
public class MergeService : IMerge, 
	IAMLService

The MergeService type exposes the following members.

Constructors
 NameDescription
Public methodMergeServiceInitializes a new instance of the MergeService class
Top
Methods
 NameDescription
Public methodMerge(CAEXDocument, ExternalReferenceType, String, Boolean) Merges the defined ExternalReference into the provided CAEXDocument.
Public methodMerge(CAEXDocument, ExternalReferenceType, Stream, String, Boolean) Merges the defined ExternalReference into the provided CAEXDocument. The source is loaded from the provided external source stream.
Public methodStatic memberRegister Registers a new instance of a MergeService with the ServiceLocator of the AMLEngine.
Public methodStatic memberUnRegister Unregisters this service
Top
See Also