Kanzi Framework  3.9.0
Localization API
CsvExporter Class Reference

An example localization plugin for exporting localization tables to CSV (Comma Separated Value) files. More...

Inheritance diagram for CsvExporter:
[legend]
Collaboration diagram for CsvExporter:
[legend]

Public Attributes

override string Description => "Exports the localization table to a CSV file."
 Gets the description of the CSV exporter command. More...
 
override string Name => "Export CSV"
 Gets the name of the CSV exporter command. More...
 

Protected Member Functions

override void Export (string localizationTableName, IEnumerable< LocalizationTableRow > rows)
 Exports a localization table to a CSV file prompted from the user. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from AbstractLocalizationExporter
static IEnumerable< string > GetLocales (IEnumerable< LocalizationTableRow > rows)
 Returns the locale strings in the list of localization rows. More...
 
- Properties inherited from AbstractLocalizationExporter
abstract string Description [get]
 Gets the description of the plugin command. More...
 
virtual string DisplayName [get]
 Gets the display name of the plugin command. More...
 
abstract string Name [get]
 Gets the name of the plugin command. More...
 
KanziStudio Studio [get]
 Gets the KanziStudio object, which provides the entry point for operating with the Kanzi Studio plugin API. More...
 

Detailed Description

An example localization plugin for exporting localization tables to CSV (Comma Separated Value) files.

This class implements the abstract class AbstractLocalizationExporter.

Member Function Documentation

◆ Export()

override void Export ( string  localizationTableName,
IEnumerable< LocalizationTableRow rows 
)
inlineprotectedvirtual

Exports a localization table to a CSV file prompted from the user.

Parameters
localizationTableNameThe name of the localization table being exported.
rowsA list of localization table rows.

Implements AbstractLocalizationExporter.

Member Data Documentation

◆ Description

override string Description => "Exports the localization table to a CSV file."

Gets the description of the CSV exporter command.

Plugin command description.

◆ Name

override string Name => "Export CSV"

Gets the name of the CSV exporter command.

Plugin command name.