[Rule 3 - Blocking] CsvExportService/HtmlExportService stubs added so export test files compile. [Rule 1 - Bug] PermissionsService: removed Principal.Email (not on Principal, only on User) and changed folder param from Folder to ListItem (SecurableObject).
19 lines
768 B
C#
19 lines
768 B
C#
using SharepointToolbox.Core.Models;
|
|
|
|
namespace SharepointToolbox.Services.Export;
|
|
|
|
/// <summary>
|
|
/// Exports permission entries to CSV format.
|
|
/// Full implementation will be added in Plan 03.
|
|
/// </summary>
|
|
public class CsvExportService
|
|
{
|
|
/// <summary>Builds a CSV string from the supplied permission entries.</summary>
|
|
public string BuildCsv(IReadOnlyList<PermissionEntry> entries) =>
|
|
throw new NotImplementedException("CsvExportService.BuildCsv — implemented in Plan 03");
|
|
|
|
/// <summary>Writes the CSV output to a file.</summary>
|
|
public Task WriteAsync(IReadOnlyList<PermissionEntry> entries, string filePath, CancellationToken ct) =>
|
|
throw new NotImplementedException("CsvExportService.WriteAsync — implemented in Plan 03");
|
|
}
|