Skip to main content

IResultSet<TDocument>

Namespace: Meshmakers.Octo.Runtime.Contracts.Repositories.Query

Represents a result set.

public interface IResultSet<TDocument>

Type Parameters

TDocument
Type of document

Properties

TotalCount

Returns the total number of items in the result set.

public abstract long TotalCount { get; }

Property Value

Int64

Items

Returns the items in the result set.

public abstract IEnumerable<TDocument> Items { get; }

Property Value

IEnumerable<TDocument>

Grouping

Returns the grouping result

public abstract IEnumerable<GroupingResult> Grouping { get; }

Property Value

IEnumerable<GroupingResult>