introduction of nuget packages as plugins support

This commit is contained in:
zznty
2023-02-08 15:56:50 +07:00
parent 1a1a7e779a
commit b9cb71e11f
20 changed files with 805 additions and 10 deletions

View File

@@ -0,0 +1,14 @@
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using System.Runtime.Loader;
using Torch.API.WebAPI.Plugins;
namespace Torch.API.Managers;
public interface IPackageManager : IManager
{
IReadOnlySet<Package> Packages { get; }
bool TryGetPackageAssemblies(Package package, [MaybeNullWhen(false)] out Assembly[] assemblies);
}