IW4M-Admin/SharedLibraryCore/Helpers/ResourceQueryHelperResult.cs
RaidMax 778e339a61 QOL updates for profile meta
implement filterable meta for issue #158
update translations and use humanizer lib with datetime/timespan for issue #80
2020-08-18 16:35:21 -05:00

29 lines
848 B
C#

using System;
using System.Collections.Generic;
using SharedLibraryCore.Dtos.Meta.Responses;
namespace SharedLibraryCore.Helpers
{
/// <summary>
/// generic class for passing information about a resource query
/// </summary>
/// <typeparam name="QueryResultType">Type of query result</typeparam>
public class ResourceQueryHelperResult<QueryResultType>
{
/// <summary>
/// indicates the total number of results found
/// </summary>
public long TotalResultCount { get; set; }
/// <summary>
/// indicates the total number of results retrieved
/// </summary>
public int RetrievedResultCount { get; set; }
/// <summary>
/// collection of results
/// </summary>
public IEnumerable<QueryResultType> Results { get; set; }
}
}