Interface IQueryProvider<T>
Helps finding a IRestQuery which can execute the query.
Namespace: EPiServer.Shell.Rest
Assembly: EPiServer.Shell.dll
Version: 8.11.0Syntax
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. |