IW4M-Admin/SharedLibraryCore/Helpers/ResourceQueryHelperResult.cs
RaidMax 5042ea6c91 [issue 135] enhanced search
implement enhanced search for chat messages
2020-05-22 20:29:41 -05:00

27 lines
789 B
C#

using System.Collections.Generic;
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; }
}
}