static Type GetCachedType(HttpContext context, string url, bool throwException) { ICachedXmlDoc doc = PageMapper.GetAssembliesCachedDocument(context); Type t = doc.GetType(context, url); if (t == null && throwException) { throw new HttpException(404, "The requested resource (" + url + ") is not available."); } return(t); }
static Assembly GetCachedAssembly(HttpContext context, string url) { ICachedXmlDoc doc = PageMapper.GetAssembliesCachedDocument(context); return(doc.GetAssembly(context, url)); }
static string GetCachedResource(HttpContext context, string url) { ICachedXmlDoc doc = PageMapper.GetAssembliesCachedDocument(context); return(doc.GetAssemblyResourceName(context, url)); }