/// <summary> /// Execute the event to update the jobs. /// </summary> /// <param name="type">the type of job update.</param> private void OnJobUpdate(JobUpdateType type) { if (JobUpdateEvent != null) JobUpdateEvent(this, new JobUpdateEventArgs(type)); }
/// <summary> /// Constructors. /// </summary> /// <param name="args">job update type.</param> public JobUpdateEventArgs(JobUpdateType args) { m_type = args; }