From 0f3f1d866a0aff32a67aebebcb5f63453bbcb338 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Fri, 23 Apr 2021 22:02:06 -0500 Subject: [PATCH] moved assembly loading code to a different namespace. --- src/MultiShop/{Shops => Load}/LoaderContext.cs | 2 +- src/MultiShop/{Shops => Load}/ShopLoader.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/MultiShop/{Shops => Load}/LoaderContext.cs (97%) rename src/MultiShop/{Shops => Load}/ShopLoader.cs (98%) diff --git a/src/MultiShop/Shops/LoaderContext.cs b/src/MultiShop/Load/LoaderContext.cs similarity index 97% rename from src/MultiShop/Shops/LoaderContext.cs rename to src/MultiShop/Load/LoaderContext.cs index 1669393..f904763 100644 --- a/src/MultiShop/Shops/LoaderContext.cs +++ b/src/MultiShop/Load/LoaderContext.cs @@ -3,7 +3,7 @@ using System.Reflection; using System.Runtime.Loader; // 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 { diff --git a/src/MultiShop/Shops/ShopLoader.cs b/src/MultiShop/Load/ShopLoader.cs similarity index 98% rename from src/MultiShop/Shops/ShopLoader.cs rename to src/MultiShop/Load/ShopLoader.cs index 4caa68e..269ef0f 100644 --- a/src/MultiShop/Shops/ShopLoader.cs +++ b/src/MultiShop/Load/ShopLoader.cs @@ -4,7 +4,7 @@ using System.IO; using System.Reflection; using MultiShop.ShopFramework; -namespace MultiShop.Shops +namespace MultiShop.Load { public class ShopLoader {