Esempio n. 1
0
 public Logic(Identity <T> stage) : base(stage.Shape)
 {
     SetHandler(stage.Inlet, () => Push(stage.Outlet, Grab(stage.Inlet)));
     SetHandler(stage.Outlet, () => Pull(stage.Inlet));
 }
Esempio n. 2
0
 public Logic(Identity <T> stage) : base(stage.Shape)
 {
     _stage = stage;
     SetHandler(stage.Inlet, stage.Outlet, this);
 }