/// <summary> /// Fire <see cref="JobDequeued"/> /// </summary> /// <param name="job">Affected job</param> protected void OnJobDequeued( IQuickIOTransferJob job ) { QuickIOTransferJobDequeuedEventArgs args = null; if ( JobDequeued != null ) { args = new QuickIOTransferJobDequeuedEventArgs( job ); JobDequeued( this, args ); } if ( args == null ) { args = new QuickIOTransferJobDequeuedEventArgs( job ); } Observer.OnJobDequeued( args ); }
/// <summary> /// Fire <see cref="JobDequeued"/> /// </summary> /// <param name="args">Holds further event information</param> public virtual void OnJobDequeued( QuickIOTransferJobDequeuedEventArgs args ) { if ( JobDequeued != null ) { JobDequeued( this, args ); } }