/// <summary>
 /// Sets the specified receive <paramref name="step"/> to be concatenated at the position specified by <paramref name="position"/>
 /// </summary>
 public PipelineStepConcatenator OnReceive(IIncomingStep step, PipelineAbsolutePosition position)
 {
     if (position == PipelineAbsolutePosition.Front)
     {
         _incomingFrontSteps.Add(step);
     }
     else
     {
         _incomingBackSteps.Add(step);
     }
     return this;
 }
 /// <summary>
 /// Sets the specified outgoing <paramref name="step"/> to be concatenated at the position specified by <paramref name="position"/>
 /// </summary>
 public PipelineStepConcatenator OnSend(IOutgoingStep step, PipelineAbsolutePosition position)
 {
     if (position == PipelineAbsolutePosition.Front)
     {
         _outgoingFrontSteps.Add(step);
     }
     else
     {
         _outgoingBackSteps.Add(step);
     }
     return this;
 }
示例#3
0
 /// <summary>
 /// Sets the specified receive <paramref name="step"/> to be concatenated at the position specified by <paramref name="position"/>
 /// </summary>
 public PipelineStepConcatenator OnReceive(IIncomingStep step, PipelineAbsolutePosition position)
 {
     if (position == PipelineAbsolutePosition.Front)
     {
         _incomingFrontSteps.Add(step);
     }
     else
     {
         _incomingBackSteps.Add(step);
     }
     return(this);
 }
示例#4
0
 /// <summary>
 /// Sets the specified outgoing <paramref name="step"/> to be concatenated at the position specified by <paramref name="position"/>
 /// </summary>
 public PipelineStepConcatenator OnSend(IOutgoingStep step, PipelineAbsolutePosition position)
 {
     if (position == PipelineAbsolutePosition.Front)
     {
         _outgoingFrontSteps.Add(step);
     }
     else
     {
         _outgoingBackSteps.Add(step);
     }
     return(this);
 }
 /// <summary>
 /// Sets the specified receive <paramref name="step"/> to be concatenated at the position specified by <paramref name="position"/>
 /// </summary>
 public PipelineStepConcatenator OnReceive(IIncomingStep step, PipelineAbsolutePosition position)
 {
     if (step == null) throw new ArgumentNullException(nameof(step));
     if (position == PipelineAbsolutePosition.Front)
     {
         _incomingFrontSteps.Add(step);
     }
     else
     {
         _incomingBackSteps.Add(step);
     }
     return this;
 }
示例#6
0
 /// <summary>
 /// Sets the specified receive <paramref name="step"/> to be concatenated at the position specified by <paramref name="position"/>
 /// </summary>
 public PipelineStepConcatenator OnReceive(IIncomingStep step, PipelineAbsolutePosition position)
 {
     if (step == null)
     {
         throw new ArgumentNullException(nameof(step));
     }
     if (position == PipelineAbsolutePosition.Front)
     {
         _incomingFrontSteps.Add(step);
     }
     else
     {
         _incomingBackSteps.Add(step);
     }
     return(this);
 }