File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
src/ByteGuard.FileValidator/Scanners Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,7 @@ namespace ByteGuard.FileValidator.Scanners;
33/// <summary>
44/// An abstraction for antimalware scanners.
55/// </summary>
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 >
6+ public interface IAntimalwareScanner
117{
128 /// <summary>
139 /// Whether the given file is clean from malicious content based on an antimalware scanner.
@@ -21,3 +17,15 @@ public interface IAntimalwareScanner<TOptions>
2117 /// <returns><c>true</c> if the antimalware scanner did not find anything, <c>false</c> otherwise.</returns>
2218 public bool IsClean ( Stream contentStream , string fileName ) ;
2319}
20+
21+ /// <summary>
22+ /// An abstraction for antimalware scanners.
23+ /// </summary>
24+ /// <typeparam name="TOptions">
25+ /// The type of options used to configure the antimalware scanner.
26+ /// Implementers should ensure that a constructor with the type exists.
27+ /// </typeparam>
28+ public interface IAntimalwareScanner < TOptions > : IAntimalwareScanner
29+ where TOptions : class
30+ {
31+ }
You can’t perform that action at this time.
0 commit comments