Reorder inherited interfaces

This commit is contained in:
Matt Nadareski
2022-05-01 17:23:00 -07:00
parent f9f2e0d932
commit a44bdf9013
18 changed files with 18 additions and 18 deletions

View File

@@ -8,7 +8,7 @@ using BurnOutSharp.Matching;
namespace BurnOutSharp.ProtectionType
{
public class CDDVDCops : IContentCheck, INewExecutableCheck, IPortableExecutableCheck, IPathCheck
public class CDDVDCops : IContentCheck, INewExecutableCheck, IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckContents(string file, byte[] fileContent, bool includeDebug)

View File

@@ -5,7 +5,7 @@ using BurnOutSharp.Matching;
namespace BurnOutSharp.ProtectionType
{
public class CDLock : IPortableExecutableCheck, IPathCheck
public class CDLock : IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)

View File

@@ -9,7 +9,7 @@ using BurnOutSharp.Matching;
namespace BurnOutSharp.ProtectionType
{
public class CactusDataShield : IContentCheck, IPortableExecutableCheck, IPathCheck
public class CactusDataShield : IContentCheck, IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckContents(string file, byte[] fileContent, bool includeDebug)

View File

@@ -7,7 +7,7 @@ using BurnOutSharp.Tools;
namespace BurnOutSharp.ProtectionType
{
public class GFWL : IPortableExecutableCheck, IPathCheck
public class GFWL : IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)

View File

@@ -8,7 +8,7 @@ namespace BurnOutSharp.ProtectionType
{
// Note that this set of checks also contains "Stardock Product Activation"
// This is intentional, as that protection is highly related to Impulse Reactor
public class ImpulseReactor : IPortableExecutableCheck, IPathCheck
public class ImpulseReactor : IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)

View File

@@ -9,7 +9,7 @@ using BurnOutSharp.Tools;
namespace BurnOutSharp.ProtectionType
{
public class LaserLok : IPortableExecutableCheck, IPathCheck
public class LaserLok : IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)

View File

@@ -5,7 +5,7 @@ using BurnOutSharp.Matching;
namespace BurnOutSharp.ProtectionType
{
public class MediaMaxCD3 : IPortableExecutableCheck, IPathCheck
public class MediaMaxCD3 : IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)

View File

@@ -6,7 +6,7 @@ using BurnOutSharp.Matching;
namespace BurnOutSharp.ProtectionType
{
public class Origin : IPortableExecutableCheck, IPathCheck
public class Origin : IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)

View File

@@ -10,7 +10,7 @@ namespace BurnOutSharp.ProtectionType
{
// TODO: Figure out how to properly distinguish SafeDisc and SafeCast since both use
// the same generic BoG_ string. The current combination check doesn't seem consistent
public class SafeDisc : IPortableExecutableCheck, IPathCheck
public class SafeDisc : IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)

View File

@@ -10,7 +10,7 @@ using BurnOutSharp.Tools;
namespace BurnOutSharp.ProtectionType
{
// TODO: Investigate SecuROM for Macintosh
public class SecuROM : IPortableExecutableCheck, IPathCheck
public class SecuROM : IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)

View File

@@ -7,7 +7,7 @@ using BurnOutSharp.Matching;
namespace BurnOutSharp.ProtectionType
{
public class SmartE : IPortableExecutableCheck, IPathCheck
public class SmartE : IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)

View File

@@ -10,7 +10,7 @@ namespace BurnOutSharp.ProtectionType
{
// TODO: Not matching all SolidShield Wrapper v1 (See JackKeane)
// TODO: Not matching all SolidShield Wrapper v1 (See NFS11)
public class SolidShield : IPortableExecutableCheck, IPathCheck
public class SolidShield : IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)

View File

@@ -7,7 +7,7 @@ using BurnOutSharp.Tools;
namespace BurnOutSharp.ProtectionType
{
public class StarForce : IPortableExecutableCheck, IPathCheck
public class StarForce : IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)

View File

@@ -6,7 +6,7 @@ using BurnOutSharp.Tools;
namespace BurnOutSharp.ProtectionType
{
public class Steam : IPortableExecutableCheck, IPathCheck
public class Steam : IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)

View File

@@ -8,7 +8,7 @@ using BurnOutSharp.Tools;
namespace BurnOutSharp.ProtectionType
{
public class TAGES : IPortableExecutableCheck, IPathCheck
public class TAGES : IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)

View File

@@ -6,7 +6,7 @@ using BurnOutSharp.Matching;
namespace BurnOutSharp.ProtectionType
{
// Got renamed to Ubisoft Connect / Ubisoft Game Launcher
public class Uplay : IPortableExecutableCheck, IPathCheck
public class Uplay : IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)

View File

@@ -5,7 +5,7 @@ using BurnOutSharp.Matching;
namespace BurnOutSharp.ProtectionType
{
public class WTMCDProtect : IPortableExecutableCheck, IPathCheck
public class WTMCDProtect : IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)

View File

@@ -10,7 +10,7 @@ using BurnOutSharp.Matching;
namespace BurnOutSharp.ProtectionType
{
// TODO: Figure out how to use path check framework here
public class XCP : IPortableExecutableCheck, IPathCheck
public class XCP : IPathCheck, IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)