Provides Linux file icons by resolving MIME types and loading themed icon assets.
More...
|
| | LinuxIconProvider (IShellHandler shellHandler, IReadOnlyList< string > searchPaths, Dictionary< string, string > extToMime) |
| | Creates a Linux icon provider that uses the shell for MIME and icon path integration.
|
| override async Task< Bitmap > | GetFileIconAsync (string filePath) |
| | Retrieves the associated icon based on the supplied file path.
|
| override void | Dispose () |
| virtual Task< Bitmap > | GetDirectoryIconAsync (string dirPath) |
| | Retrieves the icon associated with directories.
|
| virtual Task< Bitmap > | GetDriveIconAsync (DriveEntryInfo driveEntryInfo) |
| | Retrieves the icon associated with drives.
|
Provides Linux file icons by resolving MIME types and loading themed icon assets.
◆ LinuxIconProvider()
| FileSurfer.Linux.Models.FileInformation.LinuxIconProvider.LinuxIconProvider |
( |
IShellHandler | shellHandler, |
|
|
IReadOnlyList< string > | searchPaths, |
|
|
Dictionary< string, string > | extToMime ) |
|
inline |
Creates a Linux icon provider that uses the shell for MIME and icon path integration.
◆ Dispose()
| override void FileSurfer.Linux.Models.FileInformation.LinuxIconProvider.Dispose |
( |
| ) |
|
|
inlinevirtual |
◆ GetFileIconAsync()
| override async Task< Bitmap > FileSurfer.Linux.Models.FileInformation.LinuxIconProvider.GetFileIconAsync |
( |
string | filePath | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file:
- /home/janecea/Documents/CODE/PROJECTS/FileSurfer/src/FileSurfer.Linux/Models/FileInformation/LinuxIconProvider.cs