C# Class GoogleCloudExtension.Utils.ResourceUtils

This class contains helpers to access resources in the assembly.
Afficher le fichier Open project: GoogleCloudPlatform/google-cloud-visualstudio

Méthodes publiques

Méthode Description
GetResourceUri ( string path ) : Uri

Returns the resource Uri given its local path in the project.

LoadImage ( string path ) : System.Windows.Media.ImageSource

Loads an image resource given its relative path in the resources.

Private Methods

Méthode Description
GetAssemblyName ( ) : string

Method Details

GetResourceUri() public static méthode

Returns the resource Uri given its local path in the project.
public static GetResourceUri ( string path ) : Uri
path string The local path in the project.
Résultat System.Uri

LoadImage() public static méthode

Loads an image resource given its relative path in the resources.
public static LoadImage ( string path ) : System.Windows.Media.ImageSource
path string The path of the resource to load.
Résultat System.Windows.Media.ImageSource