C# 클래스 GoogleCloudExtension.Utils.ResourceUtils

This class contains helpers to access resources in the assembly.
파일 보기 프로젝트 열기: GoogleCloudPlatform/google-cloud-visualstudio

공개 메소드들

메소드 설명
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