2 // System.Web.UI.CompiledTemplateBuilder
5 // Gonzalo Paniagua Javier (gonzalo@ximian.com)
7 // (C) 2002 Ximian, Inc (http://www.ximian.com)
9 // This is used in the generated C# code from MS and xsp does the same.
10 // It just seems to be a container implementing an ITemplate interface.
12 namespace System.Web.UI {
14 public sealed class CompiledTemplateBuilder : ITemplate
16 private BuildTemplateMethod templateMethod;
18 public CompiledTemplateBuilder (BuildTemplateMethod templateMethod)
20 this.templateMethod = templateMethod;
23 public void InstantiateIn (Control ctrl)
25 templateMethod (ctrl);