Method LoadTextFromResources
|
Improve this Doc
View Source
LoadTextFromResources(string, Assembly)
Load an assembly-embedded file as a
string. Use this if the automatic detection of the assembly fails.
Declaration
public static string LoadTextFromResources(string fileName, Assembly resourceAssembly)
Parameters
Type |
Name |
Description |
string |
fileName |
Name of the file. Folders are point-seperated e.g. folder/file.json becomes folder.file.json |
Assembly |
resourceAssembly |
Executing assembly |
Returns
|
Improve this Doc
View Source
LoadTextFromResources(string)
Load an assembly-embedded file as a
string. The calling assembly is automatically detected.
Declaration
public static string LoadTextFromResources(string fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
Name of the file. Folders are point-seperated e.g. folder/file.json becomes folder.file.json |
Returns