/// <summary> /// Attach the given arrow pipeline to the given arrow sender. /// </summary> /// <typeparam name="TIn">The type of the consuming messages/objects.</typeparam> /// <typeparam name="TOut">The type of the emitted messages/objects.</typeparam> /// <param name="ArrowSender">The sender of the messages/objects.</param> /// <param name="Pipeline">The arrow processing pipeline.</param> public static IArrowSender <TOut> AttachPipeline <TIn, TOut>(this IArrowSender <TIn> ArrowSender, ArrowPipeline <TIn, TOut> Pipeline) { return(Pipeline(ArrowSender)); }
/// <summary> /// Create a arrow pipeline. /// </summary> /// <typeparam name="TIn">The type of the consuming messages/objects.</typeparam> /// <typeparam name="TOut">The type of the emitted messages/objects.</typeparam> /// <param name="Pipeline">The pipeline commands.</param> public static ArrowPipeline <TIn, TOut> CreatePipeline <TIn, TOut>(ArrowPipeline <TIn, TOut> Pipeline) { return(Pipeline); }