FileSurfer 2.1.2
Cross-platform file manager with support for Git and SFTP
Loading...
Searching...
No Matches
FileSurfer.Windows.Models.FileInformation.IconWorker Class Referencesealed

Processes icon extraction requests on a dedicated STA worker thread. More...

Inheritance diagram for FileSurfer.Windows.Models.FileInformation.IconWorker:
Collaboration diagram for FileSurfer.Windows.Models.FileInformation.IconWorker:

Public Member Functions

 IconWorker ()
 Initializes a new instance of the IconWorker class.
Task< Bitmap?> Enqueue (string path)
 Queues a file path for icon extraction.
void Dispose ()

Detailed Description

Processes icon extraction requests on a dedicated STA worker thread.

Constructor & Destructor Documentation

◆ IconWorker()

FileSurfer.Windows.Models.FileInformation.IconWorker.IconWorker ( )
inline

Initializes a new instance of the IconWorker class.

Member Function Documentation

◆ 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
pathThe 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