@@ -99,8 +99,8 @@ To analyze your builder expressions in Visual Studio, perform the following acti
99
99
100
100
1. Install the {+product+} as described in the :ref:`Install <mongodb-analyzer-install>`
101
101
guide.
102
- 2 . Write a builder expression with the {+driver-short+}
103
- 3 . Move your mouse over the :guilabel:`...` annotation beneath the first
102
+ # . Write a builder expression with the {+driver-short+}
103
+ # . Move your mouse over the :guilabel:`...` annotation beneath the first
104
104
method of your builder expression to display an information message that contains
105
105
the {+query-api+} translation.
106
106
@@ -121,6 +121,28 @@ information message displayed:
121
121
.. figure:: /includes/images/builder-popup-photoshop.png
122
122
:alt: Screenshot of builder expression in visual studio with information message displayed.
123
123
124
+ The {+product+} supports builder variable tracking and composition. You can
125
+ combine multiple builder expressions with `logical operators
126
+ <https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/boolean-logical-operators>`__
127
+ and view the {+query-api+} translation in the information message.
128
+
129
+ Click the following tabs to see a composed builder variable with and without an
130
+ information message displayed:
131
+
132
+ .. tabs::
133
+
134
+ .. tab:: Without Information Message
135
+ :tabid: no-message-variable
136
+
137
+ .. figure:: /includes/images/builder-variable.png
138
+ :alt: Screenshot of builder expression variable in visual studio with ellipsis annotation.
139
+
140
+ .. tab:: With Information Message
141
+ :tabid: message-variable
142
+
143
+ .. figure:: /includes/images/builder-variable-popup.png
144
+ :alt: Screenshot of builder expression variable in visual studio with information message displayed.
145
+
124
146
.. include:: /includes/error-list-window.rst
125
147
126
148
.. We use this anchor in a DocHub link
@@ -153,7 +175,6 @@ and its corresponding {+query-api+} translation:
153
175
OrderBy(m => m.Score).
154
176
ToListAsync();
155
177
156
-
157
178
.. tab:: {+query-api+}
158
179
:tabid: query-api-linq
159
180
@@ -175,8 +196,8 @@ To analyze your LINQ expressions in Visual Studio, perform the following actions
175
196
176
197
1. Install the {+product+} as described in the :ref:`Install <mongodb-analyzer-install>`
177
198
guide.
178
- 2 . Write a LINQ expression with the {+driver-short+}.
179
- 3 . Move your mouse over the :guilabel:`...` annotation beneath the first
199
+ # . Write a LINQ expression with the {+driver-short+}.
200
+ # . Move your mouse over the :guilabel:`...` annotation beneath the first
180
201
method of your LINQ expression to display an information message that contains
181
202
the {+query-api+} translation.
182
203
0 commit comments