- Install CsvHelper 33.1.0 and Microsoft.Graph 5.74.0 (main + test projects) - Add 14 core model/enum files (BulkOperationResult, BulkMemberRow, BulkSiteRow, TransferJob, FolderStructureRow, SiteTemplate, SiteTemplateOptions, TemplateLibraryInfo, TemplateFolderInfo, TemplatePermissionGroup, ConflictPolicy, TransferMode, CsvValidationRow) - Add 6 service interfaces (IFileTransferService, IBulkMemberService, IBulkSiteService, ITemplateService, IFolderStructureService, ICsvValidationService) - Add BulkOperationRunner with continue-on-error and cancellation support - Add BulkResultCsvExportService stub (compile-ready) - Add test scaffolds: BulkOperationRunnerTests (5 passing), BulkResultCsvExportServiceTests (2 passing), CsvValidationServiceTests (6 skipped), TemplateRepositoryTests (4 skipped)
14 lines
633 B
C#
14 lines
633 B
C#
namespace SharepointToolbox.Core.Models;
|
|
|
|
public class TransferJob
|
|
{
|
|
public string SourceSiteUrl { get; set; } = string.Empty;
|
|
public string SourceLibrary { get; set; } = string.Empty;
|
|
public string SourceFolderPath { get; set; } = string.Empty; // relative within library
|
|
public string DestinationSiteUrl { get; set; } = string.Empty;
|
|
public string DestinationLibrary { get; set; } = string.Empty;
|
|
public string DestinationFolderPath { get; set; } = string.Empty;
|
|
public TransferMode Mode { get; set; } = TransferMode.Copy;
|
|
public ConflictPolicy ConflictPolicy { get; set; } = ConflictPolicy.Skip;
|
|
}
|