Esempio n. 1
0
 /// <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()));
 }
Esempio n. 2
0
 /// <summary>
 /// TBD
 /// </summary>
 /// <returns>TBD</returns>
 public override Shape DeepCopy()
 => new FlowShape <TIn, TOut>((Inlet <TIn>)Inlet.CarbonCopy(), (Outlet <TOut>)Outlet.CarbonCopy());
Esempio n. 3
0
 /// <summary>
 /// TBD
 /// </summary>
 /// <returns>TBD</returns>
 public override Shape DeepCopy() => new SinkShape <TIn>((Inlet <TIn>)Inlet.CarbonCopy());
Esempio n. 4
0
 public override Shape DeepCopy()
 => new ShufflePorts(_in1.CarbonCopy(), _in2.CarbonCopy(), _out1.CarbonCopy(), _out2.CarbonCopy());