PIbd - 21 Bakalskaya E.D. LabWork08 Base #10

Closed
ekallin wants to merge 6 commits from LabWork08 into LabWork07
Showing only changes of commit 25b458f9e9 - Show all commits

View File

@ -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<DrawingLocomotive?>
{
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));
}
}
}