Table of Contents

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

int

FacetGroups

Collection of facet group view models.

public IEnumerable<FacetGroupViewModel> FacetGroups { get; set; }

Property Value

IEnumerable<FacetGroupViewModel>

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

int

PageSize

Items count per page.

public int PageSize { get; set; }

Property Value

int

Parameters

Collection of query parameters.

public IEnumerable<QueryParameterViewModel> Parameters { get; set; }

Property Value

IEnumerable<QueryParameterViewModel>

Results

Collection of results.

public IEnumerable<IDictionary<string, object>> Results { get; set; }

Property Value

IEnumerable<IDictionary<string, object>>

SpellCheckerSuggestions

Collection of suggestions from a spell checker.

public IEnumerable<string> SpellCheckerSuggestions { get; set; }

Property Value

IEnumerable<string>

TotalCount

Total number of query results in the list.

public int TotalCount { get; set; }

Property Value

int
To top