Пример #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);