C# Класс GoogleCloudExtension.Utils.ResourceUtils

This class contains helpers to access resources in the assembly.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetAssemblyName ( ) : string

Описание методов

GetResourceUri() публичный статический Метод

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.
Результат System.Uri

LoadImage() публичный статический Метод

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.
Результат System.Windows.Media.ImageSource