Files
mono/mcs/class/System.Web/System.Web.UI/CompiledTemplateBuilder.cs
T
Gonzalo Paniagua Javier 802d88b3f7 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
* CompiledTemplateBuilder.cs: InstantiateIn is virtual.
	* EmptyControlCollection.cs: throw correct exception.
	* LosFormatter.cs: stubbed out.
	* OutputCacheLocation.cs: little fix.

svn path=/trunk/mcs/; revision=6728
2002-08-19 00:18:18 +00:00

30 lines
632 B
C#

//
// System.Web.UI.CompiledTemplateBuilder
//
// Authors:
// Gonzalo Paniagua Javier ([email protected])
//
// (C) 2002 Ximian, Inc (http://www.ximian.com)
//
// This is used in the generated C# code from MS and xsp does the same.
// It just seems to be a container implementing an ITemplate interface.
namespace System.Web.UI {
public class CompiledTemplateBuilder : ITemplate
{
private BuildTemplateMethod templateMethod;
public CompiledTemplateBuilder (BuildTemplateMethod templateMethod)
{
this.templateMethod = templateMethod;
}
public virtual void InstantiateIn (Control ctrl)
{
templateMethod (ctrl);
}
}
}