18 lines
630 B
C#
18 lines
630 B
C#
namespace SelfPropelledArtilleryUnit.Generics
|
|
{
|
|
internal class SPAUCollectionInfo : IEquatable<CarsCollectionInfo>
|
|
{
|
|
public string Name { get; private set; }
|
|
public string Description { get; private set; }
|
|
public CarsCollectionInfo(string name, string description)
|
|
{
|
|
Name = name;
|
|
Description = description;
|
|
}
|
|
public bool Equals(CarsCollectionInfo? other)
|
|
{
|
|
// TODO прописать логику сравнения по свойству Name
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|