View Source
Interface ITemporaryFileService
Assembly: Umbraco.Core.dll
Syntax
public interface ITemporaryFileService
Methods
View Source
CleanUpOldTempFiles()
Declaration
Task<IEnumerable<Guid>> CleanUpOldTempFiles()
Returns
Type |
Description |
Task<IEnumerable<Guid>> |
|
View Source
CreateAsync(CreateTemporaryFileModel)
Declaration
Task<Attempt<TemporaryFileModel, TemporaryFileOperationStatus>> CreateAsync(CreateTemporaryFileModel createModel)
Parameters
Returns
View Source
DeleteAsync(Guid)
Declaration
Task<Attempt<TemporaryFileModel, TemporaryFileOperationStatus>> DeleteAsync(Guid key)
Parameters
Type |
Name |
Description |
Guid |
key |
|
Returns
View Source
GetAsync(Guid)
Declaration
Task<TemporaryFileModel> GetAsync(Guid key)
Parameters
Type |
Name |
Description |
Guid |
key |
|
Returns