Implement CurrentPrice Writer service
This commit is contained in:
parent
a73cc46449
commit
a9d7ac710e
19
RhSolutions.AddIn/Services/CurrentPriceWriter.cs
Normal file
19
RhSolutions.AddIn/Services/CurrentPriceWriter.cs
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#if !NET472
|
||||||
|
using System.Runtime.Versioning;
|
||||||
|
using RhSolutions.Tools;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
namespace RhSolutions.Services;
|
||||||
|
|
||||||
|
public class CurrentPriceWriter : ExcelWriterBase, IWriter, IDisposable
|
||||||
|
{
|
||||||
|
public CurrentPriceWriter(Application application, IAddInConfiguration configuration)
|
||||||
|
{
|
||||||
|
_application = application;
|
||||||
|
_resultBar = new();
|
||||||
|
_headers = configuration.GetPriceListHeaders();
|
||||||
|
_worksheet = _application.ActiveSheet;
|
||||||
|
_appendValues = false;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user