2022-01-26 11:32:16 -05:00
|
|
|
|
using System.Collections.Generic;
|
2020-05-22 21:29:41 -04:00
|
|
|
|
|
|
|
|
|
namespace SharedLibraryCore.Helpers
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// generic class for passing information about a resource query
|
2020-05-22 21:29:41 -04:00
|
|
|
|
/// </summary>
|
|
|
|
|
/// <typeparam name="QueryResultType">Type of query result</typeparam>
|
|
|
|
|
public class ResourceQueryHelperResult<QueryResultType>
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// indicates the total number of results found
|
2020-05-22 21:29:41 -04:00
|
|
|
|
/// </summary>
|
|
|
|
|
public long TotalResultCount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// indicates the total number of results retrieved
|
2020-05-22 21:29:41 -04:00
|
|
|
|
/// </summary>
|
|
|
|
|
public int RetrievedResultCount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// collection of results
|
2020-05-22 21:29:41 -04:00
|
|
|
|
/// </summary>
|
|
|
|
|
public IEnumerable<QueryResultType> Results { get; set; }
|
|
|
|
|
}
|
2022-01-26 11:32:16 -05:00
|
|
|
|
}
|