public object InvokeExpression(int expressionId, System.Collections.Generic.IList <System.Activities.LocationReference> locations, System.Activities.ActivityContext activityContext) { if ((this.rootActivity == null)) { this.rootActivity = this; } if ((this.dataContextActivities == null)) { this.dataContextActivities = Workflow1_TypedDataContext0_ForReadOnly.GetDataContextActivitiesHelper(this.rootActivity, this.forImplementation); } if ((expressionId == 0)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow1_TypedDataContext0_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new Workflow1_TypedDataContext0_ForReadOnly(locations, activityContext, true); } Workflow1_TypedDataContext0_ForReadOnly valDataContext0 = ((Workflow1_TypedDataContext0_ForReadOnly)(cachedCompiledDataContext[0])); return(valDataContext0.ValueType___Expr0Get()); } if ((expressionId == 1)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow1_TypedDataContext0_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new Workflow1_TypedDataContext0_ForReadOnly(locations, activityContext, true); } Workflow1_TypedDataContext0_ForReadOnly valDataContext1 = ((Workflow1_TypedDataContext0_ForReadOnly)(cachedCompiledDataContext[0])); return(valDataContext1.ValueType___Expr1Get()); } if ((expressionId == 2)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow1_TypedDataContext1_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new Workflow1_TypedDataContext1_ForReadOnly(locations, activityContext, true); } Workflow1_TypedDataContext1_ForReadOnly valDataContext2 = ((Workflow1_TypedDataContext1_ForReadOnly)(cachedCompiledDataContext[1])); return(valDataContext2.ValueType___Expr2Get()); } if ((expressionId == 3)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow1_TypedDataContext1_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new Workflow1_TypedDataContext1_ForReadOnly(locations, activityContext, true); } Workflow1_TypedDataContext1_ForReadOnly valDataContext3 = ((Workflow1_TypedDataContext1_ForReadOnly)(cachedCompiledDataContext[1])); return(valDataContext3.ValueType___Expr3Get()); } if ((expressionId == 4)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow1_TypedDataContext1.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[2] == null)) { cachedCompiledDataContext[2] = new Workflow1_TypedDataContext1(locations, activityContext, true); } Workflow1_TypedDataContext1 refDataContext4 = ((Workflow1_TypedDataContext1)(cachedCompiledDataContext[2])); return(refDataContext4.GetLocation <decimal>(refDataContext4.ValueType___Expr4Get, refDataContext4.ValueType___Expr4Set, expressionId, this.rootActivity, activityContext)); } if ((expressionId == 5)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow1_TypedDataContext1_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new Workflow1_TypedDataContext1_ForReadOnly(locations, activityContext, true); } Workflow1_TypedDataContext1_ForReadOnly valDataContext5 = ((Workflow1_TypedDataContext1_ForReadOnly)(cachedCompiledDataContext[1])); return(valDataContext5.ValueType___Expr5Get()); } if ((expressionId == 6)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow1_TypedDataContext1.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[2] == null)) { cachedCompiledDataContext[2] = new Workflow1_TypedDataContext1(locations, activityContext, true); } Workflow1_TypedDataContext1 refDataContext6 = ((Workflow1_TypedDataContext1)(cachedCompiledDataContext[2])); return(refDataContext6.GetLocation <int>(refDataContext6.ValueType___Expr6Get, refDataContext6.ValueType___Expr6Set, expressionId, this.rootActivity, activityContext)); } if ((expressionId == 7)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow1_TypedDataContext1_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new Workflow1_TypedDataContext1_ForReadOnly(locations, activityContext, true); } Workflow1_TypedDataContext1_ForReadOnly valDataContext7 = ((Workflow1_TypedDataContext1_ForReadOnly)(cachedCompiledDataContext[1])); return(valDataContext7.ValueType___Expr7Get()); } if ((expressionId == 8)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow1_TypedDataContext1_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new Workflow1_TypedDataContext1_ForReadOnly(locations, activityContext, true); } Workflow1_TypedDataContext1_ForReadOnly valDataContext8 = ((Workflow1_TypedDataContext1_ForReadOnly)(cachedCompiledDataContext[1])); return(valDataContext8.ValueType___Expr8Get()); } return(null); }