Exemplo n.º 1
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;
 }
Exemplo n.º 2
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;
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 5
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;
 }
Exemplo n.º 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);
 }