mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
[issue 135] enhanced search
implement enhanced search for chat messages
This commit is contained in:
26
SharedLibraryCore/Helpers/ResourceQueryHelperResult.cs
Normal file
26
SharedLibraryCore/Helpers/ResourceQueryHelperResult.cs
Normal file
@ -0,0 +1,26 @@
|
||||
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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user