protected internal virtual void mergeScopeExecutions(ExecutionEntity leaf) { IDictionary <ScopeImpl, PvmExecutionImpl> mapping = leaf.createActivityExecutionMapping(); foreach (KeyValuePair <ScopeImpl, PvmExecutionImpl> mappingEntry in mapping.SetOfKeyValuePairs()) { ScopeImpl scope = mappingEntry.Key; ExecutionEntity scopeExecution = (ExecutionEntity)mappingEntry.Value; submitExecution(scopeExecution, scope); } }