@@ -79,15 +79,20 @@ <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
79
79
80
80
< h1 id ="JsonApiDotNetCore_Queries_Expressions_AnyExpression " data-uid ="JsonApiDotNetCore.Queries.Expressions.AnyExpression " class ="text-break ">
81
81
Class AnyExpression
82
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L11 "> < i class ="bi bi-code-slash "> </ i > </ a >
82
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L16 "> < i class ="bi bi-code-slash "> </ i > </ a >
83
83
</ h1 >
84
84
85
85
< div class ="facts text-secondary ">
86
86
< dl > < dt > Namespace</ dt > < dd > < a class ="xref " href ="JsonApiDotNetCore.html "> JsonApiDotNetCore</ a > .< a class ="xref " href ="JsonApiDotNetCore.Queries.html "> Queries</ a > .< a class ="xref " href ="JsonApiDotNetCore.Queries.Expressions.html "> Expressions</ a > </ dd > </ dl >
87
87
< dl > < dt > Assembly</ dt > < dd > JsonApiDotNetCore.dll</ dd > </ dl >
88
88
</ div >
89
89
90
- < div class ="markdown summary "> < p > Represents the "any" filter function, resulting from text such as: any(name,'Jack','Joe')</ p >
90
+ < div class ="markdown summary "> < p > This expression allows to test if an attribute value equals any of the specified constants. It represents the "any" filter function, resulting from
91
+ text such as:
92
+ < code >
93
+ any(owner.name,'Jack','Joe','John')
94
+ </ code >
95
+ .</ p >
91
96
</ div >
92
97
< div class ="markdown conceptual "> </ div >
93
98
@@ -115,6 +120,9 @@ <h1 id="JsonApiDotNetCore_Queries_Expressions_AnyExpression" data-uid="JsonApiDo
115
120
< dl class ="typelist derived ">
116
121
< dt > Inherited Members</ dt >
117
122
< dd >
123
+ < div >
124
+ < a class ="xref " href ="JsonApiDotNetCore.Queries.Expressions.FilterExpression.html#JsonApiDotNetCore_Queries_Expressions_FilterExpression_ReturnType "> FilterExpression.ReturnType</ a >
125
+ </ div >
118
126
< div >
119
127
< a class ="xref " href ="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object) "> object.Equals(object, object)</ a >
120
128
</ div >
@@ -142,7 +150,7 @@ <h2 class="section" id="constructors">Constructors
142
150
143
151
< h3 id ="JsonApiDotNetCore_Queries_Expressions_AnyExpression__ctor_JsonApiDotNetCore_Queries_Expressions_ResourceFieldChainExpression_System_Collections_Immutable_IImmutableSet_JsonApiDotNetCore_Queries_Expressions_LiteralConstantExpression__ " data-uid ="JsonApiDotNetCore.Queries.Expressions.AnyExpression.#ctor(JsonApiDotNetCore.Queries.Expressions.ResourceFieldChainExpression,System.Collections.Immutable.IImmutableSet{JsonApiDotNetCore.Queries.Expressions.LiteralConstantExpression}) ">
144
152
AnyExpression(ResourceFieldChainExpression, IImmutableSet<LiteralConstantExpression>)
145
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L17 "> < i class ="bi bi-code-slash "> </ i > </ a >
153
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L29 "> < i class ="bi bi-code-slash "> </ i > </ a >
146
154
</ h3 >
147
155
148
156
< div class ="markdown level1 summary "> </ div >
@@ -179,10 +187,11 @@ <h2 class="section" id="properties">Properties
179
187
180
188
< h3 id ="JsonApiDotNetCore_Queries_Expressions_AnyExpression_Constants " data-uid ="JsonApiDotNetCore.Queries.Expressions.AnyExpression.Constants ">
181
189
Constants
182
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L15 "> < i class ="bi bi-code-slash "> </ i > </ a >
190
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L27 "> < i class ="bi bi-code-slash "> </ i > </ a >
183
191
</ h3 >
184
192
185
- < div class ="markdown level1 summary "> </ div >
193
+ < div class ="markdown level1 summary "> < p > One or more constants to compare the attribute's value against.</ p >
194
+ </ div >
186
195
< div class ="markdown level1 conceptual "> </ div >
187
196
188
197
< div class ="codewrapper ">
@@ -210,10 +219,11 @@ <h4 class="section">Property Value</h4>
210
219
211
220
< h3 id ="JsonApiDotNetCore_Queries_Expressions_AnyExpression_TargetAttribute " data-uid ="JsonApiDotNetCore.Queries.Expressions.AnyExpression.TargetAttribute ">
212
221
TargetAttribute
213
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L14 "> < i class ="bi bi-code-slash "> </ i > </ a >
222
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L22 "> < i class ="bi bi-code-slash "> </ i > </ a >
214
223
</ h3 >
215
224
216
- < div class ="markdown level1 summary "> </ div >
225
+ < div class ="markdown level1 summary "> < p > The attribute whose value to compare. Chain format: an optional list of to-one relationships, followed by an attribute.</ p >
226
+ </ div >
217
227
< div class ="markdown level1 conceptual "> </ div >
218
228
219
229
< div class ="codewrapper ">
@@ -245,7 +255,7 @@ <h2 class="section" id="methods">Methods
245
255
246
256
< h3 id ="JsonApiDotNetCore_Queries_Expressions_AnyExpression_Accept__2_JsonApiDotNetCore_Queries_Expressions_QueryExpressionVisitor___0___1____0_ " data-uid ="JsonApiDotNetCore.Queries.Expressions.AnyExpression.Accept``2(JsonApiDotNetCore.Queries.Expressions.QueryExpressionVisitor{``0,``1},``0) ">
247
257
Accept<TArgument, TResult>(QueryExpressionVisitor<TArgument, TResult>, TArgument)
248
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L26 "> < i class ="bi bi-code-slash "> </ i > </ a >
258
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L38 "> < i class ="bi bi-code-slash "> </ i > </ a >
249
259
</ h3 >
250
260
251
261
< div class ="markdown level1 summary "> </ div >
@@ -290,7 +300,7 @@ <h4 class="section">Type Parameters</h4>
290
300
291
301
< h3 id ="JsonApiDotNetCore_Queries_Expressions_AnyExpression_Equals_System_Object_ " data-uid ="JsonApiDotNetCore.Queries.Expressions.AnyExpression.Equals(System.Object) ">
292
302
Equals(object?)
293
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L55 "> < i class ="bi bi-code-slash "> </ i > </ a >
303
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L67 "> < i class ="bi bi-code-slash "> </ i > </ a >
294
304
</ h3 >
295
305
296
306
< div class ="markdown level1 summary "> </ div >
@@ -326,7 +336,7 @@ <h4 class="section">Returns</h4>
326
336
327
337
< h3 id ="JsonApiDotNetCore_Queries_Expressions_AnyExpression_GetHashCode " data-uid ="JsonApiDotNetCore.Queries.Expressions.AnyExpression.GetHashCode ">
328
338
GetHashCode()
329
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L72 "> < i class ="bi bi-code-slash "> </ i > </ a >
339
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L84 "> < i class ="bi bi-code-slash "> </ i > </ a >
330
340
</ h3 >
331
341
332
342
< div class ="markdown level1 summary "> </ div >
@@ -357,7 +367,7 @@ <h4 class="section">Returns</h4>
357
367
358
368
< h3 id ="JsonApiDotNetCore_Queries_Expressions_AnyExpression_ToFullString " data-uid ="JsonApiDotNetCore.Queries.Expressions.AnyExpression.ToFullString ">
359
369
ToFullString()
360
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L36 "> < i class ="bi bi-code-slash "> </ i > </ a >
370
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L48 "> < i class ="bi bi-code-slash "> </ i > </ a >
361
371
</ h3 >
362
372
363
373
< div class ="markdown level1 summary "> </ div >
@@ -388,7 +398,7 @@ <h4 class="section">Returns</h4>
388
398
389
399
< h3 id ="JsonApiDotNetCore_Queries_Expressions_AnyExpression_ToString " data-uid ="JsonApiDotNetCore.Queries.Expressions.AnyExpression.ToString ">
390
400
ToString()
391
- < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L31 "> < i class ="bi bi-code-slash "> </ i > </ a >
401
+ < a class ="header-action link-secondary " title ="View source " href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L43 "> < i class ="bi bi-code-slash "> </ i > </ a >
392
402
</ h3 >
393
403
394
404
< div class ="markdown level1 summary "> </ div >
@@ -419,7 +429,7 @@ <h4 class="section">Returns</h4>
419
429
</ article >
420
430
421
431
< div class ="contribution d-print-none ">
422
- < a href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L11 " class ="edit-link "> Edit this page</ a >
432
+ < a href ="https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/src/JsonApiDotNetCore/Queries/Expressions/AnyExpression.cs/#L16 " class ="edit-link "> Edit this page</ a >
423
433
</ div >
424
434
425
435
0 commit comments