/// <summary> /// TBD /// </summary> /// <returns>TBD</returns> public override Shape DeepCopy() { return(new BidiShape <TIn1, TOut1, TIn2, TOut2>( (Inlet <TIn1>)Inlet1.CarbonCopy(), (Outlet <TOut1>)Outlet1.CarbonCopy(), (Inlet <TIn2>)Inlet2.CarbonCopy(), (Outlet <TOut2>)Outlet2.CarbonCopy())); }
/// <summary> /// TBD /// </summary> /// <returns>TBD</returns> public override Shape DeepCopy() => new FlowShape <TIn, TOut>((Inlet <TIn>)Inlet.CarbonCopy(), (Outlet <TOut>)Outlet.CarbonCopy());
/// <summary> /// TBD /// </summary> /// <returns>TBD</returns> public override Shape DeepCopy() => new SinkShape <TIn>((Inlet <TIn>)Inlet.CarbonCopy());
public override Shape DeepCopy() => new ShufflePorts(_in1.CarbonCopy(), _in2.CarbonCopy(), _out1.CarbonCopy(), _out2.CarbonCopy());