Skip to content

Commit 6c1fc1b

Browse files
committed
feat: ensure antimalware scanner options
1 parent 41b3706 commit 6c1fc1b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ByteGuard.FileValidator/Scanners/IAntimalwareScanner.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ namespace ByteGuard.FileValidator.Scanners;
33
/// <summary>
44
/// An abstraction for antimalware scanners.
55
/// </summary>
6-
public interface IAntimalwareScanner
6+
/// <typeparam name="TOptions">
7+
/// The type of options used to configure the antimalware scanner.
8+
/// Implementers should ensure that a constructor with the type exists.
9+
/// </typeparam>
10+
public interface IAntimalwareScanner<TOptions>
711
{
812
/// <summary>
913
/// Whether the given file is clean from malicious content based on an antimalware scanner.

0 commit comments

Comments
 (0)