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 = mainTask1_TypedDataContext4.GetDataContextActivitiesHelper(this.rootActivity, this.forImplementation); } if ((expressionId == 0)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext4.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new mainTask1_TypedDataContext4(locations, activityContext, true); } mainTask1_TypedDataContext4 refDataContext0 = ((mainTask1_TypedDataContext4)(cachedCompiledDataContext[0])); return refDataContext0.GetLocation<System.Guid>(refDataContext0.ValueType___Expr0Get, refDataContext0.ValueType___Expr0Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 1)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext4_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new mainTask1_TypedDataContext4_ForReadOnly(locations, activityContext, true); } mainTask1_TypedDataContext4_ForReadOnly valDataContext1 = ((mainTask1_TypedDataContext4_ForReadOnly)(cachedCompiledDataContext[1])); return valDataContext1.ValueType___Expr1Get(); } if ((expressionId == 2)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext4.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new mainTask1_TypedDataContext4(locations, activityContext, true); } mainTask1_TypedDataContext4 refDataContext2 = ((mainTask1_TypedDataContext4)(cachedCompiledDataContext[0])); return refDataContext2.GetLocation<object>(refDataContext2.ValueType___Expr2Get, refDataContext2.ValueType___Expr2Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 3)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext4_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new mainTask1_TypedDataContext4_ForReadOnly(locations, activityContext, true); } mainTask1_TypedDataContext4_ForReadOnly valDataContext3 = ((mainTask1_TypedDataContext4_ForReadOnly)(cachedCompiledDataContext[1])); return valDataContext3.ValueType___Expr3Get(); } if ((expressionId == 4)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext4.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new mainTask1_TypedDataContext4(locations, activityContext, true); } mainTask1_TypedDataContext4 refDataContext4 = ((mainTask1_TypedDataContext4)(cachedCompiledDataContext[0])); return refDataContext4.GetLocation<string>(refDataContext4.ValueType___Expr4Get, refDataContext4.ValueType___Expr4Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 5)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext4_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new mainTask1_TypedDataContext4_ForReadOnly(locations, activityContext, true); } mainTask1_TypedDataContext4_ForReadOnly valDataContext5 = ((mainTask1_TypedDataContext4_ForReadOnly)(cachedCompiledDataContext[1])); return valDataContext5.ValueType___Expr5Get(); } if ((expressionId == 6)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext4_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new mainTask1_TypedDataContext4_ForReadOnly(locations, activityContext, true); } mainTask1_TypedDataContext4_ForReadOnly valDataContext6 = ((mainTask1_TypedDataContext4_ForReadOnly)(cachedCompiledDataContext[1])); return valDataContext6.ValueType___Expr6Get(); } if ((expressionId == 7)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext6_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[2] == null)) { cachedCompiledDataContext[2] = new mainTask1_TypedDataContext6_ForReadOnly(locations, activityContext, true); } mainTask1_TypedDataContext6_ForReadOnly valDataContext7 = ((mainTask1_TypedDataContext6_ForReadOnly)(cachedCompiledDataContext[2])); return valDataContext7.ValueType___Expr7Get(); } if ((expressionId == 8)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext6_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[2] == null)) { cachedCompiledDataContext[2] = new mainTask1_TypedDataContext6_ForReadOnly(locations, activityContext, true); } mainTask1_TypedDataContext6_ForReadOnly valDataContext8 = ((mainTask1_TypedDataContext6_ForReadOnly)(cachedCompiledDataContext[2])); return valDataContext8.ValueType___Expr8Get(); } if ((expressionId == 9)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext6_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[2] == null)) { cachedCompiledDataContext[2] = new mainTask1_TypedDataContext6_ForReadOnly(locations, activityContext, true); } mainTask1_TypedDataContext6_ForReadOnly valDataContext9 = ((mainTask1_TypedDataContext6_ForReadOnly)(cachedCompiledDataContext[2])); return valDataContext9.ValueType___Expr9Get(); } if ((expressionId == 10)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext6_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[2] == null)) { cachedCompiledDataContext[2] = new mainTask1_TypedDataContext6_ForReadOnly(locations, activityContext, true); } mainTask1_TypedDataContext6_ForReadOnly valDataContext10 = ((mainTask1_TypedDataContext6_ForReadOnly)(cachedCompiledDataContext[2])); return valDataContext10.ValueType___Expr10Get(); } if ((expressionId == 11)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext6.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[3] == null)) { cachedCompiledDataContext[3] = new mainTask1_TypedDataContext6(locations, activityContext, true); } mainTask1_TypedDataContext6 refDataContext11 = ((mainTask1_TypedDataContext6)(cachedCompiledDataContext[3])); return refDataContext11.GetLocation<int>(refDataContext11.ValueType___Expr11Get, refDataContext11.ValueType___Expr11Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 12)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext6_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[2] == null)) { cachedCompiledDataContext[2] = new mainTask1_TypedDataContext6_ForReadOnly(locations, activityContext, true); } mainTask1_TypedDataContext6_ForReadOnly valDataContext12 = ((mainTask1_TypedDataContext6_ForReadOnly)(cachedCompiledDataContext[2])); return valDataContext12.ValueType___Expr12Get(); } if ((expressionId == 13)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext5_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[4] == null)) { cachedCompiledDataContext[4] = new mainTask1_TypedDataContext5_ForReadOnly(locations, activityContext, true); } mainTask1_TypedDataContext5_ForReadOnly valDataContext13 = ((mainTask1_TypedDataContext5_ForReadOnly)(cachedCompiledDataContext[4])); return valDataContext13.ValueType___Expr13Get(); } if ((expressionId == 14)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext5.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[5] == null)) { cachedCompiledDataContext[5] = new mainTask1_TypedDataContext5(locations, activityContext, true); } mainTask1_TypedDataContext5 refDataContext14 = ((mainTask1_TypedDataContext5)(cachedCompiledDataContext[5])); return refDataContext14.GetLocation<object>(refDataContext14.ValueType___Expr14Get, refDataContext14.ValueType___Expr14Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 15)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext8_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[6] == null)) { cachedCompiledDataContext[6] = new mainTask1_TypedDataContext8_ForReadOnly(locations, activityContext, true); } mainTask1_TypedDataContext8_ForReadOnly valDataContext15 = ((mainTask1_TypedDataContext8_ForReadOnly)(cachedCompiledDataContext[6])); return valDataContext15.ValueType___Expr15Get(); } if ((expressionId == 16)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext8.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[7] == null)) { cachedCompiledDataContext[7] = new mainTask1_TypedDataContext8(locations, activityContext, true); } mainTask1_TypedDataContext8 refDataContext16 = ((mainTask1_TypedDataContext8)(cachedCompiledDataContext[7])); return refDataContext16.GetLocation<object>(refDataContext16.ValueType___Expr16Get, refDataContext16.ValueType___Expr16Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 17)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext10_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[8] == null)) { cachedCompiledDataContext[8] = new mainTask1_TypedDataContext10_ForReadOnly(locations, activityContext, true); } mainTask1_TypedDataContext10_ForReadOnly valDataContext17 = ((mainTask1_TypedDataContext10_ForReadOnly)(cachedCompiledDataContext[8])); return valDataContext17.ValueType___Expr17Get(); } if ((expressionId == 18)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext10.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[9] == null)) { cachedCompiledDataContext[9] = new mainTask1_TypedDataContext10(locations, activityContext, true); } mainTask1_TypedDataContext10 refDataContext18 = ((mainTask1_TypedDataContext10)(cachedCompiledDataContext[9])); return refDataContext18.GetLocation<object>(refDataContext18.ValueType___Expr18Get, refDataContext18.ValueType___Expr18Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 19)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext11_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[10] == null)) { cachedCompiledDataContext[10] = new mainTask1_TypedDataContext11_ForReadOnly(locations, activityContext, true); } mainTask1_TypedDataContext11_ForReadOnly valDataContext19 = ((mainTask1_TypedDataContext11_ForReadOnly)(cachedCompiledDataContext[10])); return valDataContext19.ValueType___Expr19Get(); } if ((expressionId == 20)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext13_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[11] == null)) { cachedCompiledDataContext[11] = new mainTask1_TypedDataContext13_ForReadOnly(locations, activityContext, true); } mainTask1_TypedDataContext13_ForReadOnly valDataContext20 = ((mainTask1_TypedDataContext13_ForReadOnly)(cachedCompiledDataContext[11])); return valDataContext20.ValueType___Expr20Get(); } if ((expressionId == 21)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext13.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[12] == null)) { cachedCompiledDataContext[12] = new mainTask1_TypedDataContext13(locations, activityContext, true); } mainTask1_TypedDataContext13 refDataContext21 = ((mainTask1_TypedDataContext13)(cachedCompiledDataContext[12])); return refDataContext21.GetLocation<object>(refDataContext21.ValueType___Expr21Get, refDataContext21.ValueType___Expr21Set, expressionId, this.rootActivity, activityContext); } if ((expressionId == 22)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext13_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[11] == null)) { cachedCompiledDataContext[11] = new mainTask1_TypedDataContext13_ForReadOnly(locations, activityContext, true); } mainTask1_TypedDataContext13_ForReadOnly valDataContext22 = ((mainTask1_TypedDataContext13_ForReadOnly)(cachedCompiledDataContext[11])); return valDataContext22.ValueType___Expr22Get(); } if ((expressionId == 23)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = mainTask1_TypedDataContext13_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 13); if ((cachedCompiledDataContext[11] == null)) { cachedCompiledDataContext[11] = new mainTask1_TypedDataContext13_ForReadOnly(locations, activityContext, true); } mainTask1_TypedDataContext13_ForReadOnly valDataContext23 = ((mainTask1_TypedDataContext13_ForReadOnly)(cachedCompiledDataContext[11])); return valDataContext23.ValueType___Expr23Get(); } 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)) { mainTask1_TypedDataContext4 refDataContext0 = new mainTask1_TypedDataContext4(locations, true); return refDataContext0.GetLocation<System.Guid>(refDataContext0.ValueType___Expr0Get, refDataContext0.ValueType___Expr0Set); } if ((expressionId == 1)) { mainTask1_TypedDataContext4_ForReadOnly valDataContext1 = new mainTask1_TypedDataContext4_ForReadOnly(locations, true); return valDataContext1.ValueType___Expr1Get(); } if ((expressionId == 2)) { mainTask1_TypedDataContext4 refDataContext2 = new mainTask1_TypedDataContext4(locations, true); return refDataContext2.GetLocation<object>(refDataContext2.ValueType___Expr2Get, refDataContext2.ValueType___Expr2Set); } if ((expressionId == 3)) { mainTask1_TypedDataContext4_ForReadOnly valDataContext3 = new mainTask1_TypedDataContext4_ForReadOnly(locations, true); return valDataContext3.ValueType___Expr3Get(); } if ((expressionId == 4)) { mainTask1_TypedDataContext4 refDataContext4 = new mainTask1_TypedDataContext4(locations, true); return refDataContext4.GetLocation<string>(refDataContext4.ValueType___Expr4Get, refDataContext4.ValueType___Expr4Set); } if ((expressionId == 5)) { mainTask1_TypedDataContext4_ForReadOnly valDataContext5 = new mainTask1_TypedDataContext4_ForReadOnly(locations, true); return valDataContext5.ValueType___Expr5Get(); } if ((expressionId == 6)) { mainTask1_TypedDataContext4_ForReadOnly valDataContext6 = new mainTask1_TypedDataContext4_ForReadOnly(locations, true); return valDataContext6.ValueType___Expr6Get(); } if ((expressionId == 7)) { mainTask1_TypedDataContext6_ForReadOnly valDataContext7 = new mainTask1_TypedDataContext6_ForReadOnly(locations, true); return valDataContext7.ValueType___Expr7Get(); } if ((expressionId == 8)) { mainTask1_TypedDataContext6_ForReadOnly valDataContext8 = new mainTask1_TypedDataContext6_ForReadOnly(locations, true); return valDataContext8.ValueType___Expr8Get(); } if ((expressionId == 9)) { mainTask1_TypedDataContext6_ForReadOnly valDataContext9 = new mainTask1_TypedDataContext6_ForReadOnly(locations, true); return valDataContext9.ValueType___Expr9Get(); } if ((expressionId == 10)) { mainTask1_TypedDataContext6_ForReadOnly valDataContext10 = new mainTask1_TypedDataContext6_ForReadOnly(locations, true); return valDataContext10.ValueType___Expr10Get(); } if ((expressionId == 11)) { mainTask1_TypedDataContext6 refDataContext11 = new mainTask1_TypedDataContext6(locations, true); return refDataContext11.GetLocation<int>(refDataContext11.ValueType___Expr11Get, refDataContext11.ValueType___Expr11Set); } if ((expressionId == 12)) { mainTask1_TypedDataContext6_ForReadOnly valDataContext12 = new mainTask1_TypedDataContext6_ForReadOnly(locations, true); return valDataContext12.ValueType___Expr12Get(); } if ((expressionId == 13)) { mainTask1_TypedDataContext5_ForReadOnly valDataContext13 = new mainTask1_TypedDataContext5_ForReadOnly(locations, true); return valDataContext13.ValueType___Expr13Get(); } if ((expressionId == 14)) { mainTask1_TypedDataContext5 refDataContext14 = new mainTask1_TypedDataContext5(locations, true); return refDataContext14.GetLocation<object>(refDataContext14.ValueType___Expr14Get, refDataContext14.ValueType___Expr14Set); } if ((expressionId == 15)) { mainTask1_TypedDataContext8_ForReadOnly valDataContext15 = new mainTask1_TypedDataContext8_ForReadOnly(locations, true); return valDataContext15.ValueType___Expr15Get(); } if ((expressionId == 16)) { mainTask1_TypedDataContext8 refDataContext16 = new mainTask1_TypedDataContext8(locations, true); return refDataContext16.GetLocation<object>(refDataContext16.ValueType___Expr16Get, refDataContext16.ValueType___Expr16Set); } if ((expressionId == 17)) { mainTask1_TypedDataContext10_ForReadOnly valDataContext17 = new mainTask1_TypedDataContext10_ForReadOnly(locations, true); return valDataContext17.ValueType___Expr17Get(); } if ((expressionId == 18)) { mainTask1_TypedDataContext10 refDataContext18 = new mainTask1_TypedDataContext10(locations, true); return refDataContext18.GetLocation<object>(refDataContext18.ValueType___Expr18Get, refDataContext18.ValueType___Expr18Set); } if ((expressionId == 19)) { mainTask1_TypedDataContext11_ForReadOnly valDataContext19 = new mainTask1_TypedDataContext11_ForReadOnly(locations, true); return valDataContext19.ValueType___Expr19Get(); } if ((expressionId == 20)) { mainTask1_TypedDataContext13_ForReadOnly valDataContext20 = new mainTask1_TypedDataContext13_ForReadOnly(locations, true); return valDataContext20.ValueType___Expr20Get(); } if ((expressionId == 21)) { mainTask1_TypedDataContext13 refDataContext21 = new mainTask1_TypedDataContext13(locations, true); return refDataContext21.GetLocation<object>(refDataContext21.ValueType___Expr21Get, refDataContext21.ValueType___Expr21Set); } if ((expressionId == 22)) { mainTask1_TypedDataContext13_ForReadOnly valDataContext22 = new mainTask1_TypedDataContext13_ForReadOnly(locations, true); return valDataContext22.ValueType___Expr22Get(); } if ((expressionId == 23)) { mainTask1_TypedDataContext13_ForReadOnly valDataContext23 = new mainTask1_TypedDataContext13_ForReadOnly(locations, true); return valDataContext23.ValueType___Expr23Get(); } return null; }