System.Web.UI.UserControlParser.CompileIntoType C# (CSharp) Method

CompileIntoType() protected method

protected CompileIntoType ( ) : Type
return System.Type
		protected override Type CompileIntoType ()
		{
			AspGenerator generator = new AspGenerator (this);
			return generator.GetCompiledType ();
		}

Usage Example

Example #1
0
        public static Type GetCompiledType(string virtualPath, string inputFile, HttpContext context)
        {
#if NET_2_0
            UserControlParser ucp = new UserControlParser(new VirtualPath(virtualPath), inputFile, context);
#else
            UserControlParser ucp = new UserControlParser(virtualPath, inputFile, context);
#endif
            return(ucp.CompileIntoType());
        }
All Usage Examples Of System.Web.UI.UserControlParser::CompileIntoType