mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
* list: added new files. * System.Web.Compilation/AspElements.cs: added WebService directive. * System.Web.Compilation/WebServiceCompiler.cs: New file. * System.Web.UI/SimpleWebHandlerParser.cs: New file. * System.Web.UI/WebServiceParser.cs: New file. svn path=/trunk/mcs/; revision=7364
37 lines
756 B
C#
37 lines
756 B
C#
//
|
|
// System.Web.UI.WebServiceParser
|
|
//
|
|
// Authors:
|
|
// Gonzalo Paniagua Javier ([email protected])
|
|
//
|
|
// (C) 2002 Ximian, Inc (http://www.ximian.com)
|
|
//
|
|
|
|
using System.Web;
|
|
using System.Web.Compilation;
|
|
|
|
namespace System.Web.UI
|
|
{
|
|
public class WebServiceParser : SimpleWebHandlerParser
|
|
{
|
|
private WebServiceParser (HttpContext context, string virtualPath, string physicalPath)
|
|
: base (context, virtualPath, physicalPath)
|
|
{
|
|
}
|
|
|
|
public static Type GetCompiledType (string inputFile, HttpContext context)
|
|
{
|
|
WebServiceParser parser = new WebServiceParser (context, null, inputFile);
|
|
return WebServiceCompiler.CompileIntoType (parser);
|
|
}
|
|
|
|
protected override string DefaultDirectiveName
|
|
{
|
|
get {
|
|
return "webservice";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|