Esempio n. 1
0
 /// <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));
 }
Esempio n. 2
0
 /// <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);
 }