Class TextWriter
- Namespace
- JJMasterData.Core.DataManager.Exportation
- Assembly
- JJMasterData.Core.dll
public class TextWriter : DataExportationWriterBase, IBackgroundTaskWorker, ITextWriter, IExportationWriter
- Inheritance
-
TextWriter
- Implements
- Inherited Members
Constructors
TextWriter(IEncryptionService, ExpressionsService, IStringLocalizer<MasterDataResources>, IOptionsSnapshot<MasterDataCoreOptions>, ILoggerFactory, IEntityRepository)
public TextWriter(IEncryptionService encryptionService, ExpressionsService expressionsService, IStringLocalizer<MasterDataResources> stringLocalizer, IOptionsSnapshot<MasterDataCoreOptions> options, ILoggerFactory logger, IEntityRepository entityRepository)
Parameters
encryptionService
IEncryptionServiceexpressionsService
ExpressionsServicestringLocalizer
IStringLocalizer<MasterDataResources>options
IOptionsSnapshot<MasterDataCoreOptions>logger
ILoggerFactoryentityRepository
IEntityRepository
Properties
Delimiter
public string Delimiter { get; set; }
Property Value
Methods
GenerateDocument(Stream, CancellationToken)
public override Task GenerateDocument(Stream stream, CancellationToken token)
Parameters
stream
Streamtoken
CancellationToken
Returns
Events
OnRenderCellAsync
public event AsyncEventHandler<GridCellEventArgs> OnRenderCellAsync