// ========================================================================== // ResultList.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // ========================================================================== using System.Collections.Generic; namespace Squidex.Infrastructure { public static class ResultList { private sealed class Impl : List, IResultList { public long Total { get; } public Impl(IEnumerable items, long total) : base(items) { Total = total; } } public static IResultList Create(IEnumerable items, long total) { return new Impl(items, total); } } }