public override void doMerge() { foreach (KeyValuePair <string, List <Rules> > dictionaryObject in m_dictionaryObject) { ManageXMLWorkflowMerge m_merge = ManageXMLWorkflowMerge.getInstance(); Workflow m_mergeObject = m_merge.getInstanceObject(dictionaryObject.Key); m_mergeObject.Rules = 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); }