ExcelReportGenerator
StockSharp.Reporting
The report generator for the strategy in the Excel format.
Erbt von: BaseReportGenerator
Konstruktoren
ExcelReportGenerator(IExcelWorkerProvider, ReadOnlyMemory<byte>)
The report generator for the strategy in the Excel format.
- provider
- IExcelWorkerProvider.
- template
- The template bytes to be copied into report and filled. Thread-safe for parallel use.
Eigenschaften
Template : ReadOnlyMemory<byte>
The template bytes to be copied into report and filled.
Methoden
GetTemplate() : byte[]
Gets the embedded template from resources as byte array.
Rückgabe: Template bytes, or empty if not found.
OnGenerate(IReportSource, Stream, CancellationToken) : ValueTask
Generates the report content.
- source
- IReportSource.
- stream
- The stream to write the report to.
- cancellationToken
- CancellationToken.
SwitchSheet(IExcelWorker, string, string)
Switch to sheet by localized name, falling back to English name if not found.