Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
2a478ab
Added the remaining Cosmos Type checking functions to the CosmosLinqE…
onionhammer Feb 23, 2023
6198c37
Merge branch 'master' into new-builtin-functions
onionhammer Mar 2, 2023
89e72c1
Merge branch 'master' into new-builtin-functions
onionhammer Mar 8, 2023
d88cbc8
Merge branch 'master' into new-builtin-functions
onionhammer Mar 9, 2023
6d00ef2
Added comments requested
onionhammer Mar 9, 2023
58857ab
Merge branch 'new-builtin-functions' of https://github.com/onionhamme…
onionhammer Mar 9, 2023
63744ca
Updated comment
onionhammer Mar 9, 2023
f102b1e
Updated baseline
onionhammer Mar 9, 2023
8f73230
Merge branch 'master' into new-builtin-functions
onionhammer Apr 6, 2023
10a2d1e
Improve readability of dictionary initialization
onionhammer Apr 6, 2023
90d5e42
Aligned with code style guide
onionhammer Apr 6, 2023
a12682a
Merge branch 'master' into new-builtin-functions
onionhammer Apr 6, 2023
2bf69fe
Revert change to baseline
onionhammer Apr 7, 2023
9990f77
Executed update baseline script
onionhammer Apr 7, 2023
cf5067f
Merge branch 'master' into new-builtin-functions
onionhammer Apr 7, 2023
8ce0399
Merge branch 'master' into new-builtin-functions
neildsh Apr 10, 2023
5244b1c
Merge branch 'master' into new-builtin-functions
leminh98 Apr 10, 2023
a506a4f
Merge branch 'master' into new-builtin-functions
leminh98 May 1, 2023
2b3bb49
Merge branch 'master' into new-builtin-functions
leminh98 May 8, 2023
bf0d07d
Merge branch 'master' into new-builtin-functions
leminh98 May 9, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added comments requested
  • Loading branch information
onionhammer committed Mar 9, 2023
commit 6d00ef2903f4023dba3f9264afaf20f6f928ef5d
11 changes: 10 additions & 1 deletion Microsoft.Azure.Cosmos/src/Linq/CosmosLinqExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public static class CosmosLinqExtensions
{
/// <summary>
/// Returns a Boolean value indicating if the type of the specified expression is an array.
/// This method is to be used in LINQ expressions only and will be evaluated on server.
/// There's no implementation provided in the client library.
/// </summary>
/// <param name="obj"></param>
/// <returns>Returns true if the type of the specified expression is an array; otherwise, false.</returns>
Expand All @@ -39,6 +41,8 @@ public static bool IsArray(this object obj)

/// <summary>
/// Returns a Boolean value indicating if the type of the specified expression is a boolean.
/// This method is to be used in LINQ expressions only and will be evaluated on server.
/// There's no implementation provided in the client library.
/// </summary>
/// <param name="obj"></param>
/// <returns>Returns true if the type of the specified expression is a boolean; otherwise, false.</returns>
Expand Down Expand Up @@ -94,6 +98,8 @@ public static bool IsNull(this object obj)

/// <summary>
/// Returns a Boolean value indicating if the type of the specified expression is a number.
/// This method is to be used in LINQ expressions only and will be evaluated on server.
/// There's no implementation provided in the client library.
/// </summary>
/// <param name="obj"></param>
/// <returns>Returns true if the type of the specified expression is a number; otherwise, false.</returns>
Expand All @@ -111,6 +117,8 @@ public static bool IsNumber(this object obj)

/// <summary>
/// Returns a Boolean value indicating if the type of the specified expression is an object.
/// This method is to be used in LINQ expressions only and will be evaluated on server.
/// There's no implementation provided in the client library.
/// </summary>
/// <param name="obj"></param>
/// <returns>Returns true if the type of the specified expression is an object; otherwise, false.</returns>
Expand Down Expand Up @@ -150,6 +158,8 @@ public static bool IsPrimitive(this object obj)

/// <summary>
/// Returns a Boolean value indicating if the type of the specified expression is a string.
/// This method is to be used in LINQ expressions only and will be evaluated on server.
/// There's no implementation provided in the client library.
/// </summary>
/// <param name="obj"></param>
/// <returns>Returns true if the type of the specified expression is a string; otherwise, false.</returns>
Expand Down Expand Up @@ -183,7 +193,6 @@ public static bool IsString(this object obj)
/// ]]>
/// </code>
/// </example>

#if PREVIEW
public
#else
Expand Down