-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from sunnamed434/dev
Bump new version 0.6.0-alpha.15
- Loading branch information
Showing
164 changed files
with
2,213 additions
and
2,235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
global using Autofac.Extensions.DependencyInjection; | ||
global using AsmResolver.DotNet; | ||
global using AsmResolver.DotNet.Builder; | ||
global using AsmResolver.DotNet.Serialized; | ||
global using AsmResolver.PE.File.Headers; | ||
global using Autofac.Extensions.DependencyInjection; | ||
global using BitMono.API.Protecting.Contexts; | ||
global using BitMono.API.Protecting.Pipeline; | ||
global using dnlib.DotNet; | ||
global using dnlib.DotNet.Writer; | ||
global using Microsoft.Extensions.Configuration; | ||
global using Microsoft.Extensions.DependencyInjection; | ||
global using NullGuard; | ||
global using System; | ||
global using System.Collections.Generic; | ||
global using System.Reflection; | ||
global using System.Runtime.CompilerServices; | ||
global using System.Threading; | ||
global using System.Threading.Tasks; | ||
global using IAssemblyResolver = AsmResolver.DotNet.IAssemblyResolver; | ||
global using IModule = Autofac.Core.IModule; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace BitMono.API.Protecting.Pipeline; | ||
|
||
public interface IInvokablePipeline | ||
{ | ||
bool Succeed { get; } | ||
ProtectionContext Context { get; } | ||
Action OnFail { get; set; } | ||
|
||
Task InvokeAsync(Func<ProtectionContext, Task<bool>> func); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
src/BitMono.API/Protecting/Resolvers/CustomAttributeResolve.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace BitMono.API.Protecting.Resolvers; | ||
|
||
public class CustomAttributeResolve | ||
{ | ||
public CustomAttribute CustomAttribute { get; set; } | ||
public object Value { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/BitMono.API/Protecting/Resolvers/IAttributeResolver.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace BitMono.API.Protecting.Resolvers; | ||
|
||
public interface IAttributeResolver | ||
{ | ||
bool Resolve(string feature, IHasCustomAttribute from, out CustomAttributeResolve attributeResolve); | ||
bool Resolve(string feature, IHasCustomAttribute from); | ||
bool Resolve(IHasCustomAttribute from); | ||
bool Resolve(Type featureType, IHasCustomAttribute from); | ||
bool Resolve<TFeature>(IHasCustomAttribute from) where TFeature : IProtection; | ||
} |
6 changes: 6 additions & 0 deletions
6
src/BitMono.API/Protecting/Resolvers/ICustomAttributeResolver.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace BitMono.API.Protecting.Resolvers; | ||
|
||
public interface ICustomAttributeResolver | ||
{ | ||
Dictionary<string, CustomAttributeResolve> Resolve(IHasCustomAttribute from, string @namespace, string name); | ||
} |
6 changes: 0 additions & 6 deletions
6
src/BitMono.API/Protecting/Resolvers/ICustomAttributesResolver.cs
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
src/BitMono.API/Protecting/Resolvers/IDnlibDefObfuscationAttributeResolver.cs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.