Lab8 почти пул
This commit is contained in:
parent
b877c5e45c
commit
f629e43cea
@ -55,7 +55,7 @@ namespace ProjectTrolleybus.Generics
|
||||
{
|
||||
if (obj == null || collect == null)
|
||||
return false;
|
||||
collect?._collection.Insert(obj, new DrawingBusEqutables());
|
||||
collect?._collection.Insert(obj, new DrawingBusEquality());
|
||||
return true;
|
||||
}
|
||||
/// <summary>
|
||||
|
@ -10,7 +10,7 @@ using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace ProjectTrolleybus
|
||||
{
|
||||
internal class DrawingBusEqutables : IEqualityComparer<DrawingBus?>
|
||||
internal class DrawingBusEquality : IEqualityComparer<DrawingBus?>
|
||||
{
|
||||
public bool Equals(DrawingBus? x, DrawingBus? y)
|
||||
{
|
Loading…
x
Reference in New Issue
Block a user