public void AddMachine(Interfaces.IMachine machine) { if (machine == null) { throw new ArgumentNullException("Machine cannot be with null value!"); } this.MachinesEngaged.Add(machine); }
// Methods public void AddMachine(Interfaces.IMachine machine) { this.Machines.Add(machine); }