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 = ReceiveState_TypedDataContext2.GetDataContextActivitiesHelper(this.rootActivity, this.forImplementation); } if ((expressionId == 0)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new ReceiveState_TypedDataContext2(locations, activityContext, true); } ReceiveState_TypedDataContext2 refDataContext0 = ((ReceiveState_TypedDataContext2)(cachedCompiledDataContext[0])); return refDataContext0.GetLocation<Microsoft.Activities.DynamicValue>(refDataContext0.ValueType___Expr0Get, refDataContext0.ValueType___Expr0Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 1)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new ReceiveState_TypedDataContext2(locations, activityContext, true); } ReceiveState_TypedDataContext2 refDataContext1 = ((ReceiveState_TypedDataContext2)(cachedCompiledDataContext[0])); return refDataContext1.GetLocation<string>(refDataContext1.ValueType___Expr1Get, refDataContext1.ValueType___Expr1Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 2)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new ReceiveState_TypedDataContext2(locations, activityContext, true); } ReceiveState_TypedDataContext2 refDataContext2 = ((ReceiveState_TypedDataContext2)(cachedCompiledDataContext[0])); return refDataContext2.GetLocation<string>(refDataContext2.ValueType___Expr2Get, refDataContext2.ValueType___Expr2Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 3)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new ReceiveState_TypedDataContext2(locations, activityContext, true); } ReceiveState_TypedDataContext2 refDataContext3 = ((ReceiveState_TypedDataContext2)(cachedCompiledDataContext[0])); return refDataContext3.GetLocation<string>(refDataContext3.ValueType___Expr3Get, refDataContext3.ValueType___Expr3Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 4)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new ReceiveState_TypedDataContext2(locations, activityContext, true); } ReceiveState_TypedDataContext2 refDataContext4 = ((ReceiveState_TypedDataContext2)(cachedCompiledDataContext[0])); return refDataContext4.GetLocation<string>(refDataContext4.ValueType___Expr4Get, refDataContext4.ValueType___Expr4Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 5)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new ReceiveState_TypedDataContext2(locations, activityContext, true); } ReceiveState_TypedDataContext2 refDataContext5 = ((ReceiveState_TypedDataContext2)(cachedCompiledDataContext[0])); return refDataContext5.GetLocation<string>(refDataContext5.ValueType___Expr5Get, refDataContext5.ValueType___Expr5Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 6)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new ReceiveState_TypedDataContext2(locations, activityContext, true); } ReceiveState_TypedDataContext2 refDataContext6 = ((ReceiveState_TypedDataContext2)(cachedCompiledDataContext[0])); return refDataContext6.GetLocation<string>(refDataContext6.ValueType___Expr6Get, refDataContext6.ValueType___Expr6Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 7)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new ReceiveState_TypedDataContext2_ForReadOnly(locations, activityContext, true); } ReceiveState_TypedDataContext2_ForReadOnly valDataContext7 = ((ReceiveState_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[1])); return valDataContext7.ValueType___Expr7Get(); } if ((expressionId == 8)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new ReceiveState_TypedDataContext2_ForReadOnly(locations, activityContext, true); } ReceiveState_TypedDataContext2_ForReadOnly valDataContext8 = ((ReceiveState_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[1])); return valDataContext8.ValueType___Expr8Get(); } if ((expressionId == 9)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new ReceiveState_TypedDataContext2_ForReadOnly(locations, activityContext, true); } ReceiveState_TypedDataContext2_ForReadOnly valDataContext9 = ((ReceiveState_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[1])); return valDataContext9.ValueType___Expr9Get(); } if ((expressionId == 10)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new ReceiveState_TypedDataContext2_ForReadOnly(locations, activityContext, true); } ReceiveState_TypedDataContext2_ForReadOnly valDataContext10 = ((ReceiveState_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[1])); return valDataContext10.ValueType___Expr10Get(); } if ((expressionId == 11)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new ReceiveState_TypedDataContext2_ForReadOnly(locations, activityContext, true); } ReceiveState_TypedDataContext2_ForReadOnly valDataContext11 = ((ReceiveState_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[1])); return valDataContext11.ValueType___Expr11Get(); } if ((expressionId == 12)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new ReceiveState_TypedDataContext2_ForReadOnly(locations, activityContext, true); } ReceiveState_TypedDataContext2_ForReadOnly valDataContext12 = ((ReceiveState_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[1])); return valDataContext12.ValueType___Expr12Get(); } if ((expressionId == 13)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new ReceiveState_TypedDataContext2_ForReadOnly(locations, activityContext, true); } ReceiveState_TypedDataContext2_ForReadOnly valDataContext13 = ((ReceiveState_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[1])); return valDataContext13.ValueType___Expr13Get(); } if ((expressionId == 14)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new ReceiveState_TypedDataContext2_ForReadOnly(locations, activityContext, true); } ReceiveState_TypedDataContext2_ForReadOnly valDataContext14 = ((ReceiveState_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[1])); return valDataContext14.ValueType___Expr14Get(); } if ((expressionId == 15)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new ReceiveState_TypedDataContext2_ForReadOnly(locations, activityContext, true); } ReceiveState_TypedDataContext2_ForReadOnly valDataContext15 = ((ReceiveState_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[1])); return valDataContext15.ValueType___Expr15Get(); } if ((expressionId == 16)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new ReceiveState_TypedDataContext2(locations, activityContext, true); } ReceiveState_TypedDataContext2 refDataContext16 = ((ReceiveState_TypedDataContext2)(cachedCompiledDataContext[0])); return refDataContext16.GetLocation<Microsoft.Activities.DynamicValue>(refDataContext16.ValueType___Expr16Get, refDataContext16.ValueType___Expr16Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 17)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new ReceiveState_TypedDataContext2_ForReadOnly(locations, activityContext, true); } ReceiveState_TypedDataContext2_ForReadOnly valDataContext17 = ((ReceiveState_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[1])); return valDataContext17.ValueType___Expr17Get(); } if ((expressionId == 18)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new ReceiveState_TypedDataContext2(locations, activityContext, true); } ReceiveState_TypedDataContext2 refDataContext18 = ((ReceiveState_TypedDataContext2)(cachedCompiledDataContext[0])); return refDataContext18.GetLocation<string>(refDataContext18.ValueType___Expr18Get, refDataContext18.ValueType___Expr18Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 19)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new ReceiveState_TypedDataContext2(locations, activityContext, true); } ReceiveState_TypedDataContext2 refDataContext19 = ((ReceiveState_TypedDataContext2)(cachedCompiledDataContext[0])); return refDataContext19.GetLocation<string>(refDataContext19.ValueType___Expr19Get, refDataContext19.ValueType___Expr19Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 20)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new ReceiveState_TypedDataContext2(locations, activityContext, true); } ReceiveState_TypedDataContext2 refDataContext20 = ((ReceiveState_TypedDataContext2)(cachedCompiledDataContext[0])); return refDataContext20.GetLocation<Microsoft.Activities.DynamicValue>(refDataContext20.ValueType___Expr20Get, refDataContext20.ValueType___Expr20Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 21)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = ReceiveState_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new ReceiveState_TypedDataContext2_ForReadOnly(locations, activityContext, true); } ReceiveState_TypedDataContext2_ForReadOnly valDataContext21 = ((ReceiveState_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[1])); return valDataContext21.ValueType___Expr21Get(); } 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)) { ReceiveState_TypedDataContext2 refDataContext0 = new ReceiveState_TypedDataContext2(locations, true); return refDataContext0.GetLocation<Microsoft.Activities.DynamicValue>(refDataContext0.ValueType___Expr0Get, refDataContext0.ValueType___Expr0Set); } if ((expressionId == 1)) { ReceiveState_TypedDataContext2 refDataContext1 = new ReceiveState_TypedDataContext2(locations, true); return refDataContext1.GetLocation<string>(refDataContext1.ValueType___Expr1Get, refDataContext1.ValueType___Expr1Set); } if ((expressionId == 2)) { ReceiveState_TypedDataContext2 refDataContext2 = new ReceiveState_TypedDataContext2(locations, true); return refDataContext2.GetLocation<string>(refDataContext2.ValueType___Expr2Get, refDataContext2.ValueType___Expr2Set); } if ((expressionId == 3)) { ReceiveState_TypedDataContext2 refDataContext3 = new ReceiveState_TypedDataContext2(locations, true); return refDataContext3.GetLocation<string>(refDataContext3.ValueType___Expr3Get, refDataContext3.ValueType___Expr3Set); } if ((expressionId == 4)) { ReceiveState_TypedDataContext2 refDataContext4 = new ReceiveState_TypedDataContext2(locations, true); return refDataContext4.GetLocation<string>(refDataContext4.ValueType___Expr4Get, refDataContext4.ValueType___Expr4Set); } if ((expressionId == 5)) { ReceiveState_TypedDataContext2 refDataContext5 = new ReceiveState_TypedDataContext2(locations, true); return refDataContext5.GetLocation<string>(refDataContext5.ValueType___Expr5Get, refDataContext5.ValueType___Expr5Set); } if ((expressionId == 6)) { ReceiveState_TypedDataContext2 refDataContext6 = new ReceiveState_TypedDataContext2(locations, true); return refDataContext6.GetLocation<string>(refDataContext6.ValueType___Expr6Get, refDataContext6.ValueType___Expr6Set); } if ((expressionId == 7)) { ReceiveState_TypedDataContext2_ForReadOnly valDataContext7 = new ReceiveState_TypedDataContext2_ForReadOnly(locations, true); return valDataContext7.ValueType___Expr7Get(); } if ((expressionId == 8)) { ReceiveState_TypedDataContext2_ForReadOnly valDataContext8 = new ReceiveState_TypedDataContext2_ForReadOnly(locations, true); return valDataContext8.ValueType___Expr8Get(); } if ((expressionId == 9)) { ReceiveState_TypedDataContext2_ForReadOnly valDataContext9 = new ReceiveState_TypedDataContext2_ForReadOnly(locations, true); return valDataContext9.ValueType___Expr9Get(); } if ((expressionId == 10)) { ReceiveState_TypedDataContext2_ForReadOnly valDataContext10 = new ReceiveState_TypedDataContext2_ForReadOnly(locations, true); return valDataContext10.ValueType___Expr10Get(); } if ((expressionId == 11)) { ReceiveState_TypedDataContext2_ForReadOnly valDataContext11 = new ReceiveState_TypedDataContext2_ForReadOnly(locations, true); return valDataContext11.ValueType___Expr11Get(); } if ((expressionId == 12)) { ReceiveState_TypedDataContext2_ForReadOnly valDataContext12 = new ReceiveState_TypedDataContext2_ForReadOnly(locations, true); return valDataContext12.ValueType___Expr12Get(); } if ((expressionId == 13)) { ReceiveState_TypedDataContext2_ForReadOnly valDataContext13 = new ReceiveState_TypedDataContext2_ForReadOnly(locations, true); return valDataContext13.ValueType___Expr13Get(); } if ((expressionId == 14)) { ReceiveState_TypedDataContext2_ForReadOnly valDataContext14 = new ReceiveState_TypedDataContext2_ForReadOnly(locations, true); return valDataContext14.ValueType___Expr14Get(); } if ((expressionId == 15)) { ReceiveState_TypedDataContext2_ForReadOnly valDataContext15 = new ReceiveState_TypedDataContext2_ForReadOnly(locations, true); return valDataContext15.ValueType___Expr15Get(); } if ((expressionId == 16)) { ReceiveState_TypedDataContext2 refDataContext16 = new ReceiveState_TypedDataContext2(locations, true); return refDataContext16.GetLocation<Microsoft.Activities.DynamicValue>(refDataContext16.ValueType___Expr16Get, refDataContext16.ValueType___Expr16Set); } if ((expressionId == 17)) { ReceiveState_TypedDataContext2_ForReadOnly valDataContext17 = new ReceiveState_TypedDataContext2_ForReadOnly(locations, true); return valDataContext17.ValueType___Expr17Get(); } if ((expressionId == 18)) { ReceiveState_TypedDataContext2 refDataContext18 = new ReceiveState_TypedDataContext2(locations, true); return refDataContext18.GetLocation<string>(refDataContext18.ValueType___Expr18Get, refDataContext18.ValueType___Expr18Set); } if ((expressionId == 19)) { ReceiveState_TypedDataContext2 refDataContext19 = new ReceiveState_TypedDataContext2(locations, true); return refDataContext19.GetLocation<string>(refDataContext19.ValueType___Expr19Get, refDataContext19.ValueType___Expr19Set); } if ((expressionId == 20)) { ReceiveState_TypedDataContext2 refDataContext20 = new ReceiveState_TypedDataContext2(locations, true); return refDataContext20.GetLocation<Microsoft.Activities.DynamicValue>(refDataContext20.ValueType___Expr20Get, refDataContext20.ValueType___Expr20Set); } if ((expressionId == 21)) { ReceiveState_TypedDataContext2_ForReadOnly valDataContext21 = new ReceiveState_TypedDataContext2_ForReadOnly(locations, true); return valDataContext21.ValueType___Expr21Get(); } return null; }