Class QueryResultViewModel
- Namespace
- Dynamicweb.QueryPublisher
- Assembly
- Dynamicweb.QueryPublisher.dll
Represents a ViewModelBase for query result information.
public sealed class QueryResultViewModel : ViewModelBase
- Inheritance
-
QueryResultViewModel
- Inherited Members
Properties
CurrentPage
Current page number.
public int CurrentPage { get; set; }
Property Value
FacetGroups
Collection of facet group view models.
public IEnumerable<FacetGroupViewModel> FacetGroups { get; set; }
Property Value
PageCount
Count of pages. If this value is greater than 0, the view model result will be paginated, otherwise, plain list.
public int PageCount { get; set; }
Property Value
PageSize
Items count per page.
public int PageSize { get; set; }
Property Value
Parameters
Collection of query parameters.
public IEnumerable<QueryParameterViewModel> Parameters { get; set; }
Property Value
Results
Collection of results.
public IEnumerable<IDictionary<string, object>> Results { get; set; }
Property Value
SpellCheckerSuggestions
Collection of suggestions from a spell checker.
public IEnumerable<string> SpellCheckerSuggestions { get; set; }
Property Value
TotalCount
Total number of query results in the list.
public int TotalCount { get; set; }