public void RegisterCustomResource( string name, string location, string version, IResource resource, string mimeType )
		{
			AssertParams( name, resource, mimeType );

			_KeysToResources[ new ResourceKey( name, location, version ) ] = new ResourceHolder( resource, mimeType );
		}
		public void RegisterAssemblyResource( string name, string location, string version, string assemblyName, string resourceName, string resourceEntry, string mimeType )
		{
			AssertParams( name, assemblyName, resourceName, resourceEntry, mimeType );
			
			CultureInfo invariantCulture = CultureInfo.InvariantCulture;

			if ( ( location != null ) && ( location != "neutral" ) )
			{
				invariantCulture = CultureInfo.CreateSpecificCulture( location );
			}

			IResource resource = new AssemblyBundleResource( new CustomUri( "assembly://" + assemblyName + "/" + resourceName + "/" + resourceEntry ), invariantCulture );
			
			_KeysToResources[ new ResourceKey( name, location, version ) ] = new ResourceHolder( resource, mimeType );
		}