Лаб6 финал

This commit is contained in:
Arklightning 2023-01-15 17:22:39 +04:00
parent 50e5b857f7
commit aed6c6c4e8
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ using System.Drawing;
namespace Trolleybus
{
internal class MapWithSetTrolleybusGeneric<T, U>
where T : class, IDrawningObject
where T : class, IDrawningObject, IEquatable<T>
where U : AbstractMap
{
/// <summary>

View File

@ -8,7 +8,7 @@ namespace Trolleybus
{
// Параметризованный набор объектов
internal class SetTrolleybusGeneric<T>
where T : class
where T : class, IEquatable<T>
{
// Массив объектов, которые храним
private readonly List<T> _places;