/// <summary> /// private DataEnd handling method that will pass the call on to any handlers that are /// attached to the OnDataEnd event of this <see cref="PipelineExecutor"/> instance. /// </summary> /// <param name="sender"></param> /// <param name="data"></param> private void SynchDataEnd(PipelineExecutor sender) { DataEndDelegate delegateDataEndCopy = OnDataEnd; if (delegateDataEndCopy != null) { delegateDataEndCopy(sender); } }
/// <summary> /// private ErrorReady handling method that will pass the call on to any event handlers that are /// attached to the OnErrorReady event of this <see cref="PipelineExecutor"/> instance. /// </summary> /// <param name="sender"></param> /// <param name="data"></param> private void SynchErrorReady(PipelineExecutor sender, ICollection <object> data) { ErrorReadyDelegate delegateErrorReadyCopy = OnErrorReady; if (delegateErrorReadyCopy != null) { delegateErrorReadyCopy(sender, data); } }
/// <summary> /// private DataReady handling method that will pass the call on to any event handlers that are /// attached to the OnDataReady event of this <see cref="PipelineExecutor"/> instance. /// </summary> /// <param name="sender"></param> /// <param name="data"></param> private void SynchDataReady(PipelineExecutor sender, ICollection <PSObject> data) { DataReadyDelegate delegateDataReadyCopy = OnDataReady; if (delegateDataReadyCopy != null) { delegateDataReadyCopy(sender, data); } }