private IBelt CreateBelt(uint number) { IBelt belt = _activeTray.Belts.SingleOrDefault(x => x.Number == number); if (belt == null) { belt = _activeTray.AddBelt <TBelt>(number); } return(belt); }
/// <summary> /// Handles getting input from belt...? /// </summary> /// <param name="IN_BELT"></param> public void InputFromBelt(IBelt IN_BELT) { throw new System.NotImplementedException(); }
public ILayoutBuilderTray <TTray, TBelt> AddBelt(uint number) { IBelt belt = CreateBelt(number); return(this); }
/// <summary> /// Handles outputting to things with the belt interface. /// </summary> /// <param name="OUT_BELT"></param> public void OutputToBelt(IBelt OUT_BELT) { throw new System.NotImplementedException(); }