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

159 lines
8.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="ImplicitResourceKey" FullName="System.Web.Compilation.ImplicitResourceKey">
<TypeSignature Language="C#" Value="public sealed class ImplicitResourceKey" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.Web.Compilation.ImplicitResourceKey" /> class contains fields that identify an implicit resource key. </para>
<para>An implicit resource is assigned to a control in the following form:</para>
<code> &lt;asp:label runat="server" id="label1" meta:resourcekey="Welcome"
text="Welcome"
ie:text="Welcome Internet Explorer User"
forecolor="blue"/&gt; </code>
<para>During page parsing, an implicit resource is converted into explicit keys in the form [filter:]prefix.property[.subproperty]. Any resource values with the specified prefix (in the preceding example, a prefix of Welcome) are assigned to the matching control properties. For example, suppose values exist in the resource file or source code for the following keys:</para>
<para> Welcome.Text</para>
<para> Ie:Welcome.Text</para>
<para> Welcome.Forecolor</para>
<para>These values are assigned to their respective control properties.</para>
<para>Implicit resource keys can reference only local resources.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Contains fields that identify an implicit resource key.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ImplicitResourceKey ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.Compilation.ImplicitResourceKey" /> class. </para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ImplicitResourceKey (string filter, string keyPrefix, string property);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="filter" Type="System.String" />
<Parameter Name="keyPrefix" Type="System.String" />
<Parameter Name="property" Type="System.String" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.Compilation.ImplicitResourceKey" /> class with the specified values for the <see cref="P:System.Web.Compilation.ImplicitResourceKey.Filter" />, <see cref="P:System.Web.Compilation.ImplicitResourceKey.KeyPrefix" /> and <see cref="P:System.Web.Compilation.ImplicitResourceKey.Property" /> properties.</para>
</summary>
<param name="filter">
<attribution license="cc4" from="Microsoft" modified="false" />The filter value of an implicit resource key.</param>
<param name="keyPrefix">
<attribution license="cc4" from="Microsoft" modified="false" />The prefix for identifying a group of properties.</param>
<param name="property">
<attribution license="cc4" from="Microsoft" modified="false" />A property and subproperty, if provided, for an implicit resource key.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Filter">
<MemberSignature Language="C#" Value="public string Filter { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="P:System.Web.Compilation.ImplicitResourceKey.Filter" /> property refers to the value before the colon (:) in an expression. For example, suppose you had an implicit resource in the following form:</para>
<code>&lt;asp:label runat="server" id="label1" meta:resourcekey="Welcome"
text="Welcome"
ie:text="Welcome Internet Explorer User"
forecolor="blue"/&gt; </code>
<para>This resource contains three keys that potentially have localized resource values to retrieve from the resource file or source code. One of these keys is Ie:Welcome.Text, in which "Ie" is the <see cref="P:System.Web.Compilation.ImplicitResourceKey.Filter" /> value.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the filter value of an implicit resource key.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="KeyPrefix">
<MemberSignature Language="C#" Value="public string KeyPrefix { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="P:System.Web.Compilation.ImplicitResourceKey.KeyPrefix" /> property ties together a collection of properties that can be assigned to a control. The <see cref="P:System.Web.Compilation.ImplicitResourceKey.KeyPrefix" /> property refers to the value after the colon (:) in an expression, if present, and before the first period (.). For example, suppose you had an implicit resource in the following form:</para>
<code>&lt;asp:label runat="server" id="label1" meta:resourcekey="Welcome"
text="Welcome"
ie:text="Welcome Internet Explorer User"
forecolor="blue"/&gt; </code>
<para>This resource contains three keys, Welcome.Text, Ie:Welcome.Text, and Welcome.Forecolor, that potentially have localized resource values to retrieve from the resource file or source code. Each key has "Welcome" as the <see cref="P:System.Web.Compilation.ImplicitResourceKey.KeyPrefix" /> value.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the prefix for identifying a group of properties.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Property">
<MemberSignature Language="C#" Value="public string Property { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="P:System.Web.Compilation.ImplicitResourceKey.Property" /> property specifies the control property to be localized. The <see cref="P:System.Web.Compilation.ImplicitResourceKey.Property" /> property refers to the value after the first period (.) in an expression. For example, suppose you had an implicit resource in the following form:</para>
<code>&lt;asp:label runat="server" id="label1" meta:resourcekey="Welcome"
text="Welcome"
ie:text="Welcome Internet Explorer User"
forecolor="blue"/&gt; </code>
<para>This resource contains three keys, Welcome.Text, Ie:Welcome.Text, and Welcome.Forecolor, that potentially have localized resource values to retrieve from the resource file or source code. Those keys have <see cref="P:System.Web.Compilation.ImplicitResourceKey.Property" /> values of "Text", "Text", and "Forecolor", respectively.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets a property and subproperty, if provided, for an implicit resource key.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>