Добавьте файлы проекта.
This commit is contained in:
18
SQLLinter/Infrastructure/Plugins/AssemblyWrapper.cs
Normal file
18
SQLLinter/Infrastructure/Plugins/AssemblyWrapper.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using SQLLinter.Core.Interfaces;
|
||||
using System.Reflection;
|
||||
|
||||
namespace SQLLinter.Infrastructure.Plugins
|
||||
{
|
||||
public class AssemblyWrapper : IAssemblyWrapper
|
||||
{
|
||||
public Assembly LoadFrom(string path)
|
||||
{
|
||||
return Assembly.LoadFrom(path);
|
||||
}
|
||||
|
||||
public Type[] GetExportedTypes(Assembly assembly)
|
||||
{
|
||||
return assembly.GetExportedTypes();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user