public static Model Transform(Model pcmModel, ChangePropagationMode changePropagation) { var result = new Model(); var inputContainer = new PcmToMM06.InputModelContainer(pcmModel); var outputContainer = new PcmToMM06.OutputModelContainer(result); var transformation = new PcmToMM06.PCMto06(inputContainer, outputContainer); transformation.Synchronize(transformation.SynchronizationRule <PcmToMM06.PCMto06.Model2ModelMainRule>(), ref inputContainer, ref outputContainer, NMF.Synchronizations.SynchronizationDirection.LeftToRight, changePropagation); return(result); }
public PCMto06(InputModelContainer inputModelContainer, OutputModelContainer outputModelContainer) { InputModelContainer = inputModelContainer; OutputModelContainer = outputModelContainer; }