Esempio n. 1
0
 public ProductJsonMapper(IOptions <NodeServerSettings> settings, IPdfTemplateSelector pdfTemplateSelector, IDpcApiClient dpcApiClient, IHttpClientFactory factory)
 {
     _pdfTemplateSelector = pdfTemplateSelector;
     _dpcApiClient        = dpcApiClient;
     _settings            = settings.Value;
     _factory             = factory;
 }
 public HtmlGenerator(IOptions <NodeServerSettings> settings, IPdfTemplateSelector pdfTemplateSelector,
                      IDpcApiClient client, IRegionTagsReplacer regionTagsReplacer,
                      IPdfGenerationSettingsProvider roamingPdfGenerationSettingsProvider, IHttpClientFactory factory)
 {
     _settings            = settings.Value;
     _pdfTemplateSelector = pdfTemplateSelector;
     _client             = client;
     _regionTagsReplacer = regionTagsReplacer;
     _roamingPdfGenerationSettingsProvider = roamingPdfGenerationSettingsProvider;
     _factory = factory;
 }
Esempio n. 3
0
 public PdfGenerationSettingsProvider(IDpcApiClient dpcApiClient)
 {
     _dpcApiClient = dpcApiClient;
 }
Esempio n. 4
0
 public RegionTagsReplacer(IDpcApiClient dpcApiClient)
 {
     _dpcApiClient = dpcApiClient;
 }
Esempio n. 5
0
 public PdfTemplateSelector(IOptions <PdfTemplateSelectorSettings> settings, IDpcApiClient dpcApiClient, IPdfGenerationSettingsProvider pdfGenerationSettingsProvider)
 {
     _dpcApiClient = dpcApiClient;
     _pdfGenerationSettingsProvider = pdfGenerationSettingsProvider;
     _settings = settings.Value;
 }