mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-05-09 15:24:00 -04:00
13 lines
418 B
C#
13 lines
418 B
C#
using Cleanuparr.Domain.Entities;
|
|
using Cleanuparr.Persistence.Models.Configuration.DownloadCleaner;
|
|
|
|
namespace Cleanuparr.Infrastructure.Services.Interfaces;
|
|
|
|
public interface ISeedingRuleEvaluator
|
|
{
|
|
/// <summary>
|
|
/// Returns the highest-priority matching seeding rule for the given torrent
|
|
/// </summary>
|
|
ISeedingRule? GetMatchingRule(ITorrentItemWrapper torrent, IEnumerable<ISeedingRule> rules);
|
|
}
|