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 = LoginWorkFlow_TypedDataContext3.GetDataContextActivitiesHelper(this.rootActivity, this.forImplementation); } if ((expressionId == 0)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = LoginWorkFlow_TypedDataContext3.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new LoginWorkFlow_TypedDataContext3(locations, activityContext, true); } LoginWorkFlow_TypedDataContext3 refDataContext0 = ((LoginWorkFlow_TypedDataContext3)(cachedCompiledDataContext[0])); return(refDataContext0.GetLocation <string>(refDataContext0.ValueType___Expr0Get, refDataContext0.ValueType___Expr0Set, expressionId, this.rootActivity, activityContext)); } if ((expressionId == 1)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = LoginWorkFlow_TypedDataContext4_ForReadOnly.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[1] == null)) { cachedCompiledDataContext[1] = new LoginWorkFlow_TypedDataContext4_ForReadOnly(locations, activityContext, true); } LoginWorkFlow_TypedDataContext4_ForReadOnly valDataContext1 = ((LoginWorkFlow_TypedDataContext4_ForReadOnly)(cachedCompiledDataContext[1])); return(valDataContext1.ValueType___Expr1Get()); } if ((expressionId == 2)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = LoginWorkFlow_TypedDataContext4.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 3); if ((cachedCompiledDataContext[2] == null)) { cachedCompiledDataContext[2] = new LoginWorkFlow_TypedDataContext4(locations, activityContext, true); } LoginWorkFlow_TypedDataContext4 refDataContext2 = ((LoginWorkFlow_TypedDataContext4)(cachedCompiledDataContext[2])); return(refDataContext2.GetLocation <string>(refDataContext2.ValueType___Expr2Get, refDataContext2.ValueType___Expr2Set, expressionId, this.rootActivity, activityContext)); } 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)) { LoginWorkFlow_TypedDataContext3 refDataContext0 = new LoginWorkFlow_TypedDataContext3(locations, true); return(refDataContext0.GetLocation <string>(refDataContext0.ValueType___Expr0Get, refDataContext0.ValueType___Expr0Set)); } if ((expressionId == 1)) { LoginWorkFlow_TypedDataContext4_ForReadOnly valDataContext1 = new LoginWorkFlow_TypedDataContext4_ForReadOnly(locations, true); return(valDataContext1.ValueType___Expr1Get()); } if ((expressionId == 2)) { LoginWorkFlow_TypedDataContext4 refDataContext2 = new LoginWorkFlow_TypedDataContext4(locations, true); return(refDataContext2.GetLocation <string>(refDataContext2.ValueType___Expr2Get, refDataContext2.ValueType___Expr2Set)); } return(null); }