Add operation kind
This commit is contained in:
@ -9,7 +9,10 @@ namespace Hcs.WebApp.BackgroundServices.DataParsers
|
||||
{
|
||||
return operation.Type switch
|
||||
{
|
||||
Operation.OperationType.ParseHousesData_15_7_0_1 => new HousesDataParser_15_7_0_1(client, scope, operation)
|
||||
Operation.OperationType.ParseHousesData_15_7_0_1 => new HousesDataParser_15_7_0_1(client, scope, operation),
|
||||
|
||||
Operation.OperationType.NsiCommon_ExportNsiItem_15_7_0_1 or
|
||||
Operation.OperationType.Nsi_ExportNsiItem_15_7_0_1 => throw new ArgumentException($"Нельзя использовать операцию с типом {operation.Type} для парсинга")
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user