Class DataImportationWorker
- Namespace
- JJMasterData.Core.DataManager.Importation
- Assembly
- JJMasterData.Core.dll
public class DataImportationWorker : IBackgroundTaskWorker
- Inheritance
-
DataImportationWorker
- Implements
- Inherited Members
Constructors
DataImportationWorker(DataImportationContext, FormService, ExpressionsService, IEntityRepository, FieldValuesService, IStringLocalizer<MasterDataResources>, ILogger<DataImportationWorker>)
public DataImportationWorker(DataImportationContext context, FormService formService, ExpressionsService expressionsService, IEntityRepository entityRepository, FieldValuesService fieldValuesService, IStringLocalizer<MasterDataResources> stringLocalizer, ILogger<DataImportationWorker> logger)
Parameters
context
DataImportationContextformService
FormServiceexpressionsService
ExpressionsServiceentityRepository
IEntityRepositoryfieldValuesService
FieldValuesServicestringLocalizer
IStringLocalizer<MasterDataResources>logger
ILogger<DataImportationWorker>
Properties
FormElement
public FormElement FormElement { get; }
Property Value
ProcessOptions
public ProcessOptions ProcessOptions { get; set; }
Property Value
UserId
public string UserId { get; set; }
Property Value
Methods
RunWorkerAsync(CancellationToken)
public Task RunWorkerAsync(CancellationToken token)
Parameters
token
CancellationToken
Returns
Events
OnAfterProcessAsync
public event AsyncEventHandler<FormAfterActionEventArgs> OnAfterProcessAsync
Event Type
OnProgressChanged
public event EventHandler<IProgressReporter> OnProgressChanged