Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

210 lines
11 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="TemplateBuilder" FullName="System.Web.UI.TemplateBuilder">
<TypeSignature Language="C#" Maintainer="auto" Value="public class TemplateBuilder : System.Web.UI.ControlBuilder, System.Web.UI.ITemplate" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
<Base>
<BaseTypeName>System.Web.UI.ControlBuilder</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Web.UI.ITemplate</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>To use a custom <see cref="T:System.Web.UI.TemplateBuilder" /> class for a control, create a custom <see cref="T:System.Web.UI.ControlBuilder" /> for the control, and then return the custom <see cref="T:System.Web.UI.TemplateBuilder" /> control from the <see cref="M:System.Web.UI.ControlBuilder.GetChildControlType(System.String,System.Collections.IDictionary)" /> method.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Supports the page parser in building a template and the child controls it contains.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TemplateBuilder ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.TemplateBuilder" /> class.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="BuildObject">
<MemberSignature Language="C#" Value="public override object BuildObject ();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Used during design time to build the template and its child controls. </para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A reference to the instance of the <see cref="T:System.Web.UI.TemplateBuilder" /> class.</para>
</returns>
</Docs>
</Member>
<Member MemberName="Init">
<MemberSignature Language="C#" Value="public override void Init (System.Web.UI.TemplateParser parser, System.Web.UI.ControlBuilder parentBuilder, Type type, string tagName, string ID, System.Collections.IDictionary attribs);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="parser" Type="System.Web.UI.TemplateParser" />
<Parameter Name="parentBuilder" Type="System.Web.UI.ControlBuilder" />
<Parameter Name="type" Type="System.Type" />
<Parameter Name="tagName" Type="System.String" />
<Parameter Name="ID" Type="System.String" />
<Parameter Name="attribs" Type="System.Collections.IDictionary" />
</Parameters>
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes the template builder when a Web request is made.</para>
</summary>
<param name="parser">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.TemplateParser" /> responsible for parsing the control. </param>
<param name="parentBuilder">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.ControlBuilder" /> responsible for building the control. </param>
<param name="type">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Type" /> assigned to the control that the builder will create. </param>
<param name="tagName">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the tag to build. This allows the builder to support multiple tag types. </param>
<param name="ID">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.Web.UI.ControlBuilder.ID" /> assigned to the control. </param>
<param name="attribs">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Collections.IDictionary" /> that holds all the specified tag attributes. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="InstantiateIn">
<MemberSignature Language="C#" Value="public virtual void InstantiateIn (System.Web.UI.Control container);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="container" Type="System.Web.UI.Control" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="M:System.Web.UI.TemplateBuilder.InstantiateIn(System.Web.UI.Control)" /> method is required when implementing the <see cref="T:System.Web.UI.ITemplate" /> interface. The <see cref="M:System.Web.UI.TemplateBuilder.InstantiateIn(System.Web.UI.Control)" /> method is used only in design time.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Defines the <see cref="T:System.Web.UI.Control" /> object that child controls and templates belong to in design time.</para>
</summary>
<param name="container">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.Control" /> to contain the instances of controls from the inline template.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="NeedsTagInnerText">
<MemberSignature Language="C#" Value="public override bool NeedsTagInnerText ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="M:System.Web.UI.TemplateBuilder.SetTagInnerText(System.String)" /> method needs to be called when we are in design time. The <see cref="M:System.Web.UI.TemplateBuilder.NeedsTagInnerText" /> method returns the value of the <see cref="P:System.Web.UI.ControlBuilder.InDesigner" /> property of the base <see cref="T:System.Web.UI.ControlBuilder" /> class.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Determines if the control builder needs to get its inner text.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>true if the control builder needs to get its inner text. The default is false.</para>
</returns>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="SetTagInnerText">
<MemberSignature Language="C#" Value="public override void SetTagInnerText (string text);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="text" Type="System.String" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="M:System.Web.UI.TemplateBuilder.SetTagInnerText(System.String)" /> method overrides the base class's <see cref="M:System.Web.UI.ControlBuilder.SetTagInnerText(System.String)" /> method and sets the value of the <see cref="P:System.Web.UI.TemplateBuilder.Text" /> property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Saves the inner text of the template tag.</para>
</summary>
<param name="text">
<attribution license="cc4" from="Microsoft" modified="false" />The inner text of the template.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Text">
<MemberSignature Language="C#" Value="public virtual string Text { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<value>To be added: an object of type 'string'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="P:System.Web.UI.TemplateBuilder.Text" /> property is used by the designer to specify or determine the text that appears between the opening and closing tags of the template.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the text between the opening and closing tags of the template.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>