blob: cbe660d25d435cf29d564c60d03dbbb759bff779 (
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
|
//
// System.Web.UI.CompiledTemplateBuilder
//
// Authors:
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
//
// (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 void InstantiateIn (Control ctrl)
{
templateMethod (ctrl);
}
}
}
|