Example #1
0
        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);
        }
Example #2
0
 public PCMto06(InputModelContainer inputModelContainer, OutputModelContainer outputModelContainer)
 {
     InputModelContainer  = inputModelContainer;
     OutputModelContainer = outputModelContainer;
 }