| QueryHelperTransformIndexQuerySortParams Method |
Transforms query parameters json into collection of
Namespace:
Dynamicweb.Indexing.Querying
Assembly:
Dynamicweb.Indexing (in Dynamicweb.Indexing.dll) Version: 5.0.2
Syntax public static IEnumerable<SortInfo> TransformIndexQuerySortParams(
string queryJson,
IEnumerable<SortInfo> defaultValues,
ref bool isDefault
)
Public Shared Function TransformIndexQuerySortParams (
queryJson As String,
defaultValues As IEnumerable(Of SortInfo),
ByRef isDefault As Boolean
) As IEnumerable(Of SortInfo)
Parameters
- queryJson
- Type: SystemString
The json string - defaultValues
- Type: System.Collections.GenericIEnumerableSortInfo
The default parameters to be returned if transform failed - isDefault
- Type: SystemBoolean
The value indicating whether default parameters are used
Return Value
Type:
IEnumerableSortInfocollection of
See Also