Beispiel #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()));
 }
Beispiel #2
0
 /// <summary>
 /// TBD
 /// </summary>
 /// <returns>TBD</returns>
 public override Shape DeepCopy()
 => new FlowShape <TIn, TOut>((Inlet <TIn>)Inlet.CarbonCopy(), (Outlet <TOut>)Outlet.CarbonCopy());
Beispiel #3
0
 /// <summary>
 /// TBD
 /// </summary>
 /// <returns>TBD</returns>
 public override Shape DeepCopy() => new SourceShape <TOut>((Outlet <TOut>)Outlet.CarbonCopy());