Class BeginImportContentItemsFromCsv.BackgroundTask
- Namespace
- Raytha.Application.ContentItems.Commands
- Assembly
- Raytha.Application.dll
public class BeginImportContentItemsFromCsv.BackgroundTask : IExecuteBackgroundTask
- Inheritance
-
BeginImportContentItemsFromCsv.BackgroundTask
- Implements
- Inherited Members
Constructors
BackgroundTask(IRaythaDbContext, ICsvService, IFileStorageProvider, IFileStorageProviderSettings, ICurrentOrganization)
public BackgroundTask(IRaythaDbContext db, ICsvService csvService, IFileStorageProvider fileStorageProvider, IFileStorageProviderSettings fileStorageProviderSettings, ICurrentOrganization currentOrganization)
Parameters
db
IRaythaDbContextcsvService
ICsvServicefileStorageProvider
IFileStorageProviderfileStorageProviderSettings
IFileStorageProviderSettingscurrentOrganization
ICurrentOrganization
Methods
Execute(Guid, JsonElement, CancellationToken)
public Task Execute(Guid jobId, JsonElement args, CancellationToken cancellationToken)
Parameters
jobId
Guidargs
JsonElementcancellationToken
CancellationToken