a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
77 lines
4.3 KiB
XML
77 lines
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Type Name="ExpressionPrefixAttribute" FullName="System.Web.Compilation.ExpressionPrefixAttribute">
|
|
<TypeSignature Language="C#" Value="public sealed class ExpressionPrefixAttribute : Attribute" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>System.Web</AssemblyName>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<Base>
|
|
<BaseTypeName>System.Attribute</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Attributes>
|
|
<Attribute>
|
|
<AttributeName>System.AttributeUsage(System.AttributeTargets.Class)</AttributeName>
|
|
</Attribute>
|
|
</Attributes>
|
|
<Docs>
|
|
<since version=".NET 2.0" />
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The <see cref="T:System.Web.Compilation.ExpressionPrefixAttribute" /> class is used at design time with expressions that are not defined in the configuration file. Use the <see cref="P:System.Web.Compilation.ExpressionPrefixAttribute.ExpressionPrefix" /> property to get the name of the prefix that is associated with the <see cref="T:System.Web.Compilation.ExpressionPrefixAttribute" /> object. An expression builder looks for any statements with the following form: </para>
|
|
<para><%$ [expressionPrefix]:[expressionValue] %> </para>
|
|
<para>Then the expression builder, based on the prefix of the expression, generates code for the property assignment. The <paramref name="expressionPrefix" /> parameter refers to a configured expression builder, which is defined in the configuration file or through an <see cref="T:System.Web.Compilation.ExpressionPrefixAttribute" /> object. </para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Specifies the prefix attribute to use for the expression builder. This class cannot be inherited. </para>
|
|
</summary>
|
|
</Docs>
|
|
<Members>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public ExpressionPrefixAttribute (string expressionPrefix);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<Parameters>
|
|
<Parameter Name="expressionPrefix" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<since version=".NET 2.0" />
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Use the <see cref="M:System.Web.Compilation.ExpressionPrefixAttribute.#ctor(System.String)" /> constructor to initialize an instance of the <see cref="T:System.Web.Compilation.ExpressionPrefixAttribute" /> class using a prefix identifier. The <see cref="M:System.Web.Compilation.ExpressionPrefixAttribute.#ctor(System.String)" /> is the default constructor for the <see cref="T:System.Web.Compilation.ExpressionPrefixAttribute" /> class.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Initializes a new instance of the <see cref="T:System.Web.Compilation.ExpressionPrefixAttribute" /> class.</para>
|
|
</summary>
|
|
<param name="expressionPrefix">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The prefix of the current <see cref="T:System.Web.Compilation.ExpressionBuilder" />.</param>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="ExpressionPrefix">
|
|
<MemberSignature Language="C#" Value="public string ExpressionPrefix { 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>Use the <see cref="P:System.Web.Compilation.ExpressionPrefixAttribute.ExpressionPrefix" /> property to retrieve the name of the prefix that is associated with a given attribute. </para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets the prefix value for the current <see cref="T:System.Web.Compilation.ExpressionBuilder" /> object.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
</Members>
|
|
</Type> |