Example #1
0
        protected internal virtual void MergeScopeExecutions(ExecutionEntity leaf)
        {
            IDictionary <ScopeImpl, PvmExecutionImpl> mapping = leaf.CreateActivityExecutionMapping();

            foreach (KeyValuePair <ScopeImpl, PvmExecutionImpl> mappingEntry in mapping)
            {
                ScopeImpl       scope          = mappingEntry.Key;
                ExecutionEntity scopeExecution = (ExecutionEntity)mappingEntry.Value;

                SubmitExecution(scopeExecution, scope);
            }
        }