NewArrayExpression.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Type Name="NewArrayExpression" FullName="System.Linq.Expressions.NewArrayExpression">
  3. <TypeSignature Language="C#" Value="public class NewArrayExpression : System.Linq.Expressions.Expression" />
  4. <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit NewArrayExpression extends System.Linq.Expressions.Expression" />
  5. <AssemblyInfo>
  6. <AssemblyName>System.Core</AssemblyName>
  7. <AssemblyVersion>3.5.0.0</AssemblyVersion>
  8. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  9. </AssemblyInfo>
  10. <Base>
  11. <BaseTypeName>System.Linq.Expressions.Expression</BaseTypeName>
  12. </Base>
  13. <Interfaces />
  14. <Attributes>
  15. <Attribute>
  16. <AttributeName>System.Diagnostics.DebuggerTypeProxy(typeof(System.Linq.Expressions.Expression/NewArrayExpressionProxy))</AttributeName>
  17. </Attribute>
  18. </Attributes>
  19. <Docs>
  20. <remarks>
  21. <attribution license="cc4" from="Microsoft" modified="false" />
  22. <para>The following table shows the different factory methods that you can use to create a <see cref="T:System.Linq.Expressions.NewArrayExpression" /> depending on the <see cref="P:System.Linq.Expressions.Expression.NodeType" /> you require.</para>
  23. <list type="table">
  24. <listheader>
  25. <item>
  26. <term>
  27. <para>
  28. <see cref="P:System.Linq.Expressions.Expression.NodeType" />
  29. </para>
  30. </term>
  31. <description>
  32. <para>Factory Methods</para>
  33. </description>
  34. </item>
  35. </listheader>
  36. <item>
  37. <term>
  38. <para>
  39. <see cref="F:System.Linq.Expressions.ExpressionType.NewArrayBounds" />
  40. </para>
  41. </term>
  42. <description>
  43. <para>
  44. <see cref="Overload:System.Linq.Expressions.Expression.NewArrayBounds" />
  45. </para>
  46. </description>
  47. </item>
  48. <item>
  49. <term>
  50. <para>
  51. <see cref="F:System.Linq.Expressions.ExpressionType.NewArrayInit" />
  52. </para>
  53. </term>
  54. <description>
  55. <para>
  56. <see cref="Overload:System.Linq.Expressions.Expression.NewArrayInit" />
  57. </para>
  58. </description>
  59. </item>
  60. </list>
  61. </remarks>
  62. <summary>
  63. <attribution license="cc4" from="Microsoft" modified="false" />
  64. <para>Represents creating a new array and possibly initializing the elements of the new array.</para>
  65. </summary>
  66. </Docs>
  67. <Members>
  68. <Member MemberName="Accept">
  69. <MemberSignature Language="C#" Value="protected override System.Linq.Expressions.Expression Accept (System.Linq.Expressions.ExpressionVisitor visitor);" />
  70. <MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig virtual instance class System.Linq.Expressions.Expression Accept(class System.Linq.Expressions.ExpressionVisitor visitor) cil managed" />
  71. <MemberType>Method</MemberType>
  72. <AssemblyInfo>
  73. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  74. </AssemblyInfo>
  75. <ReturnValue>
  76. <ReturnType>System.Linq.Expressions.Expression</ReturnType>
  77. </ReturnValue>
  78. <Parameters>
  79. <Parameter Name="visitor" Type="System.Linq.Expressions.ExpressionVisitor" />
  80. </Parameters>
  81. <Docs>
  82. <remarks>
  83. <attribution license="cc4" from="Microsoft" modified="false" />
  84. <para>This default implementation for <see cref="F:System.Linq.Expressions.ExpressionType.Extension" /> nodes calls <see cref="M:System.Linq.Expressions.ExpressionVisitor.VisitExtension(System.Linq.Expressions.Expression)" />. Override this method to call into a more specific method on a derived visitor class of the <see cref="T:System.Linq.Expressions.ExpressionVisitor" /> class. However, it should still support unknown visitors by calling <see cref="M:System.Linq.Expressions.ExpressionVisitor.VisitExtension(System.Linq.Expressions.Expression)" />. </para>
  85. </remarks>
  86. <summary>
  87. <attribution license="cc4" from="Microsoft" modified="false" />
  88. <para>Dispatches to the specific visit method for this node type. For example, <see cref="T:System.Linq.Expressions.MethodCallExpression" /> calls the <see cref="M:System.Linq.Expressions.ExpressionVisitor.VisitMethodCall(System.Linq.Expressions.MethodCallExpression)" />.</para>
  89. </summary>
  90. <returns>
  91. <attribution license="cc4" from="Microsoft" modified="false" />
  92. <para>The result of visiting this node.</para>
  93. </returns>
  94. <param name="visitor">
  95. <attribution license="cc4" from="Microsoft" modified="false" />The visitor to visit this node with.</param>
  96. </Docs>
  97. </Member>
  98. <Member MemberName="Expressions">
  99. <MemberSignature Language="C#" Value="public System.Collections.ObjectModel.ReadOnlyCollection&lt;System.Linq.Expressions.Expression&gt; Expressions { get; }" />
  100. <MemberSignature Language="ILAsm" Value=".property instance class System.Collections.ObjectModel.ReadOnlyCollection`1&lt;class System.Linq.Expressions.Expression&gt; Expressions" />
  101. <MemberType>Property</MemberType>
  102. <AssemblyInfo>
  103. <AssemblyVersion>3.5.0.0</AssemblyVersion>
  104. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  105. </AssemblyInfo>
  106. <ReturnValue>
  107. <ReturnType>System.Collections.ObjectModel.ReadOnlyCollection&lt;System.Linq.Expressions.Expression&gt;</ReturnType>
  108. </ReturnValue>
  109. <Docs>
  110. <value>To be added.</value>
  111. <remarks>To be added.</remarks>
  112. <summary>
  113. <attribution license="cc4" from="Microsoft" modified="false" />
  114. <para>Gets the bounds of the array if the value of the <see cref="P:System.Linq.Expressions.Expression.NodeType" /> property is <see cref="F:System.Linq.Expressions.ExpressionType.NewArrayBounds" />, or the values to initialize the elements of the new array if the value of the <see cref="P:System.Linq.Expressions.Expression.NodeType" /> property is <see cref="F:System.Linq.Expressions.ExpressionType.NewArrayInit" />.</para>
  115. </summary>
  116. </Docs>
  117. </Member>
  118. <Member MemberName="Type">
  119. <MemberSignature Language="C#" Value="public override sealed Type Type { get; }" />
  120. <MemberSignature Language="ILAsm" Value=".property instance class System.Type Type" />
  121. <MemberType>Property</MemberType>
  122. <AssemblyInfo>
  123. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  124. </AssemblyInfo>
  125. <ReturnValue>
  126. <ReturnType>System.Type</ReturnType>
  127. </ReturnValue>
  128. <Docs>
  129. <value>To be added.</value>
  130. <remarks>To be added.</remarks>
  131. <summary>
  132. <attribution license="cc4" from="Microsoft" modified="false" />
  133. <para>Gets the static type of the expression that this <see cref="T:System.Linq.Expressions.Expression" /> represents.</para>
  134. </summary>
  135. </Docs>
  136. </Member>
  137. <Member MemberName="Update">
  138. <MemberSignature Language="C#" Value="public System.Linq.Expressions.NewArrayExpression Update (System.Collections.Generic.IEnumerable&lt;System.Linq.Expressions.Expression&gt; expressions);" />
  139. <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Linq.Expressions.NewArrayExpression Update(class System.Collections.Generic.IEnumerable`1&lt;class System.Linq.Expressions.Expression&gt; expressions) cil managed" />
  140. <MemberType>Method</MemberType>
  141. <AssemblyInfo>
  142. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  143. </AssemblyInfo>
  144. <ReturnValue>
  145. <ReturnType>System.Linq.Expressions.NewArrayExpression</ReturnType>
  146. </ReturnValue>
  147. <Parameters>
  148. <Parameter Name="expressions" Type="System.Collections.Generic.IEnumerable&lt;System.Linq.Expressions.Expression&gt;" />
  149. </Parameters>
  150. <Docs>
  151. <remarks>To be added.</remarks>
  152. <summary>
  153. <attribution license="cc4" from="Microsoft" modified="false" />
  154. <para>Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.</para>
  155. </summary>
  156. <returns>
  157. <attribution license="cc4" from="Microsoft" modified="false" />
  158. <para>This expression if no children are changed or an expression with the updated children.</para>
  159. </returns>
  160. <param name="expressions">
  161. <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.Linq.Expressions.NewArrayExpression.Expressions" /> property of the result.</param>
  162. </Docs>
  163. </Member>
  164. </Members>
  165. </Type>