mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* CompiledTemplateBuilder.cs: InstantiateIn is virtual. * EmptyControlCollection.cs: throw correct exception. * LosFormatter.cs: stubbed out. * OutputCacheLocation.cs: little fix. svn path=/trunk/mcs/; revision=6728
30 lines
632 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
|