private IParallelData TransformMethod(IParallelData data)
        {
            IParallelData transformedData = new DataOut <T_out>();

            transformedData.Data = this.MethodWithInOutData.Invoke((T_in)data.Data);

            return(transformedData);
        }
 private void ActionMethod(IParallelData data)
 {
     resultContainer.Add(data);
 }