Class ProductViewModelsExporter
- Namespace
- Dynamicweb.Ecommerce.ProductCatalog
- Assembly
- Dynamicweb.Ecommerce.dll
public sealed class ProductViewModelsExporter
- Inheritance
-
ProductViewModelsExporter
- Inherited Members
-
Constructors
ProductViewModelsExporter(string)
public ProductViewModelsExporter(string fileName)
Parameters
fileName
string
Properties
public ExportFormat ExportFormat { get; set; }
Property Value
- ExportFormat
FileName
public string FileName { get; }
Property Value
- string
HostUrl
public string HostUrl { get; set; }
Property Value
- string
SenderEmail
public string SenderEmail { get; set; }
Property Value
- string
SenderName
public string SenderName { get; set; }
Property Value
- string
Subject
public string Subject { get; set; }
Property Value
- string
TemplatePath
public string TemplatePath { get; set; }
Property Value
- string
Methods
Export(ProductListViewModel, ImageExportSettings)
public void Export(ProductListViewModel model, ImageExportSettings imageExportSettings)
Parameters
model
ProductListViewModel
imageExportSettings
ImageExportSettings
Export(ProductViewModel, ImageExportSettings, IEnumerable<string>, IEnumerable<string>)
public void Export(ProductViewModel model, ImageExportSettings imageExportSettings, IEnumerable<string> images, IEnumerable<string> documents)
Parameters
model
ProductViewModel
imageExportSettings
ImageExportSettings
images
IEnumerable<string>
documents
IEnumerable<string>
SendEmail(IEnumerable<string>)
public void SendEmail(IEnumerable<string> recipientEmails)
Parameters
recipientEmails
IEnumerable<string>
SendEmail(IEnumerable<string>, Exception)
public void SendEmail(IEnumerable<string> recipientEmails, Exception ex)
Parameters
recipientEmails
IEnumerable<string>
ex
Exception