Salient.IO.ResourceLocator

Rating: No reviews yet
Downloads: 8
Released: Jan 19, 2010
Updated: Jan 19, 2010 by Sky
Dev status: Stable Help Icon

Recommended Download

Source Code Salient.IO.ResourceLocator v1.0
source code, 29K, uploaded Jan 19, 2010 - 8 downloads

Release Notes

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,
e.g.
  • 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.

Reviews for this release

No reviews yet for this release.