mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-20 22:14:34 -04:00
Misc History Improvements
This commit is contained in:
@@ -1,16 +1,23 @@
|
||||
using NzbDrone.Common.Messaging;
|
||||
using NzbDrone.Core.IndexerSearch.Definitions;
|
||||
|
||||
namespace NzbDrone.Core.Indexers
|
||||
{
|
||||
public class IndexerQueryEvent : IEvent
|
||||
{
|
||||
public int IndexerId { get; set; }
|
||||
public string Query { get; set; }
|
||||
public SearchCriteriaBase Query { get; set; }
|
||||
public long Time { get; set; }
|
||||
public bool Successful { get; set; }
|
||||
public int? Results { get; set; }
|
||||
|
||||
public IndexerQueryEvent(int indexerId, string query)
|
||||
public IndexerQueryEvent(int indexerId, SearchCriteriaBase query, long time, bool successful, int? results = null)
|
||||
{
|
||||
IndexerId = indexerId;
|
||||
Query = query;
|
||||
Time = time;
|
||||
Successful = successful;
|
||||
Results = results;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user