mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 12:31:30 -10:00
* System.Web.Compilation/AspElements.cs: * System.Web.Compilation/AspParser.cs: * System.Web.Compilation/AspTokenizer.cs: * System.Web.Compilation/ChangeLog: * System.Web.Compilation/PageCompiler.cs: * System.Web.Compilation/TemplateFactory.cs: * System.Web.UI/ApplicationFileParser.cs: * System.Web.UI/BaseParser.cs: * System.Web.UI/PageParser.cs: * System.Web.UI/TemplateControl.cs: * System.Web.UI/TemplateControlParser.cs: * System.Web.UI/TemplateParser.cs: first steps to move xsp into System.Web. svn path=/trunk/mcs/; revision=6668
46 lines
852 B
C#
46 lines
852 B
C#
//
|
|
// System.Web.UI.PageParser
|
|
//
|
|
// Authors:
|
|
// Gonzalo Paniagua Javier ([email protected])
|
|
//
|
|
// (C) 2002 Ximian, Inc (http://www.ximian.com)
|
|
//
|
|
using System;
|
|
using System.Web;
|
|
using System.Web.Compilation;
|
|
|
|
namespace System.Web.UI
|
|
{
|
|
public sealed class PageParser : TemplateControlParser
|
|
{
|
|
public static IHttpHandler GetCompiledPageInstance (string virtualPath,
|
|
string inputFile,
|
|
HttpContext context)
|
|
{
|
|
PageParser pp = new PageParser ();
|
|
return (IHttpHandler) pp.GetCompiledInstance (virtualPath, inputFile, context);
|
|
}
|
|
|
|
protected override Type CompileIntoType ()
|
|
{
|
|
return PageCompiler.CompilePageType (this);
|
|
}
|
|
|
|
protected override Type DefaultBaseType
|
|
{
|
|
get {
|
|
return typeof (Page);
|
|
}
|
|
}
|
|
|
|
protected override string DefaultDirectiveName
|
|
{
|
|
get {
|
|
return "page";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|