Table of Contents

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 DataImportationContext
formService FormService
expressionsService ExpressionsService
entityRepository IEntityRepository
fieldValuesService FieldValuesService
stringLocalizer IStringLocalizer<MasterDataResources>
logger ILogger<DataImportationWorker>

Properties

FormElement

public FormElement FormElement { get; }

Property Value

FormElement

ProcessOptions

public ProcessOptions ProcessOptions { get; set; }

Property Value

ProcessOptions

UserId

public string UserId { get; set; }

Property Value

string

Methods

RunWorkerAsync(CancellationToken)

public Task RunWorkerAsync(CancellationToken token)

Parameters

token CancellationToken

Returns

Task

Events

OnAfterProcessAsync

public event AsyncEventHandler<FormAfterActionEventArgs> OnAfterProcessAsync

Event Type

AsyncEventHandler<FormAfterActionEventArgs>

OnProgressChanged

public event EventHandler<IProgressReporter> OnProgressChanged

Event Type

EventHandler<IProgressReporter>