Skip to content
Fetch embedded resources easily with case-insensitive matching, and path-style strings
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
EasyResource
EasyResourceTests
docs
.gitignore
EasyResource.sln
LICENSE
README.md
_config.yml

README.md

Easy-Resources

Fetch embedded resources easily

string resource = EasyResources.GetStringResource<UnitTest1>("/Resources/textfile.txt"); 
byte[] resourceBytes = EasyResources.GetResource<UnitTest1>("/Resources/Image.png");
string resource = assembly.GetStringResource("/Resources/textfile.txt");
byte[] resourceBytes = assembly.GetResource("/Resources/Image.png");
You can’t perform that action at this time.