Rename Abstract classes

This commit is contained in:
Sergey Chebotar 2022-12-20 11:53:55 +03:00
parent 84137845fd
commit 36c4d4480d
12 changed files with 12 additions and 12 deletions

View File

@ -1,6 +1,6 @@
namespace RhSolutions.Interface namespace RhSolutions.Interface
{ {
internal class ProgressBar : AbstractBar internal class ProgressBar : StatusbarBase
{ {
private double CurrentProgress { get; set; } private double CurrentProgress { get; set; }
private readonly double TaskWeight; private readonly double TaskWeight;

View File

@ -3,7 +3,7 @@ using System.Text;
namespace RhSolutions.Interface namespace RhSolutions.Interface
{ {
internal class ResultBar : AbstractBar internal class ResultBar : StatusbarBase
{ {
private int Success { get; set; } private int Success { get; set; }
private int Replaced { get; set; } private int Replaced { get; set; }

View File

@ -64,7 +64,7 @@ namespace RhSolutions.Interface
{ {
try try
{ {
AbstractTool tool; ToolBase tool;
switch (control.Id) switch (control.Id)
{ {
case "export": case "export":

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace RhSolutions.Interface namespace RhSolutions.Interface
{ {
internal abstract class AbstractBar : IDisposable internal abstract class StatusbarBase : IDisposable
{ {
protected Application Excel = AddIn.Excel; protected Application Excel = AddIn.Excel;

View File

@ -7,7 +7,7 @@ using Dialog = RhSolutions.Interface.Dialog;
namespace RhSolutions.PriceListTools namespace RhSolutions.PriceListTools
{ {
internal class CombineTool : AbstractTool internal class CombineTool : ToolBase
{ {
private List<SourcePriceList> SourceFiles { get; set; } private List<SourcePriceList> SourceFiles { get; set; }

View File

@ -2,7 +2,7 @@
namespace RhSolutions.PriceListTools namespace RhSolutions.PriceListTools
{ {
internal class ConvertTool : AbstractTool internal class ConvertTool : ToolBase
{ {
private SourcePriceList Current { get; set; } private SourcePriceList Current { get; set; }

View File

@ -5,7 +5,7 @@ using RhSolutions.Interface;
namespace RhSolutions.PriceListTools namespace RhSolutions.PriceListTools
{ {
internal class ExportTool : AbstractTool internal class ExportTool : ToolBase
{ {
private Dictionary<Product, double> PositionAmount; private Dictionary<Product, double> PositionAmount;
private readonly Range Selection; private readonly Range Selection;

View File

@ -5,7 +5,7 @@ using System.Linq;
namespace RhSolutions.PriceListTools namespace RhSolutions.PriceListTools
{ {
internal class MergeTool : AbstractTool internal class MergeTool : ToolBase
{ {
private List<SourcePriceList> SourceFiles { get; set; } private List<SourcePriceList> SourceFiles { get; set; }

View File

@ -2,7 +2,7 @@
namespace RhSolutions.PriceListTools namespace RhSolutions.PriceListTools
{ {
internal abstract class AbstractPriceList internal abstract class PriceListBase
{ {
public Range AmountCell { get; protected set; } public Range AmountCell { get; protected set; }
public Range SkuCell { get; protected set; } public Range SkuCell { get; protected set; }

View File

@ -7,7 +7,7 @@ using RhSolutions.Interface;
namespace RhSolutions.PriceListTools namespace RhSolutions.PriceListTools
{ {
internal class SourcePriceList : AbstractPriceList internal class SourcePriceList : PriceListBase
{ {
public Dictionary<Product, double> PositionAmount { get; private set; } public Dictionary<Product, double> PositionAmount { get; private set; }

View File

@ -4,7 +4,7 @@ using System.Linq;
namespace RhSolutions.PriceListTools namespace RhSolutions.PriceListTools
{ {
internal class TargetPriceList : AbstractPriceList internal class TargetPriceList : PriceListBase
{ {
public Range OldSkuCell { get; private set; } public Range OldSkuCell { get; private set; }

View File

@ -7,7 +7,7 @@ using ProgressBar = RhSolutions.Interface.ProgressBar;
namespace RhSolutions.PriceListTools namespace RhSolutions.PriceListTools
{ {
internal abstract class AbstractTool internal abstract class ToolBase
{ {
protected Application ExcelApp = AddIn.Excel; protected Application ExcelApp = AddIn.Excel;
protected TargetPriceList TargetFile { get; set; } protected TargetPriceList TargetFile { get; set; }