예제 #1
0
        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);
        }
예제 #2
0
        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);
        }
예제 #3
0
 public virtual void AttachState(MigratingScopeInstance newOwningInstance)
 {
     AttachTo(newOwningInstance.ResolveRepresentativeExecution());
 }
예제 #4
0
 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);