moved assembly loading code to a different namespace.

This commit is contained in:
Harrison Deng 2021-04-23 22:02:06 -05:00
parent 86d5eceeaf
commit 0f3f1d866a
2 changed files with 2 additions and 2 deletions

View File

@ -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
{ {

View File

@ -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
{ {