/// <summary>
        /// Raises the <see cref="RunStatisticsUpdated"/> event. Not intended to be used publically.
        /// </summary>
        /// <param name="e">The <see cref="Microsoft.Test.Taupo.Runners.RunStatisticsUpdatedEventArgs"/> instance containing the event data.</param>
        /// <remarks>
        /// This must be public in order to handle an event raised from a
        /// partial trust <see cref="AppDomain"/>.
        /// </remarks>
        protected virtual void OnRunStatisticsUpdated(RunStatisticsUpdatedEventArgs e)
        {
            var handler = this.RunStatisticsUpdated;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Example #2
0
        public virtual void OnRunStatisticsUpdated(object sender, RunStatisticsUpdatedEventArgs e)
        {
            var handler = this.RunStatisticsUpdated;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Example #3
0
 public virtual void OnRunStatisticsUpdated(object sender, RunStatisticsUpdatedEventArgs e)
 {
     var handler = this.RunStatisticsUpdated;
     if (handler != null)
     {
         handler(this, e);
     }
 }