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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
<?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>
|