예제 #1
0
        protected internal virtual void AddEventToScopeExecution(ExecutionEntity sourceScope, VariableEvent @event)
        {
            // ignore events of variables that are not set in an execution
            ExecutionEntity sourceExecution = sourceScope;
            ExecutionEntity scopeExecution  = (ExecutionEntity)(sourceExecution.IsScope ? sourceExecution : sourceExecution.Parent);

            scopeExecution.DelayEvent((ExecutionEntity)TargetScope, @event);
        }