Files
2026-04-11 17:13:41 +03:00

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);
}