Class QueryResultBase<T>

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Base implementation for Query results.

Implements
Namespace: Stylelabs.M.Sdk.Models.Querying
Assembly: Stylelabs.M.Sdk.dll
Syntax
public abstract class QueryResultBase<T> : object, IQueryResult<T>, IQueryResult
Type Parameters
NameDescription
T

Type of the queried items.

Constructors

QueryResultBase(IEnumerable<T>, Int64, Int64)

Declaration
protected QueryResultBase(IEnumerable<T> items, long totalItems, long offset)
Parameters
TypeNameDescription
IEnumerable<T>items
System.Int64totalItems
System.Int64offset

Properties

Items

The results that matched the query. This property only contains the results for the requested page. There may be more results available.

Declaration
public IList<T> Items { get; set; }
Property Value
TypeDescription
IList<T>

Offset

Describes the start of this page.

Declaration
public long Offset { get; set; }
Property Value
TypeDescription
System.Int64

TotalNumberOfResults

The total number of items that match the given query.

Declaration
public long TotalNumberOfResults { get; set; }
Property Value
TypeDescription
System.Int64

Explicit Interface Implementations

IQueryResult.Items

The results that matched the query. This property only contains the results for the requested page. There may be more results available.

Declaration
IList<object> IQueryResult.Items { get; }
Returns
TypeDescription
IList<System.Object>

Implements

この記事を改善するための提案がある場合は、 お知らせください!