mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-05-18 02:04:20 +00:00
Fix invocation of scannable classes
This commit is contained in:
@@ -73,7 +73,7 @@ namespace BurnOutSharp.FileType
|
|||||||
{
|
{
|
||||||
if (file != null && !string.IsNullOrEmpty(protection))
|
if (file != null && !string.IsNullOrEmpty(protection))
|
||||||
{
|
{
|
||||||
var subProtections = scannable.Scan(scanner, null, file);
|
var subProtections = scannable.Scan(scanner, file);
|
||||||
PrependToKeys(subProtections, file);
|
PrependToKeys(subProtections, file);
|
||||||
AppendToDictionary(protections, subProtections);
|
AppendToDictionary(protections, subProtections);
|
||||||
}
|
}
|
||||||
@@ -96,7 +96,7 @@ namespace BurnOutSharp.FileType
|
|||||||
{
|
{
|
||||||
if (file != null && !string.IsNullOrEmpty(protection))
|
if (file != null && !string.IsNullOrEmpty(protection))
|
||||||
{
|
{
|
||||||
var subProtections = scannable.Scan(scanner, null, file);
|
var subProtections = scannable.Scan(scanner, file);
|
||||||
PrependToKeys(subProtections, file);
|
PrependToKeys(subProtections, file);
|
||||||
AppendToDictionary(protections, subProtections);
|
AppendToDictionary(protections, subProtections);
|
||||||
}
|
}
|
||||||
@@ -119,7 +119,7 @@ namespace BurnOutSharp.FileType
|
|||||||
{
|
{
|
||||||
if (file != null && !string.IsNullOrEmpty(protection))
|
if (file != null && !string.IsNullOrEmpty(protection))
|
||||||
{
|
{
|
||||||
var subProtections = scannable.Scan(scanner, null, file);
|
var subProtections = scannable.Scan(scanner, file);
|
||||||
PrependToKeys(subProtections, file);
|
PrependToKeys(subProtections, file);
|
||||||
AppendToDictionary(protections, subProtections);
|
AppendToDictionary(protections, subProtections);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user