From bf2e187e6625ca4d19a6d48000843c9813a3efa5 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Wed, 2 Feb 2022 18:03:49 +0300 Subject: [PATCH] Make base PriceList class abstract --- src/PriceListTools/{PriceList.cs => AbstractPriceList.cs} | 2 +- src/PriceListTools/Source.cs | 2 +- src/PriceListTools/Target.cs | 2 +- src/RehauSku.Assist.csproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename src/PriceListTools/{PriceList.cs => AbstractPriceList.cs} (93%) diff --git a/src/PriceListTools/PriceList.cs b/src/PriceListTools/AbstractPriceList.cs similarity index 93% rename from src/PriceListTools/PriceList.cs rename to src/PriceListTools/AbstractPriceList.cs index 65ff3df..06427a0 100644 --- a/src/PriceListTools/PriceList.cs +++ b/src/PriceListTools/AbstractPriceList.cs @@ -2,7 +2,7 @@ namespace RehauSku.PriceListTools { - internal class PriceList + internal abstract class AbstractPriceList { protected const string amountHeader = "Кол-во"; protected const string skuHeader = "Актуальный материал"; diff --git a/src/PriceListTools/Source.cs b/src/PriceListTools/Source.cs index fe5ee9b..a20ad81 100644 --- a/src/PriceListTools/Source.cs +++ b/src/PriceListTools/Source.cs @@ -7,7 +7,7 @@ using RehauSku.Interface; namespace RehauSku.PriceListTools { - internal class Source : PriceList + internal class Source : AbstractPriceList { public Dictionary PositionAmount { get; private set; } diff --git a/src/PriceListTools/Target.cs b/src/PriceListTools/Target.cs index 996a092..ac91544 100644 --- a/src/PriceListTools/Target.cs +++ b/src/PriceListTools/Target.cs @@ -4,7 +4,7 @@ using System.Linq; namespace RehauSku.PriceListTools { - internal class Target : PriceList + internal class Target : AbstractPriceList { private const string oldSkuHeader = "Прежний материал"; public Range oldSkuCell { get; private set; } diff --git a/src/RehauSku.Assist.csproj b/src/RehauSku.Assist.csproj index 94ac5c0..6edbc2c 100644 --- a/src/RehauSku.Assist.csproj +++ b/src/RehauSku.Assist.csproj @@ -127,7 +127,7 @@ - +