Class ExcelWriter
- Namespace
- JJMasterData.Core.DataManager.Exportation
- Assembly
- JJMasterData.Core.dll
public class ExcelWriter : DataExportationWriterBase, IBackgroundTaskWorker, IExcelWriter, IExportationWriter
- Inheritance
-
ExcelWriter
- Implements
- Inherited Members
Constructors
ExcelWriter(ExpressionsService, IEncryptionService, IStringLocalizer<MasterDataResources>, IOptionsSnapshot<MasterDataCoreOptions>, ILoggerFactory, IEntityRepository)
public ExcelWriter(ExpressionsService expressionsService, IEncryptionService encryptionService, IStringLocalizer<MasterDataResources> stringLocalizer, IOptionsSnapshot<MasterDataCoreOptions> options, ILoggerFactory loggerFactory, IEntityRepository entityRepository)
Parameters
expressionsService
ExpressionsServiceencryptionService
IEncryptionServicestringLocalizer
IStringLocalizer<MasterDataResources>options
IOptionsSnapshot<MasterDataCoreOptions>loggerFactory
ILoggerFactoryentityRepository
IEntityRepository
Properties
ShowBorder
public bool ShowBorder { get; set; }
Property Value
ShowRowStriped
Exibir colunas zebradas (Default = true)
public bool ShowRowStriped { 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