blob: 51d1f98f24bc5da520c71f2a11c630081b77d15e (
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 sealed class CompiledTemplateBuilder : ITemplate
{
private BuildTemplateMethod templateMethod;
public CompiledTemplateBuilder (BuildTemplateMethod templateMethod)
{
this.templateMethod = templateMethod;
}
public void InstantiateIn (Control ctrl)
{
templateMethod (ctrl);
}
}
}
|