Interface IQueryHandler
Namespace: Umbraco.Cms.Core.DeliveryApi
Assembly: Umbraco.Core.dll
Syntax
public interface IQueryHandler : IDiscoverable
Methods
View SourceCanHandle(String)
Determines whether this query handler can handle the given query.
Declaration
bool CanHandle(string query)
Parameters
Type | Name | Description |
---|---|---|
System.String | query | The query string to check (i.e. "children:articles", "contentType:article", "name:asc", ...). |
Returns
Type | Description |
---|---|
System.Boolean | True if this query handler can handle the given query; otherwise, false. |