Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.

 

Interface IQueryProvider<T>

Helps finding a IRestQuery which can execute the query.

Namespace: EPiServer.Shell.Rest
Assembly: EPiServer.Shell.dll
Version: 7.19.2
Syntax
public interface IQueryProvider<T>
Type Parameters
Name Description
T

Methods

GetQuery(String, IQueryParameters)

Gets the query with the requested name with the highest rank that can handle the query parameters (as reported by the CanHandleQuery method).

Declaration
IRestQuery<T> GetQuery(string queryName, IQueryParameters parameters)
Parameters
Type Name Description
System.String queryName

The query name.

IQueryParameters parameters

The query parameters.

Returns
Type Description
IRestQuery<T>

A matching query, or null if none can be matched.

Extension Methods