Table of Contents

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 ExpressionsService
encryptionService IEncryptionService
stringLocalizer IStringLocalizer<MasterDataResources>
options IOptionsSnapshot<MasterDataCoreOptions>
loggerFactory ILoggerFactory
entityRepository IEntityRepository

Properties

ShowBorder

public bool ShowBorder { get; set; }

Property Value

bool

ShowRowStriped

Exibir colunas zebradas (Default = true)

public bool ShowRowStriped { get; set; }

Property Value

bool

Methods

GenerateDocument(Stream, CancellationToken)

public override Task GenerateDocument(Stream stream, CancellationToken token)

Parameters

stream Stream
token CancellationToken

Returns

Task

Events

OnRenderCellAsync

public event AsyncEventHandler<GridCellEventArgs> OnRenderCellAsync

Event Type

AsyncEventHandler<GridCellEventArgs>