mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-01-25 22:28:35 -05:00
19 lines
502 B
C#
19 lines
502 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);
|
|
|
|
ConcurrentBag<string> GetMalwarePatterns();
|
|
}
|