18 lines
499 B
C#
18 lines
499 B
C#
using MeetTheTeacher.Model;
|
|
|
|
namespace MeetTheTeacher.Export;
|
|
|
|
/// <summary>
|
|
/// Allows to export data of <see cref="ICsvRepresentable"/> type to a CSV file
|
|
/// </summary>
|
|
/// <inheritdoc cref="FileExporterBase" />
|
|
/// <inheritdoc cref="IDataExporter" />
|
|
public sealed class CsvDataExporter : FileExporterBase, IDataExporter
|
|
{
|
|
public void Export(IEnumerable<ICsvRepresentable> items, string? fileName)
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
protected override string FileExtension => ".csv";
|
|
}
|