|
63 | 63 | <Docs> |
64 | 64 | <summary>Represents an expression that has a conditional operator.</summary> |
65 | 65 | <remarks> |
66 | | - <format type="text/markdown"><![CDATA[ |
67 | | - |
68 | | -## Remarks |
69 | | - Use the <xref:System.Linq.Expressions.Expression.Condition%2A> factory method to create a <xref:System.Linq.Expressions.ConditionalExpression>. |
70 | | - |
71 | | - The <xref:System.Linq.Expressions.Expression.NodeType%2A> of a <xref:System.Linq.Expressions.ConditionalExpression> is <xref:System.Linq.Expressions.ExpressionType.Conditional>. |
72 | | - |
73 | | - |
74 | | - |
75 | | -## Examples |
76 | | - The following code example shows how to create an expression that represents a conditional statement. If the first argument evaluates to `true`, the second argument is executed; otherwise, the third argument is executed. |
77 | | - |
| 66 | + <format type="text/markdown"><![CDATA[ |
| 67 | +
|
| 68 | +## Remarks |
| 69 | + Use the <xref:System.Linq.Expressions.Expression.Condition*> factory method to create a <xref:System.Linq.Expressions.ConditionalExpression>. |
| 70 | +
|
| 71 | + The <xref:System.Linq.Expressions.Expression.NodeType*> of a <xref:System.Linq.Expressions.ConditionalExpression> is <xref:System.Linq.Expressions.ExpressionType.Conditional>. |
| 72 | +
|
| 73 | +
|
| 74 | +
|
| 75 | +## Examples |
| 76 | + The following code example shows how to create an expression that represents a conditional statement. If the first argument evaluates to `true`, the second argument is executed; otherwise, the third argument is executed. |
| 77 | +
|
78 | 78 | :::code language="csharp" source="~/snippets/csharp/System.Linq.Expressions/BlockExpression/Overview/program.cs" id="Snippet3"::: |
79 | | - :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet3"::: |
80 | | - |
| 79 | + :::code language="vb" source="~/snippets/visualbasic/System.Linq.Expressions/BlockExpression/Overview/module1.vb" id="Snippet3"::: |
| 80 | +
|
81 | 81 | ]]></format> |
82 | 82 | </remarks> |
83 | 83 | </Docs> |
|
127 | 127 | <summary>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)" />.</summary> |
128 | 128 | <returns>The result of visiting this node.</returns> |
129 | 129 | <remarks> |
130 | | - <format type="text/markdown"><![CDATA[ |
131 | | - |
132 | | -## Remarks |
133 | | - This default implementation for <xref:System.Linq.Expressions.ExpressionType.Extension> nodes calls <xref:System.Linq.Expressions.ExpressionVisitor.VisitExtension%2A>. Override this method to call into a more specific method on a derived visitor class of the <xref:System.Linq.Expressions.ExpressionVisitor> class. However, it should still support unknown visitors by calling <xref:System.Linq.Expressions.ExpressionVisitor.VisitExtension%2A>. |
134 | | - |
| 130 | + <format type="text/markdown"><![CDATA[ |
| 131 | +
|
| 132 | +## Remarks |
| 133 | + This default implementation for <xref:System.Linq.Expressions.ExpressionType.Extension> nodes calls <xref:System.Linq.Expressions.ExpressionVisitor.VisitExtension*>. Override this method to call into a more specific method on a derived visitor class of the <xref:System.Linq.Expressions.ExpressionVisitor> class. However, it should still support unknown visitors by calling <xref:System.Linq.Expressions.ExpressionVisitor.VisitExtension*>. |
| 134 | +
|
135 | 135 | ]]></format> |
136 | 136 | </remarks> |
137 | 137 | </Docs> |
|
0 commit comments