mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-18 14:55:05 +00:00
Swap order of params for IPathCheck
This commit is contained in:
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class AACS : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class AlphaDVD : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class Bitpool : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class ByteShield : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class CDProtector : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class CDX : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class DVDCrypt : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class DVDMoviePROTECT : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (!isDirectory)
|
||||
return null;
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class DiscGuard : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class FreeLock : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class HexalockAutoLock : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class IndyVCD : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class Key2AudioXS : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class MediaCloQ : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class ProtectDVDVideo : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (!isDirectory)
|
||||
return null;
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class SafeCast : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class SafeDiscLite : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class SoftLock : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -114,7 +114,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -5,10 +5,11 @@ using System.Linq;
|
||||
|
||||
namespace BurnOutSharp.ProtectionType
|
||||
{
|
||||
// TODO: Can this be split into file and directory checks separately?
|
||||
public class Steam : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class TZCopyProtector : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class Uplay : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class Winlock : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
public class Zzxzz : IPathCheck
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
public string CheckPath(string path, bool isDirectory, IEnumerable<string> files)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user