Files
mono/mcs/class/System.Web/System.Web.UI/UserControlParser.cs
T
Gonzalo Paniagua Javier 3e90439160 2002-11-27 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspGenerator.cs: fixed target file name and
	generated class name.
	* System.Web.Compilation/BaseCompiler.cs: reference assemblies in
	PrivateBinPath.
	* System.Web.UI/UserControl.cs: fixed SetAttribute.
	* System.Web.UI/UserControlParser.cs: set the correct base type.

svn path=/trunk/mcs/; revision=9202
2002-11-27 04:24:57 +00:00

50 lines
924 B
C#

//
// System.Web.UI.UserControlParser
//
// 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 UserControlParser : TemplateControlParser
{
internal UserControlParser (string inputFile)
{
InputFile = inputFile;
}
public static Type GetCompiledType (string virtualPath, string inputFile, HttpContext context)
{
UserControlParser ucp = new UserControlParser (inputFile);
Type t = ucp.CompileIntoType ();
return t;
}
protected override Type CompileIntoType ()
{
return UserControlCompiler.CompileUserControlType (this);
}
protected override Type DefaultBaseType
{
get {
return typeof (UserControl);
}
}
protected override string DefaultDirectiveName
{
get {
return "control";
}
}
}
}