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