Class ExcelFileDownloadService
Inheritance
ExcelFileDownloadService
Assembly: Volo.Abp.AuditLogging.Application.dll
Syntax
public class ExcelFileDownloadService : IExcelFileDownloadService, ITransientDependency
Constructors
ExcelFileDownloadService(IOptions<AuditLogExcelFileOptions>, IBlobContainer<AuditLogExcelContainer>, IAuditLogExcelFileRepository, IClock, ILogger<ExcelFileDownloadService>, IGuidGenerator)
Declaration
public ExcelFileDownloadService(IOptions<AuditLogExcelFileOptions> options, IBlobContainer<AuditLogExcelContainer> blobContainer, IAuditLogExcelFileRepository excelFileRepository, IClock clock, ILogger<ExcelFileDownloadService> logger, IGuidGenerator guidGenerator)
Parameters
Methods
CleanupOldFilesAsync()
Declaration
public Task CleanupOldFilesAsync()
Returns
CreateDownloadLinkAsync(string)
Declaration
public Task<string> CreateDownloadLinkAsync(string fileName)
Parameters
| Type |
Name |
Description |
| string |
fileName |
|
Returns
GenerateUniqueFileName(string, string)
Declaration
public string GenerateUniqueFileName(string fileNameWithoutExtension, string extension)
Parameters
| Type |
Name |
Description |
| string |
fileNameWithoutExtension |
|
| string |
extension |
|
Returns
GetFileContentAsync(string)
Declaration
public Task<Stream> GetFileContentAsync(string fileName)
Parameters
| Type |
Name |
Description |
| string |
fileName |
|
Returns
SaveFileAsync(string, Stream, Guid?)
Declaration
public Task SaveFileAsync(string fileName, Stream fileContent, Guid? createdBy)
Parameters
Returns
Implements
Extension Methods