Exemplo n.º 1
0
 public CancellableKillSwitchStage(CancellationToken cancellationToken, bool cancelGracefully)
 {
     _cancellationToken = cancellationToken;
     _cancelGracefully  = cancelGracefully;
     Shape = new FlowShape <T, T>(Inlet, Outlet);
 }
Exemplo n.º 2
0
 public SharedKillSwitchFlow(SharedKillSwitch killSwitch)
 {
     _killSwitch = killSwitch;
     Shape       = new FlowShape <T, T>(In, Out);
 }
Exemplo n.º 3
0
 /// <summary>
 /// TBD
 /// </summary>
 /// <param name="top">TBD</param>
 /// <param name="bottom">TBD</param>
 public BidiShape(FlowShape <TIn1, TOut1> top, FlowShape <TIn2, TOut2> bottom)
     : this(top.Inlet, top.Outlet, bottom.Inlet, bottom.Outlet)
 {
 }
Exemplo n.º 4
0
 private UniqueKillSwitchStage()
 {
     Shape = new FlowShape <T, T>(In, Out);
 }