blob: 8d40bf77c282dc9567d396a4da5372bf84f7a581 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
//
// System.Web.UI.WebServiceParser
//
// Authors:
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
//
// (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);
Type type = parser.GetCompiledTypeFromCache ();
if (type != null)
return type;
return WebServiceCompiler.CompileIntoType (parser);
}
protected override string DefaultDirectiveName {
get {
return "webservice";
}
}
}
}
|