コード例 #1
0
ファイル: WebHandlerParser.cs プロジェクト: nlhepler/mono
		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);
		}
コード例 #2
0
ファイル: WebHandlerParser.cs プロジェクト: pmq20/mono_forked
        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));
        }
コード例 #3
0
        /// <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());
        }