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. |
return |
Stream |
|