Skip to content

Commit c24784b

Browse files
authored
Merge pull request #28 from sunnamed434/dev
Bump new version v0.3.0-alpha.5
2 parents ad1e7c8 + c501699 commit c24784b

File tree

78 files changed

+1482
-934
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+1482
-934
lines changed

BitMono/BitMono.API/Protecting/Analyzing/ICriticalAnalyzer.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using BitMono.API.Protecting.Context;
2-
3-
namespace BitMono.API.Protecting.Analyzing
1+
namespace BitMono.API.Protecting.Analyzing
42
{
53
public interface ICriticalAnalyzer<in TObject>
64
{

BitMono/BitMono.API/Protecting/Context/BitMonoContext.cs

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
namespace BitMono.API.Protecting.Contexts
2+
{
3+
public class BitMonoContext
4+
{
5+
public string ModuleFileName { get; set; }
6+
public string OutputPath { get; set; }
7+
public string OutputModuleFile { get; set; }
8+
public string DependenciesDirectoryName { get; set; }
9+
public bool Watermark { get; set; }
10+
}
11+
}

BitMono/BitMono.API/Protecting/Context/ProtectionContext.cs renamed to BitMono/BitMono.API/Protecting/Contexts/ProtectionContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using dnlib.DotNet.Writer;
33
using NullGuard;
44

5-
namespace BitMono.API.Protecting.Context
5+
namespace BitMono.API.Protecting.Contexts
66
{
77
public class ProtectionContext
88
{

BitMono/BitMono.API/Protecting/IProtection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using BitMono.API.Protecting.Context;
1+
using BitMono.API.Protecting.Contexts;
22
using System.Threading;
33
using System.Threading.Tasks;
44

BitMono/BitMono.API/Protecting/IProtectionPhase.cs

Lines changed: 0 additions & 6 deletions
This file was deleted.

BitMono/BitMono.API/Protecting/Injection/MethodDefs/IMethodDefSearcher.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ namespace BitMono.API.Protecting.Injection.MethodDefs
55
public interface IMethodDefSearcher
66
{
77
MethodDef Find(string name, ModuleDefMD moduleDefMD);
8-
MethodDef FindInGlobalNestedMethods(string name, ModuleDefMD moduleDefMD);
98
}
109
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace BitMono.API.Protecting.Pipeline
2+
{
3+
public interface IPhaseProtection : IProtection
4+
{
5+
}
6+
}

BitMono/BitMono.API/Protecting/Pipeline/IPipelineProtection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ namespace BitMono.API.Protecting.Pipeline
44
{
55
public interface IPipelineProtection : IProtection
66
{
7-
IEnumerable<(IProtectionPhase, PipelineStages)> PopulatePipeline();
7+
IEnumerable<(IPhaseProtection, PipelineStages)> PopulatePipeline();
88
}
99
}

BitMono/BitMono.API/Protecting/Resolvers/IAttemptAttributeResolver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace BitMono.API.Protecting.Resolvers
55
{
66
public interface IAttemptAttributeResolver
77
{
8-
bool TryResolve<TAttribute>(IHasCustomAttribute from, Predicate<TAttribute> review, Func<TAttribute, bool> predicate, Func<TAttribute, bool> strip, out TAttribute attribute)
8+
bool TryResolve<TAttribute>(IHasCustomAttribute from, Func<TAttribute, bool> predicate, Func<TAttribute, bool> strip, out TAttribute attribute)
99
where TAttribute : Attribute;
1010
}
1111
}

0 commit comments

Comments
 (0)