mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-03-25 17:41:57 -04:00
17 lines
449 B
C#
17 lines
449 B
C#
using System.Collections.Concurrent;
|
|
using System.Text.RegularExpressions;
|
|
using Cleanuparr.Domain.Enums;
|
|
|
|
namespace Cleanuparr.Infrastructure.Features.MalwareBlocker;
|
|
|
|
public interface IBlocklistProvider
|
|
{
|
|
Task LoadBlocklistsAsync();
|
|
|
|
BlocklistType GetBlocklistType(InstanceType instanceType);
|
|
|
|
ConcurrentBag<string> GetPatterns(InstanceType instanceType);
|
|
|
|
ConcurrentBag<Regex> GetRegexes(InstanceType instanceType);
|
|
}
|