File: Otlp\Storage\PagedResult.cs
Web Access
Project: src\src\Aspire.Dashboard\Aspire.Dashboard.csproj (Aspire.Dashboard)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Aspire.Dashboard.Otlp.Storage;
 
public sealed class PagedResult<T>
{
    public static readonly PagedResult<T> Empty = new()
    {
        TotalItemCount = 0,
        Items = new List<T>()
    };
 
    public required int TotalItemCount { get; init; }
    public required List<T> Items { get; init; }
}