aboutsummaryrefslogtreecommitdiff
path: root/src/PriceListTools/PriceList.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2022-01-26 18:37:24 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2022-01-26 18:37:24 +0300
commit94e0c84ce1e62826d963c0809be1c4d242694444 (patch)
tree41917a3451dac0e5e3cd2ee5c7212ff9abc0120d /src/PriceListTools/PriceList.cs
parent55bbd801a5593512921ccd4671a50069896affa0 (diff)
Move Autofilter method to abstract class
Diffstat (limited to 'src/PriceListTools/PriceList.cs')
-rw-r--r--src/PriceListTools/PriceList.cs19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/PriceListTools/PriceList.cs b/src/PriceListTools/PriceList.cs
index 588a0bc..1bf9663 100644
--- a/src/PriceListTools/PriceList.cs
+++ b/src/PriceListTools/PriceList.cs
@@ -18,24 +18,7 @@ namespace RehauSku.PriceListTools
public readonly Range skuCell;
public readonly Range groupCell;
- public Dictionary<PriceListPosition, Range> Map { get; private set; }
-
- public PriceList(Worksheet sheet)
- {
- Sheet = sheet;
- Name = sheet.Name;
-
- amountCell = Sheet.Cells.Find(amountHeader);
- skuCell = Sheet.Cells.Find(skuHeader);
- groupCell = Sheet.Cells.Find(groupHeader);
-
- if (amountCell == null || skuCell == null || groupCell == null)
- {
- throw new ArgumentException($"Лист { Name } не распознан");
- }
-
- FillSkuAmount();
- }
+ //public Dictionary<PriceListPosition, Range> Map { get; private set; }
public PriceList(Workbook workbook)
{