Files
SQLLint/SQLLinter/Infrastructure/Plugins/AssemblyWrapper.cs

19 lines
410 B
C#

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();
}
}
}