Reduce redundant code in content matchers now

This commit is contained in:
Matt Nadareski
2021-08-25 20:26:43 -07:00
parent d26a89b8ab
commit 6cde7b8bef
59 changed files with 102 additions and 284 deletions

View File

@@ -32,10 +32,6 @@ namespace BurnOutSharp.ProtectionType
}
/// <inheritdoc/>
public string CheckContents(string file, byte[] fileContent, bool includeDebug = false)
{
var matchers = GetContentMatchSets();
return MatchUtil.GetFirstMatch(file, fileContent, matchers, includeDebug);
}
public string CheckContents(string file, byte[] fileContent, bool includeDebug = false) => null;
}
}