1 //------------------------------------------------------------------------------
2 // <copyright file="ITemplate.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 //------------------------------------------------------------------------------
6 
7 /*
8  * A factory for populating a control with children and setting attributes on the
9  * control.
10  *
11  * Copyright (c) 1999 Microsoft Corporation
12  */
13 namespace System.Web.UI {
14 
15 using System;
16 
17 /// <devdoc>
18 ///    <para>
19 ///       Provides a factory definition for populating a control with child
20 ///       controls from an inline template within a page file.
21 ///    </para>
22 /// </devdoc>
23 public interface ITemplate {
24 
25     /// <devdoc>
26     ///    <para>
27     ///       Iteratively populates a provided <see cref='System.Web.UI.ControlCollection'/>
28     ///       Control with a sub-hierarchy of child controls represented by the template.
29     ///    </para>
30     /// </devdoc>
InstantiateIn(Control container)31     void InstantiateIn(Control container);
32 }
33 }
34