public override void doMerge() { foreach (KeyValuePair <string, List <_BusinessProcess> > dictionaryObject in m_dictionaryObject) { ManageXMLCustomObjectMerge m_merge = ManageXMLCustomObjectMerge.getInstance(); CustomObject m_mergeObject = m_merge.getInstanceObject(dictionaryObject.Key); m_mergeObject.BusinessProcesses = dictionaryObject.Value; } }
private void merge(string pathSource, string pathDir, List <IMetadata> MetaDatas) { ConsoleHelper.WriteDoneLine(">> Merging Metadata..."); foreach (IMetadata m_Metadata in MetaDatas) { m_Metadata.doMerge(); } ManageXMLCustomObjectMerge mergeobject = ManageXMLCustomObjectMerge.getInstance(); mergeobject.defaultParameters(pathSource); mergeobject.writeAllInstances(pathDir); ManageXMLWorkflowMerge mergeworkflow = ManageXMLWorkflowMerge.getInstance(); mergeworkflow.defaultParameters(pathSource); mergeworkflow.writeAllInstances(pathDir); }