C# Class CairoExplorer.FileToIconConverter

Afficher le fichier Open project: RevolutionSmythe/cairoshell

Méthodes publiques

Méthode Description
ClearInstanceCache ( ) : void
FileToIconConverter ( ) : System
GetImage ( string fileName, IconSize size ) : System.Windows.Media.ImageSource
isVistaUp ( ) : bool

Private Methods

Méthode Description
DeleteObject ( IntPtr hObject ) : bool
GetFileIcon ( string fileName, IconSize size ) : Icon

Return large file icon of the specified file.

PollIconCallback ( object state ) : void
PollThumbnailCallback ( object state ) : void
SHGetFileInfo ( string pszPath, uint dwFileAttributes, SHFILEINFO &psfi, uint cbSizeFileInfo, uint uFlags ) : IntPtr
addToDic ( string fileName, IconSize size ) : System.Windows.Media.ImageSource
copyBitmap ( System.Windows.Media.Imaging.BitmapSource source, System.Windows.Media.Imaging.WriteableBitmap target, bool dispatcher ) : void
getDefaultSize ( IconSize size ) : Size
getImage ( string fileName, IconSize size ) : System.Windows.Media.Imaging.BitmapSource
isExecutable ( string fileName ) : bool
isFolder ( string path ) : bool
isImage ( string fileName ) : bool
loadBitmap ( Bitmap source ) : System.Windows.Media.Imaging.BitmapSource
loadJumbo ( string lookup ) : Bitmap
resizeImage ( Bitmap imgToResize, System size, int spacing ) : Bitmap
resizeJumbo ( Bitmap imgToResize, System size, int spacing ) : Bitmap
returnKey ( string fileName, IconSize size ) : string

Method Details

ClearInstanceCache() public méthode

public ClearInstanceCache ( ) : void
Résultat void

FileToIconConverter() public méthode

public FileToIconConverter ( ) : System
Résultat System

GetImage() public méthode

public GetImage ( string fileName, IconSize size ) : System.Windows.Media.ImageSource
fileName string
size IconSize
Résultat System.Windows.Media.ImageSource

isVistaUp() public static méthode

public static isVistaUp ( ) : bool
Résultat bool