moved assembly loading code to a different namespace.
This commit is contained in:
parent
86d5eceeaf
commit
0f3f1d866a
@ -3,7 +3,7 @@ using System.Reflection;
|
|||||||
using System.Runtime.Loader;
|
using System.Runtime.Loader;
|
||||||
|
|
||||||
// from https://docs.microsoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support#load-plugins
|
// from https://docs.microsoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support#load-plugins
|
||||||
namespace MultiShop.Shops
|
namespace MultiShop.Load
|
||||||
{
|
{
|
||||||
public class LoaderContext : AssemblyLoadContext
|
public class LoaderContext : AssemblyLoadContext
|
||||||
{
|
{
|
@ -4,7 +4,7 @@ using System.IO;
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using MultiShop.ShopFramework;
|
using MultiShop.ShopFramework;
|
||||||
|
|
||||||
namespace MultiShop.Shops
|
namespace MultiShop.Load
|
||||||
{
|
{
|
||||||
public class ShopLoader
|
public class ShopLoader
|
||||||
{
|
{
|
Loading…
Reference in New Issue
Block a user