Exemplo n.º 1
0
		public static Type GetCompiledType (HttpContext context, string virtualPath, string physicalPath)
		{
			WebHandlerParser parser = new WebHandlerParser (context, virtualPath, physicalPath);
			Type type = parser.GetCompiledTypeFromCache ();
			if (type != null)
				return type;

			return WebServiceCompiler.CompileIntoType (parser);
		}
Exemplo n.º 2
0
        public static Type GetCompiledType(HttpContext context, string virtualPath, string physicalPath)
        {
            WebHandlerParser parser = new WebHandlerParser(context, virtualPath, physicalPath);
            Type             type   = parser.GetCompiledTypeFromCache();

            if (type != null)
            {
                return(type);
            }

            return(WebServiceCompiler.CompileIntoType(parser));
        }
        /// <include file='doc\SimpleWebHandlerParser.uex' path='docs/doc[@for="WebHandlerParser.GetCompiledType"]/*' />
        /// <devdoc>
        ///    <para>[To be supplied.]</para>
        /// </devdoc>
        internal static Type GetCompiledType(string virtualPath, string physicalPath, HttpContext context)
        {
            WebHandlerParser parser = new WebHandlerParser(context, virtualPath, physicalPath);

            return(parser.GetCompiledTypeFromCache());
        }