public virtual void AttachState(MigratingScopeInstance owningInstance) { var representativeExecution = owningInstance.ResolveRepresentativeExecution(); //representativeExecution.addTask(userTask); //foreach (VariableInstanceEntity variable in userTask.VariablesInternal) //{ // variable.Execution = representativeExecution; //} //userTask.setExecution(representativeExecution); }
public virtual void AttachState(MigratingScopeInstance owningActivityInstance) { throw new NotImplementedException(); var representativeExecution = owningActivityInstance.ResolveRepresentativeExecution(); var currentScope = owningActivityInstance.CurrentScope; var newOwningExecution = representativeExecution; //if (currentScope.Scope && isConcurrentLocalInParentScope) //{ // newOwningExecution = representativeExecution.Parent; //} //newOwningExecution.addVariableInternal(variable); }
public virtual void AttachState(MigratingScopeInstance newOwningInstance) { AttachTo(newOwningInstance.ResolveRepresentativeExecution()); }
public virtual void AttachState(MigratingScopeInstance newOwningInstance) { //eventSubscriptionEntity.Execution = newOwningInstance.resolveRepresentativeExecution(); }
protected internal abstract void InstantiateScopes(MigratingScopeInstance ancestorScopeInstance, MigratingScopeInstanceBranch executionBranch, IList <ScopeImpl> scopesToInstantiate);
public abstract void AttachState(MigratingScopeInstance targetActivityInstance);