A resized image file.
More...
◆ ResizedImageFile()
Constructs a new instance of ResizedImageFile.
- Parameters
-
originalFile | An original image file. |
size | A resized image size. |
◆ GetFileInfoAsync()
async Task<FileInfo> GetFileInfoAsync |
( |
CancellationToken |
cancellationToken | ) |
|
|
inline |
Asynchronously gets file information.
- Parameters
-
cancellationToken | A cancellation token. |
- Returns
- A FileInfo structure.
◆ GetUrlAsync()
Task<string> GetUrlAsync |
( |
CancellationToken |
cancellationToken | ) |
|
|
inline |
Asynchronously gets file url.
If a file system should generate Proxy
commands, a file url should be retreived with help of IProxyUrlGenerator.
- Parameters
-
cancellationToken | A cancellation token. |
- Returns
- A file url.
◆ ReadAsync()
Task<Stream> ReadAsync |
( |
CancellationToken |
cancellationToken | ) |
|
|
inline |
Asynchronously reads resized image content.
- Parameters
-
cancellationToken | A cancellation token. |
- Returns
- A stream with resized image data.
◆ FullPath
Gets resized image absolute path.
◆ Name
◆ OriginalFile
Gets original image file.
◆ Size
The documentation for this class was generated from the following file: