Processes icon extraction requests on a dedicated STA worker thread.
More...
Processes icon extraction requests on a dedicated STA worker thread.
◆ IconWorker()
| FileSurfer.Windows.Models.FileInformation.IconWorker.IconWorker |
( |
| ) |
|
|
inline |
Initializes a new instance of the IconWorker class.
◆ Dispose()
| void FileSurfer.Windows.Models.FileInformation.IconWorker.Dispose |
( |
| ) |
|
|
inline |
◆ Enqueue()
| Task< Bitmap?> FileSurfer.Windows.Models.FileInformation.IconWorker.Enqueue |
( |
string | path | ) |
|
|
inline |
Queues a file path for icon extraction.
- Parameters
-
| path | The file path to extract an icon for. |
- Returns
- A task that resolves to the extracted icon, or
null when unavailable.
The documentation for this class was generated from the following file:
- /home/janecea/Documents/CODE/PROJECTS/FileSurfer/src/FileSurfer.Windows/Models/FileInformation/IconWorker.cs