Beispiel #1
0
        public DecisionsFramework.Design.Flow.FlowStep ConvertStep(ConversionData allConvertData, ConvertedStep stepToConvert)
        {
            InvokeMethodStep ims = new InvokeMethodStep("DecisionsFramework.Design.Flow.CoreSteps.StandardSteps.ObjectSteps", "ObjectIsNull", null);

            FlowStep fs = new FlowStep(ims);

            fs.Name = stepToConvert.StepName;
            return(fs);
        }
Beispiel #2
0
        public DecisionsFramework.Design.Flow.FlowStep ConvertStep(ConversionData allConvertData, ConvertedStep stepToConvert)
        {
            // JoinStrings(string[] source, string separator
            InvokeMethodStep ims = new InvokeMethodStep("DecisionsFramework.Design.Flow.CoreSteps.StandardSteps.StringSteps", "JoinStrings", null);

            FlowStep fs = new FlowStep(ims);

            fs.Name = stepToConvert.StepName;
            return(fs);
        }
Beispiel #3
0
        public DecisionsFramework.Design.Flow.FlowStep ConvertStep(ConversionData allConvertData, ConvertedStep stepToConvert)
        {
            FlowStep         result;
            InvokeMethodStep ms = new InvokeMethodStep("DecisionsFramework.Design.Flow.CoreSteps.StandardSteps.ObjectSteps", "ObjectsAreEqual", null);

            result      = new FlowStep(ms);
            result.Name = stepToConvert.StepName;

            SelectValueInputMapping svim = new SelectValueInputMapping();

            svim.DataPath      = stepToConvert.InputData.First(x => x.Name == "value1").SelectValuePathName;
            svim.InputDataName = "value1";
            result.AddInputMapping(svim);

            SelectValueInputMapping svim2 = new SelectValueInputMapping();

            svim2.DataPath      = stepToConvert.InputData.First(x => x.Name == "value2").SelectValuePathName;
            svim2.InputDataName = "value2";
            result.AddInputMapping(svim2);


            return(result);
        }