C# Класс Mapsui.Utilities.EmbeddedResourceLoader

Показать файл Открыть проект

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

Метод Описание
Load ( string relativePathToEmbeddedResource, Type typeInAssemblyOfEmbeddedResource ) : Stream

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

Метод Описание
ConstructExceptionMessage ( string path, Assembly assembly ) : string
GetAssemblyName ( Assembly assembly ) : string

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

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

public static Load ( string relativePathToEmbeddedResource, Type typeInAssemblyOfEmbeddedResource ) : Stream
relativePathToEmbeddedResource string This is the path of the resource without the assemlby path but including /// possible project folders. So if an image 'myimage.png' is in a project folders 'images' the path is /// 'images.myimage.png'. Resources always uses '.' as separators.
typeInAssemblyOfEmbeddedResource System.Type This should be a type that is in the same assembly /// as the EmbeddedResource. It is used to infer the full path and is necessary to load the resource.
Результат Stream