This static class resolves file path or assembly resource Uri and returns contents as byte or text.
The resource uri can be any resolvable file path, relative, absolute or UNC or a resource protocol uri,
- res://myassembly/myresource to load resource from a specific assembly
- res://*/myresource to search all assemblies in the current AppDomain.
See Salient.IO.ResourceLocator.Tests for complete usage examples.
A FileNotFound exception is thrown if any problems arise. Check message and/or inner exception.