C# Класс Nop.Services.ExportImport.ExportManager

Export manager
Наследование: IExportManager
Показать файл Открыть проект

Открытые методы

Метод Описание
ExportCategoriesToXml ( ) : string

Export category list to xml

ExportCustomersToXlsx ( Stream stream, IList customers ) : void

Export customer list to XLSX

ExportCustomersToXml ( IList customers ) : string

Export customer list to xml

ExportManager ( ICategoryService categoryService, IManufacturerService manufacturerService, IProductService productService, IPictureService pictureService, INewsLetterSubscriptionService newsLetterSubscriptionService, Nop.Core.Domain.StoreInformationSettings storeInformationSettings ) : System
ExportManufacturersToXml ( IList manufacturers ) : string

Export manufacturer list to xml

ExportOrdersToXlsx ( Stream stream, IList orders ) : void

Export orders to XLSX

ExportOrdersToXml ( IList orders ) : string

Export order list to xml

ExportProductsToXlsx ( Stream stream, IList products ) : void

Export products to XLSX

ExportProductsToXml ( IList products ) : string

Export product list to xml

Защищенные методы

Метод Описание
WriteCategories ( XmlWriter xmlWriter, int parentCategoryId ) : void

Описание методов

ExportCategoriesToXml() публичный Метод

Export category list to xml
public ExportCategoriesToXml ( ) : string
Результат string

ExportCustomersToXlsx() публичный Метод

Export customer list to XLSX
public ExportCustomersToXlsx ( Stream stream, IList customers ) : void
stream Stream Stream
customers IList Customers
Результат void

ExportCustomersToXml() публичный Метод

Export customer list to xml
public ExportCustomersToXml ( IList customers ) : string
customers IList Customers
Результат string

ExportManager() публичный Метод

public ExportManager ( ICategoryService categoryService, IManufacturerService manufacturerService, IProductService productService, IPictureService pictureService, INewsLetterSubscriptionService newsLetterSubscriptionService, Nop.Core.Domain.StoreInformationSettings storeInformationSettings ) : System
categoryService ICategoryService
manufacturerService IManufacturerService
productService IProductService
pictureService IPictureService
newsLetterSubscriptionService INewsLetterSubscriptionService
storeInformationSettings Nop.Core.Domain.StoreInformationSettings
Результат System

ExportManufacturersToXml() публичный Метод

Export manufacturer list to xml
public ExportManufacturersToXml ( IList manufacturers ) : string
manufacturers IList Manufacturers
Результат string

ExportOrdersToXlsx() публичный Метод

Export orders to XLSX
public ExportOrdersToXlsx ( Stream stream, IList orders ) : void
stream Stream Stream
orders IList Orders
Результат void

ExportOrdersToXml() публичный Метод

Export order list to xml
public ExportOrdersToXml ( IList orders ) : string
orders IList Orders
Результат string

ExportProductsToXlsx() публичный Метод

Export products to XLSX
public ExportProductsToXlsx ( Stream stream, IList products ) : void
stream Stream Stream
products IList Products
Результат void

ExportProductsToXml() публичный Метод

Export product list to xml
public ExportProductsToXml ( IList products ) : string
products IList Products
Результат string

WriteCategories() защищенный Метод

protected WriteCategories ( XmlWriter xmlWriter, int parentCategoryId ) : void
xmlWriter System.Xml.XmlWriter
parentCategoryId int
Результат void