public override bool Equals(object obj) { if (obj == null || obj.GetType() != this.GetType()) { return(false); } ProductionLineDescription ProductionLineDescription = (ProductionLineDescription)obj; return(Description.Equals(ProductionLineDescription.Description)); }
public ProductionLine(ProductionLineDescription description, List <Machine> Machines) { this.Description = description; this.Machines = Machines; }