/// <summary> /// Provides the notification on the change of process state to interested parties. /// </summary> public virtual void OnProcessStarting(ProcessorBase processor) { if (ProcessStarting != null) { ProcessStarting(this, new ProcessorEventArgs(processor)); } }
/// <summary> /// Provides the notification on the change of process state to interested parties. /// </summary> public virtual void OnProcessEnded(ProcessorBase processor) { if (ProcessEnded != null) { ProcessEnded(this, new ProcessorEventArgs(processor)); } }
/// <summary> /// Initializes a new instance of the ProcessorEventArgs class. /// </summary> /// <param name="processor"></param> public ProcessorEventArgs(ProcessorBase processor) { this.processor = processor; }