/// <summary> /// Raises the <see cref="PluginProcessed" /> event. /// </summary> protected void OnPluginProcessed() { if (PluginProcessed != null) { var ppaArgs = new PluginProcessedEventArgs(); PluginProcessed(this, ppaArgs); m_booCancelled |= ppaArgs.Cancel; } }
/// <summary> /// Called when the conflict detector has processed a plugin. /// </summary> /// <remarks> /// This updates the detector progress bar. /// </remarks> /// <param name="sender">The object that trigger the event.</param> /// <param name="e">A <see cref="PluginProcessedEventArgs" /> describing the event arguments.</param> private void cdrDetector_PluginProcessed(object sender, PluginProcessedEventArgs e) { m_bwdProgress.StepOverallProgress(); e.Cancel = m_bwdProgress.Cancelled(); }