public ActivityCodeDom Build(Activity activity)
 {
     var activityCodeDom = new ActivityCodeDom();
     activityCodeDom.ClassesToGenerate = new CodeNamespaceCollection();
     activityCodeDom.InvocationCode = this.GenerateCodeInvocation((WriteToLogActivity)activity);
     return activityCodeDom;
 }
Пример #2
0
 public ActivityCodeDom Build(Activity activity)
 {
     var activityCodeDom = new ActivityCodeDom();
     activityCodeDom.ClassesToGenerate = this.GenerateActivityClasses(((GroupActivity)activity).Activities);
     activityCodeDom.InvocationCode = this.InvocationMethod(activity);
     return activityCodeDom;
 }
Пример #3
0
 public ActivityCodeDom Build(Activity activity)
 {
     var activityCodeDom = new ActivityCodeDom();
     activityCodeDom.ClassesToGenerate = new CodeNamespaceCollection();
     activityCodeDom.InvocationCode = this.DefaultInvocationMethod(activity);
     return activityCodeDom;
 }
        public ActivityCodeDom Build(Activity activity)
        {
            var activityCodeDom = new ActivityCodeDom();
            activityCodeDom.ClassesToGenerate = new CodeNamespaceCollection();

            var errorActivity = (GenerateErrorActivity)activity;
            activityCodeDom.InvocationCode = this.GenerateCodeInvocation(errorActivity);
            return activityCodeDom;
        }
        public ActivityCodeDom Build(Activity activity)
        {
            CallProcessActivity callProcessActivity = (CallProcessActivity)activity;

            var activityCodeDom = new ActivityCodeDom();
            activityCodeDom.ClassesToGenerate = new CodeNamespaceCollection();
            activityCodeDom.InvocationCode = this.GenerateCodeInvocation(callProcessActivity);
            return activityCodeDom;
        }
Пример #6
0
        public ActivityCodeDom Build(Activity activity)
        {
            JavaActivity javaActivity = (JavaActivity) activity;

            var result = new ActivityCodeDom();

            result.ClassesToGenerate = new CodeNamespaceCollection();
            result.InvocationCode = this.GenerateCodeInvocation (javaActivity);

            return result;
        }