public CancellableKillSwitchStage(CancellationToken cancellationToken, bool cancelGracefully) { _cancellationToken = cancellationToken; _cancelGracefully = cancelGracefully; Shape = new FlowShape <T, T>(Inlet, Outlet); }
public SharedKillSwitchFlow(SharedKillSwitch killSwitch) { _killSwitch = killSwitch; Shape = new FlowShape <T, T>(In, Out); }
/// <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) { }
private UniqueKillSwitchStage() { Shape = new FlowShape <T, T>(In, Out); }