public object InvokeExpression(int expressionId, System.Collections.Generic.IList <System.Activities.Location> locations) { if ((this.rootActivity == null)) { this.rootActivity = this; } if ((expressionId == 0)) { OtherWorkFlow_TypedDataContext3 refDataContext0 = new OtherWorkFlow_TypedDataContext3(locations, true); return(refDataContext0.GetLocation <string>(refDataContext0.ValueType___Expr0Get, refDataContext0.ValueType___Expr0Set)); } 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 = OtherWorkFlow_TypedDataContext3.GetDataContextActivitiesHelper(this.rootActivity, this.forImplementation); } if ((expressionId == 0)) { System.Activities.XamlIntegration.CompiledDataContext[] cachedCompiledDataContext = OtherWorkFlow_TypedDataContext3.GetCompiledDataContextCacheHelper(this.dataContextActivities, activityContext, this.rootActivity, this.forImplementation, 1); if ((cachedCompiledDataContext[0] == null)) { cachedCompiledDataContext[0] = new OtherWorkFlow_TypedDataContext3(locations, activityContext, true); } OtherWorkFlow_TypedDataContext3 refDataContext0 = ((OtherWorkFlow_TypedDataContext3)(cachedCompiledDataContext[0])); return(refDataContext0.GetLocation <string>(refDataContext0.ValueType___Expr0Get, refDataContext0.ValueType___Expr0Set, expressionId, this.rootActivity, activityContext)); } return(null); }