Table of Contents

Class QueryProviderResult

Namespace
Cratis.Applications.Queries
Assembly
Cratis.Applications.dll

Represents the result of a query provider.

public record QueryProviderResult : IEquatable<QueryProviderResult>
Inheritance
QueryProviderResult
Implements
Inherited Members

Constructors

QueryProviderResult(int, object)

Represents the result of a query provider.

public QueryProviderResult(int TotalItems, object Data)

Parameters

TotalItems int

Total items.

Data object

The rendered data.

Properties

Data

The rendered data.

public object Data { get; init; }

Property Value

object

TotalItems

Total items.

public int TotalItems { get; init; }

Property Value

int