Table of Contents

Class MBPagedSearchResult<TItem>

Namespace
Material.Blazor
Assembly
Material.Blazor.dll

The results of a search calling GetMatchingSelection. Both parameters must be set to enable the autocomplete to know if there is an overflow condition due to too many items being returned, an exact match or no items were found.

public class MBPagedSearchResult<TItem>

Type Parameters

TItem
Inheritance
MBPagedSearchResult<TItem>
Inherited Members

Constructors

MBPagedSearchResult()

public MBPagedSearchResult()

Properties

MatchingItemCount

The total number of matching items, irrespective of whether MatchingItems is populated.

public int MatchingItemCount { get; set; }

Property Value

int

MatchingItems

Returned list of select items. Can be empty either because no items matching search criteria were found, or because the item list is too long, signfied by setting the SearchResultType parameter to TooManyItemsFound.

public IEnumerable<MBSelectElement<TItem>> MatchingItems { get; set; }

Property Value

IEnumerable<MBSelectElement<TItem>>

PageNumber

The returned page number.

public int PageNumber { get; set; }

Property Value

int

ResultsPending

True indicates that the search is pending results that will be supplied subsequently.

public bool ResultsPending { get; set; }

Property Value

bool

SearchResultType

Describes the contents of MatchingItems.

public MBSearchResultTypes SearchResultType { get; set; }

Property Value

MBSearchResultTypes

SelectItemsPerPage

The size of each page.

public int SelectItemsPerPage { get; set; }

Property Value

int