d
This commit is contained in:
parent
acd1b0cce2
commit
3d9c50dcae
@ -57,11 +57,11 @@ namespace ProjectLocomotive.CollectionGenericObjects
|
||||
/// Перегрузка оператора сложения для класса
|
||||
/// </summary>
|
||||
/// <param name="company">Компания</param>
|
||||
/// <param name="сruiser">Добавляемый объект</param>
|
||||
/// <param name="locomotive">Добавляемый объект</param>
|
||||
/// <returns></returns>
|
||||
public static int operator +(AbstractCompany company, DrawningLocomotive сruiser)
|
||||
public static int operator +(AbstractCompany company, DrawningLocomotive locomotive)
|
||||
{
|
||||
return company._collection.Insert(сruiser);
|
||||
return company._collection.Insert(locomotive);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user