diff --git a/ProjectElectricLocomotive/ProjectElectricLocomotive/DrawingLocoEqutables.cs b/ProjectElectricLocomotive/ProjectElectricLocomotive/DrawingLocoEqutables.cs new file mode 100644 index 0000000..8e4bb74 --- /dev/null +++ b/ProjectElectricLocomotive/ProjectElectricLocomotive/DrawingLocoEqutables.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using ProjectElectricLocomotive.DrawingObjects; +using ProjectElectricLocomotive.Entities; +using System.Diagnostics.CodeAnalysis; + + +namespace ProjectElectricLocomotive.Generics +{ + internal class DrawingLocoEqutables : IEqualityComparer + { + public bool Equals(DrawingLocomotive? x, DrawingLocomotive? y) + { + if (x == null || x.EntityLocomotive == null) + throw new ArgumentNullException(nameof(x)); + + if (y == null || y.EntityLocomotive == null) + throw new ArgumentNullException(nameof(y)); + + + } + } +}