mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
* list: added PageHandlerFactory. * System.Web/HttpApplication.cs: * System.Web/HttpApplicationFactory.cs: * System.Web/HttpRequest.cs: * System.Web/HttpRuntime.cs: * System.Web.Compilation/AspElements.cs: * System.Web.Compilation/AspGenerator.cs: * System.Web.Compilation/AspParser.cs: * System.Web.Compilation/PageCompiler.cs: * System.Web.Compilation/TemplateFactory.cs: Modified file. * System.Web.Configuration/HttpCapabilitiesBase.cs: * System.Web.Hosting/SimpleWorkerRequest.cs: * System.Web.UI/PageHandlerFactory.cs: * System.Web.UI/PageParser.cs: * System.Web.UI/TemplateControlParser.cs: we are now able to compile pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest. svn path=/trunk/mcs/; revision=7880
29 lines
567 B
C#
29 lines
567 B
C#
//
|
|
// System.Web.UI.TemplateControlParser
|
|
//
|
|
// Authors:
|
|
// Gonzalo Paniagua Javier ([email protected])
|
|
//
|
|
// (C) 2002 Ximian, Inc (http://www.ximian.com)
|
|
//
|
|
using System;
|
|
using System.IO;
|
|
using System.Web.Compilation;
|
|
|
|
namespace System.Web.UI
|
|
{
|
|
public abstract class TemplateControlParser : TemplateParser
|
|
{
|
|
internal object GetCompiledInstance (string virtualPath, string inputFile, HttpContext context)
|
|
{
|
|
InputFile = inputFile;
|
|
Type type = CompileIntoType ();
|
|
if (type == null)
|
|
return null;
|
|
|
|
return Activator.CreateInstance (type);
|
|
}
|
|
}
|
|
}
|
|
|