public object InvokeExpression(int expressionId, System.Collections.Generic.IList <System.Activities.Location> locations) { if ((this.rootActivity == null)) { this.rootActivity = this; } if ((expressionId == 0)) { Workflow1_TypedDataContext2_ForReadOnly valDataContext0 = new Workflow1_TypedDataContext2_ForReadOnly(locations, true); return(valDataContext0.ValueType___Expr0Get()); } if ((expressionId == 1)) { Workflow1_TypedDataContext2 refDataContext1 = new Workflow1_TypedDataContext2(locations, true); return(refDataContext1.GetLocation <string>(refDataContext1.ValueType___Expr1Get, refDataContext1.ValueType___Expr1Set)); } if ((expressionId == 2)) { Workflow1_TypedDataContext2_ForReadOnly valDataContext2 = new Workflow1_TypedDataContext2_ForReadOnly(locations, true); return(valDataContext2.ValueType___Expr2Get()); } if ((expressionId == 3)) { Workflow1_TypedDataContext2_ForReadOnly valDataContext3 = new Workflow1_TypedDataContext2_ForReadOnly(locations, true); return(valDataContext3.ValueType___Expr3Get()); } if ((expressionId == 4)) { Workflow1_TypedDataContext2_ForReadOnly valDataContext4 = new Workflow1_TypedDataContext2_ForReadOnly(locations, true); return(valDataContext4.ValueType___Expr4Get()); } if ((expressionId == 5)) { Workflow1_TypedDataContext3_ForReadOnly valDataContext5 = new Workflow1_TypedDataContext3_ForReadOnly(locations, true); return(valDataContext5.ValueType___Expr5Get()); } return(null); }
public object InvokeExpression(int expressionId, System.Collections.Generic.IList<System.Activities.Location> locations) { if ((this.rootActivity == null)) { this.rootActivity = this; } if ((expressionId == 0)) { Workflow1_TypedDataContext2_ForReadOnly valDataContext0 = new Workflow1_TypedDataContext2_ForReadOnly(locations, true); return valDataContext0.ValueType___Expr0Get(); } if ((expressionId == 1)) { Workflow1_TypedDataContext2 refDataContext1 = new Workflow1_TypedDataContext2(locations, true); return refDataContext1.GetLocation<string>(refDataContext1.ValueType___Expr1Get, refDataContext1.ValueType___Expr1Set); } if ((expressionId == 2)) { Workflow1_TypedDataContext2_ForReadOnly valDataContext2 = new Workflow1_TypedDataContext2_ForReadOnly(locations, true); return valDataContext2.ValueType___Expr2Get(); } return null; }
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_TypedDataContext2_ForReadOnly.GetDataContextActivitiesHelper(this.rootActivity, this.forImplementation); } if ((expressionId == 0)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow1_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new Workflow1_TypedDataContext2_ForReadOnly(locations, activityContext, true); } Workflow1_TypedDataContext2_ForReadOnly valDataContext0 = ((Workflow1_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[0])); return(valDataContext0.ValueType___Expr0Get()); } if ((expressionId == 1)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow1_TypedDataContext2.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new Workflow1_TypedDataContext2(locations, activityContext, true); } Workflow1_TypedDataContext2 refDataContext1 = ((Workflow1_TypedDataContext2)(cachedCompiledDataContext[1])); return(refDataContext1.GetLocation <string>(refDataContext1.ValueType___Expr1Get, refDataContext1.ValueType___Expr1Set, expressionId, this.rootActivity, activityContext)); } if ((expressionId == 2)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow1_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new Workflow1_TypedDataContext2_ForReadOnly(locations, activityContext, true); } Workflow1_TypedDataContext2_ForReadOnly valDataContext2 = ((Workflow1_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[0])); return(valDataContext2.ValueType___Expr2Get()); } if ((expressionId == 3)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow1_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new Workflow1_TypedDataContext2_ForReadOnly(locations, activityContext, true); } Workflow1_TypedDataContext2_ForReadOnly valDataContext3 = ((Workflow1_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[0])); return(valDataContext3.ValueType___Expr3Get()); } if ((expressionId == 4)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow1_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new Workflow1_TypedDataContext2_ForReadOnly(locations, activityContext, true); } Workflow1_TypedDataContext2_ForReadOnly valDataContext4 = ((Workflow1_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[0])); return(valDataContext4.ValueType___Expr4Get()); } if ((expressionId == 5)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow1_TypedDataContext3_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[2] == null)) { cachedCompiledDataContext[2] = new Workflow1_TypedDataContext3_ForReadOnly(locations, activityContext, true); } Workflow1_TypedDataContext3_ForReadOnly valDataContext5 = ((Workflow1_TypedDataContext3_ForReadOnly)(cachedCompiledDataContext[2])); return(valDataContext5.ValueType___Expr5Get()); } return(null); }