загрузка
This commit is contained in:
parent
d4da4c02ae
commit
51836226ac
@ -172,11 +172,11 @@ public class StorageCollection<T>
|
||||
StringSplitOptions.RemoveEmptyEntries);
|
||||
foreach (string elem in set)
|
||||
{
|
||||
if (elem?.CreateDrawningBus() is T boat)
|
||||
if (elem?.CreateDrawningBus() is T bus )
|
||||
{
|
||||
try
|
||||
{
|
||||
if (collection.Insert(boat) < 0)
|
||||
if (collection.Insert(bus) < 0)
|
||||
{
|
||||
throw new InvalidOperationException("Объект не удалось добавить в коллекцию: " + record[3]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user