示例#1
0
        /// <summary>
        /// Raises the <see cref="E:LoreSoft.Shared.Scheduler.JobManager.JobStarting"/> event.
        /// </summary>
        /// <param name="e">The <see cref="JobEventArgs"/> instance containing the event data.</param>
        internal void OnJobStarting(JobEventArgs e)
        {
            if (JobStarting == null)
                return;

            JobStarting(this, e);
        }
示例#2
0
        /// <summary>
        /// Raises the <see cref="E:LoreSoft.Shared.Scheduler.JobManager.JobMangerStopping"/> event.
        /// </summary>
        /// <param name="e">The <see cref="JobEventArgs"/> instance containing the event data.</param>
        private void OnJobMangerStopping(JobEventArgs e)
        {
            if (JobMangerStopping == null)
                return;

            JobMangerStopping(this, e);
        }