Пример #1
0
        /// <summary>
        /// Called when run interpreters make progress, like get configuration, initialize, etc.
        /// </summary>
        /// <param name="eventArgs">Interpreter event arguments.</param>
        protected virtual void OnInterpreterProgress(InterpreterProgressEventArgs eventArgs)
        {
            EventHandler <InterpreterProgressEventArgs> handler = this.InterpreterProgress;

            if (handler != null)
            {
                handler(this, eventArgs);
            }
        }
 /// <summary>
 /// Called when run interpreters make progress, like get configuration, initialize, etc.
 /// </summary>
 /// <param name="eventArgs">Interpreter event arguments.</param>
 protected virtual void OnInterpreterProgress(InterpreterProgressEventArgs eventArgs)
 {
     EventHandler<InterpreterProgressEventArgs> handler = this.InterpreterProgress;
     if (handler != null)
     {
         handler(this, eventArgs);
     }
 }