public object InvokeExpression(int expressionId, System.Collections.Generic.IList <System.Activities.Location> locations) { if ((this.rootActivity == null)) { this.rootActivity = this; } if ((expressionId == 0)) { Workflow_TypedDataContext2 refDataContext0 = new Workflow_TypedDataContext2(locations, true); return(refDataContext0.GetLocation <Microsoft.Activities.DynamicValue>(refDataContext0.ValueType___Expr0Get, refDataContext0.ValueType___Expr0Set)); } if ((expressionId == 1)) { Workflow_TypedDataContext2 refDataContext1 = new Workflow_TypedDataContext2(locations, true); return(refDataContext1.GetLocation <double>(refDataContext1.ValueType___Expr1Get, refDataContext1.ValueType___Expr1Set)); } if ((expressionId == 2)) { Workflow_TypedDataContext2_ForReadOnly valDataContext2 = new Workflow_TypedDataContext2_ForReadOnly(locations, true); return(valDataContext2.ValueType___Expr2Get()); } if ((expressionId == 3)) { Workflow_TypedDataContext2_ForReadOnly valDataContext3 = new Workflow_TypedDataContext2_ForReadOnly(locations, true); return(valDataContext3.ValueType___Expr3Get()); } if ((expressionId == 4)) { Workflow_TypedDataContext2_ForReadOnly valDataContext4 = new Workflow_TypedDataContext2_ForReadOnly(locations, true); return(valDataContext4.ValueType___Expr4Get()); } if ((expressionId == 5)) { Workflow_TypedDataContext2 refDataContext5 = new Workflow_TypedDataContext2(locations, true); return(refDataContext5.GetLocation <int>(refDataContext5.ValueType___Expr5Get, refDataContext5.ValueType___Expr5Set)); } if ((expressionId == 6)) { Workflow_TypedDataContext2_ForReadOnly valDataContext6 = new Workflow_TypedDataContext2_ForReadOnly(locations, true); return(valDataContext6.ValueType___Expr6Get()); } 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)) { Workflow_TypedDataContext2 refDataContext0 = new Workflow_TypedDataContext2(locations, true); return refDataContext0.GetLocation<Microsoft.Activities.DynamicValue>(refDataContext0.ValueType___Expr0Get, refDataContext0.ValueType___Expr0Set); } if ((expressionId == 1)) { Workflow_TypedDataContext2_ForReadOnly valDataContext1 = new Workflow_TypedDataContext2_ForReadOnly(locations, true); return valDataContext1.ValueType___Expr1Get(); } if ((expressionId == 2)) { Workflow_TypedDataContext2 refDataContext2 = new Workflow_TypedDataContext2(locations, true); return refDataContext2.GetLocation<string>(refDataContext2.ValueType___Expr2Get, refDataContext2.ValueType___Expr2Set); } if ((expressionId == 3)) { Workflow_TypedDataContext2_ForReadOnly valDataContext3 = new Workflow_TypedDataContext2_ForReadOnly(locations, true); return valDataContext3.ValueType___Expr3Get(); } if ((expressionId == 4)) { Workflow_TypedDataContext3_ForReadOnly valDataContext4 = new Workflow_TypedDataContext3_ForReadOnly(locations, true); return valDataContext4.ValueType___Expr4Get(); } if ((expressionId == 5)) { Workflow_TypedDataContext3 refDataContext5 = new Workflow_TypedDataContext3(locations, true); return refDataContext5.GetLocation<string>(refDataContext5.ValueType___Expr5Get, refDataContext5.ValueType___Expr5Set); } if ((expressionId == 6)) { Workflow_TypedDataContext3_ForReadOnly valDataContext6 = new Workflow_TypedDataContext3_ForReadOnly(locations, true); return valDataContext6.ValueType___Expr6Get(); } if ((expressionId == 7)) { Workflow_TypedDataContext3_ForReadOnly valDataContext7 = new Workflow_TypedDataContext3_ForReadOnly(locations, true); return valDataContext7.ValueType___Expr7Get(); } if ((expressionId == 8)) { Workflow_TypedDataContext3 refDataContext8 = new Workflow_TypedDataContext3(locations, true); return refDataContext8.GetLocation<Microsoft.Activities.DynamicValue>(refDataContext8.ValueType___Expr8Get, refDataContext8.ValueType___Expr8Set); } if ((expressionId == 9)) { Workflow_TypedDataContext3 refDataContext9 = new Workflow_TypedDataContext3(locations, true); return refDataContext9.GetLocation<int>(refDataContext9.ValueType___Expr9Get, refDataContext9.ValueType___Expr9Set); } if ((expressionId == 10)) { Workflow_TypedDataContext3_ForReadOnly valDataContext10 = new Workflow_TypedDataContext3_ForReadOnly(locations, true); return valDataContext10.ValueType___Expr10Get(); } if ((expressionId == 11)) { Workflow_TypedDataContext3_ForReadOnly valDataContext11 = new Workflow_TypedDataContext3_ForReadOnly(locations, true); return valDataContext11.ValueType___Expr11Get(); } if ((expressionId == 12)) { Workflow_TypedDataContext3_ForReadOnly valDataContext12 = new Workflow_TypedDataContext3_ForReadOnly(locations, true); return valDataContext12.ValueType___Expr12Get(); } if ((expressionId == 13)) { Workflow_TypedDataContext3 refDataContext13 = new Workflow_TypedDataContext3(locations, true); return refDataContext13.GetLocation<string>(refDataContext13.ValueType___Expr13Get, refDataContext13.ValueType___Expr13Set); } if ((expressionId == 14)) { Workflow_TypedDataContext3_ForReadOnly valDataContext14 = new Workflow_TypedDataContext3_ForReadOnly(locations, true); return valDataContext14.ValueType___Expr14Get(); } if ((expressionId == 15)) { Workflow_TypedDataContext3_ForReadOnly valDataContext15 = new Workflow_TypedDataContext3_ForReadOnly(locations, true); return valDataContext15.ValueType___Expr15Get(); } if ((expressionId == 16)) { Workflow_TypedDataContext2_ForReadOnly valDataContext16 = new Workflow_TypedDataContext2_ForReadOnly(locations, true); return valDataContext16.ValueType___Expr16Get(); } if ((expressionId == 17)) { Workflow_TypedDataContext4_ForReadOnly valDataContext17 = new Workflow_TypedDataContext4_ForReadOnly(locations, true); return valDataContext17.ValueType___Expr17Get(); } if ((expressionId == 18)) { Workflow_TypedDataContext4 refDataContext18 = new Workflow_TypedDataContext4(locations, true); return refDataContext18.GetLocation<string>(refDataContext18.ValueType___Expr18Get, refDataContext18.ValueType___Expr18Set); } if ((expressionId == 19)) { Workflow_TypedDataContext4_ForReadOnly valDataContext19 = new Workflow_TypedDataContext4_ForReadOnly(locations, true); return valDataContext19.ValueType___Expr19Get(); } if ((expressionId == 20)) { Workflow_TypedDataContext4_ForReadOnly valDataContext20 = new Workflow_TypedDataContext4_ForReadOnly(locations, true); return valDataContext20.ValueType___Expr20Get(); } if ((expressionId == 21)) { Workflow_TypedDataContext4 refDataContext21 = new Workflow_TypedDataContext4(locations, true); return refDataContext21.GetLocation<Microsoft.Activities.DynamicValue>(refDataContext21.ValueType___Expr21Get, refDataContext21.ValueType___Expr21Set); } if ((expressionId == 22)) { Workflow_TypedDataContext4 refDataContext22 = new Workflow_TypedDataContext4(locations, true); return refDataContext22.GetLocation<string>(refDataContext22.ValueType___Expr22Get, refDataContext22.ValueType___Expr22Set); } if ((expressionId == 23)) { Workflow_TypedDataContext4 refDataContext23 = new Workflow_TypedDataContext4(locations, true); return refDataContext23.GetLocation<string>(refDataContext23.ValueType___Expr23Get, refDataContext23.ValueType___Expr23Set); } if ((expressionId == 24)) { Workflow_TypedDataContext4 refDataContext24 = new Workflow_TypedDataContext4(locations, true); return refDataContext24.GetLocation<string>(refDataContext24.ValueType___Expr24Get, refDataContext24.ValueType___Expr24Set); } if ((expressionId == 25)) { Workflow_TypedDataContext4 refDataContext25 = new Workflow_TypedDataContext4(locations, true); return refDataContext25.GetLocation<string>(refDataContext25.ValueType___Expr25Get, refDataContext25.ValueType___Expr25Set); } if ((expressionId == 26)) { Workflow_TypedDataContext4_ForReadOnly valDataContext26 = new Workflow_TypedDataContext4_ForReadOnly(locations, true); return valDataContext26.ValueType___Expr26Get(); } if ((expressionId == 27)) { Workflow_TypedDataContext4 refDataContext27 = new Workflow_TypedDataContext4(locations, true); return refDataContext27.GetLocation<string>(refDataContext27.ValueType___Expr27Get, refDataContext27.ValueType___Expr27Set); } if ((expressionId == 28)) { Workflow_TypedDataContext4 refDataContext28 = new Workflow_TypedDataContext4(locations, true); return refDataContext28.GetLocation<string>(refDataContext28.ValueType___Expr28Get, refDataContext28.ValueType___Expr28Set); } if ((expressionId == 29)) { Workflow_TypedDataContext4 refDataContext29 = new Workflow_TypedDataContext4(locations, true); return refDataContext29.GetLocation<string>(refDataContext29.ValueType___Expr29Get, refDataContext29.ValueType___Expr29Set); } if ((expressionId == 30)) { Workflow_TypedDataContext4_ForReadOnly valDataContext30 = new Workflow_TypedDataContext4_ForReadOnly(locations, true); return valDataContext30.ValueType___Expr30Get(); } if ((expressionId == 31)) { Workflow_TypedDataContext4_ForReadOnly valDataContext31 = new Workflow_TypedDataContext4_ForReadOnly(locations, true); return valDataContext31.ValueType___Expr31Get(); } if ((expressionId == 32)) { Workflow_TypedDataContext4_ForReadOnly valDataContext32 = new Workflow_TypedDataContext4_ForReadOnly(locations, true); return valDataContext32.ValueType___Expr32Get(); } if ((expressionId == 33)) { Workflow_TypedDataContext4_ForReadOnly valDataContext33 = new Workflow_TypedDataContext4_ForReadOnly(locations, true); return valDataContext33.ValueType___Expr33Get(); } if ((expressionId == 34)) { Workflow_TypedDataContext4_ForReadOnly valDataContext34 = new Workflow_TypedDataContext4_ForReadOnly(locations, true); return valDataContext34.ValueType___Expr34Get(); } if ((expressionId == 35)) { Workflow_TypedDataContext4_ForReadOnly valDataContext35 = new Workflow_TypedDataContext4_ForReadOnly(locations, true); return valDataContext35.ValueType___Expr35Get(); } if ((expressionId == 36)) { Workflow_TypedDataContext4_ForReadOnly valDataContext36 = new Workflow_TypedDataContext4_ForReadOnly(locations, true); return valDataContext36.ValueType___Expr36Get(); } 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 = Workflow_TypedDataContext2.GetDataContextActivitiesHelper(this.rootActivity, this.forImplementation); } if ((expressionId == 0)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow_TypedDataContext2.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new Workflow_TypedDataContext2(locations, activityContext, true); } Workflow_TypedDataContext2 refDataContext0 = ((Workflow_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 = Workflow_TypedDataContext2.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new Workflow_TypedDataContext2(locations, activityContext, true); } Workflow_TypedDataContext2 refDataContext1 = ((Workflow_TypedDataContext2)(cachedCompiledDataContext[0])); return(refDataContext1.GetLocation <double>(refDataContext1.ValueType___Expr1Get, refDataContext1.ValueType___Expr1Set, expressionId, this.rootActivity, activityContext)); } if ((expressionId == 2)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new Workflow_TypedDataContext2_ForReadOnly(locations, activityContext, true); } Workflow_TypedDataContext2_ForReadOnly valDataContext2 = ((Workflow_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[1])); return(valDataContext2.ValueType___Expr2Get()); } if ((expressionId == 3)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new Workflow_TypedDataContext2_ForReadOnly(locations, activityContext, true); } Workflow_TypedDataContext2_ForReadOnly valDataContext3 = ((Workflow_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[1])); return(valDataContext3.ValueType___Expr3Get()); } if ((expressionId == 4)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new Workflow_TypedDataContext2_ForReadOnly(locations, activityContext, true); } Workflow_TypedDataContext2_ForReadOnly valDataContext4 = ((Workflow_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[1])); return(valDataContext4.ValueType___Expr4Get()); } if ((expressionId == 5)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow_TypedDataContext2.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new Workflow_TypedDataContext2(locations, activityContext, true); } Workflow_TypedDataContext2 refDataContext5 = ((Workflow_TypedDataContext2)(cachedCompiledDataContext[0])); return(refDataContext5.GetLocation <int>(refDataContext5.ValueType___Expr5Get, refDataContext5.ValueType___Expr5Set, expressionId, this.rootActivity, activityContext)); } if ((expressionId == 6)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = Workflow_TypedDataContext2_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 2); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new Workflow_TypedDataContext2_ForReadOnly(locations, activityContext, true); } Workflow_TypedDataContext2_ForReadOnly valDataContext6 = ((Workflow_TypedDataContext2_ForReadOnly)(cachedCompiledDataContext[1])); return(valDataContext6.ValueType___Expr6Get()); } return(null); }