C# Class Microsoft.VisualStudio.R.Package.Imaging.ImagesProvider

Inheritance: IImagesProvider
Afficher le fichier Open project: Microsoft/RTVS

Méthodes publiques

Méthode Description
GetFileIcon ( string file ) : System.Windows.Media.ImageSource

Given file name returns icon depending on the file extension

GetIconForImageMoniker ( ImageMoniker imageMoniker ) : System.Windows.Media.ImageSource
GetImage ( string name ) : System.Windows.Media.ImageSource

Returns image source given name of the image moniker such as name from http://glyphlist.azurewebsites.net/knownmonikers

Private Methods

Méthode Description
CreateExtensionCache ( ) : string>.Dictionary
FindKnownMoniker ( string name ) : ImageMoniker?
GetImageFromResources ( string name ) : System.Windows.Media.ImageSource

Method Details

GetFileIcon() public méthode

Given file name returns icon depending on the file extension
public GetFileIcon ( string file ) : System.Windows.Media.ImageSource
file string
Résultat System.Windows.Media.ImageSource

GetIconForImageMoniker() public static méthode

public static GetIconForImageMoniker ( ImageMoniker imageMoniker ) : System.Windows.Media.ImageSource
imageMoniker ImageMoniker
Résultat System.Windows.Media.ImageSource

GetImage() public méthode

Returns image source given name of the image moniker such as name from http://glyphlist.azurewebsites.net/knownmonikers
public GetImage ( string name ) : System.Windows.Media.ImageSource
name string
Résultat System.Windows.Media.ImageSource