Beispiel #1
0
        /// <summary>
        /// Method that notifies the subscribers when the processing is complete
        /// </summary>
        /// <param name="sender">The sender</param>
        /// <param name="e">The process complete event args</param>
        private void OnProcessComplete(object sender, ProcessingCompleteEventArgs <TOut> e)
        {
            if (!e.Cancelled)
            {
                var handlers = this.Complete;

                if (handlers != null)
                {
                    handlers(this, e);
                }
            }
        }
Beispiel #2
0
        /// <summary>
        /// Method that notifies the subscribers when the processing is complete
        /// </summary>
        /// <param name="sender">The sender</param>
        /// <param name="e">The process complete event args</param>
        protected void OnProcessComplete(object sender, ProcessingCompleteEventArgs e)
        {
            if (!e.Cancelled)
            {
                var handlers = this.Complete;

                if (handlers != null)
                {
                    handlers(this, e);
                }
            }
        }