/// <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="AsyncPipelineExecutor"/> instance.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="data"></param>
 private void SynchDataReady(AsyncPipelineExecutor sender, ICollection<PSObject> data)
 {
     DataReadyDelegate delegateDataReadyCopy = OnDataReady; if (delegateDataReadyCopy != null) { delegateDataReadyCopy(sender, data); }
 }
 /// <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="AsyncPipelineExecutor"/> instance.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="data"></param>
 private void SynchErrorReady(AsyncPipelineExecutor sender, ICollection<object> data)
 {
     ErrorReadyDelegate delegateErrorReadyCopy = OnErrorReady; if (delegateErrorReadyCopy != null) { delegateErrorReadyCopy(sender, data); }
 }
 /// <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="AsyncPipelineExecutor"/> instance.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="data"></param>
 private void SynchDataEnd(AsyncPipelineExecutor sender)
 {
     DataEndDelegate delegateDataEndCopy = OnDataEnd; if (delegateDataEndCopy != null) { delegateDataEndCopy(sender); }
 }