diff --git a/README.md b/README.md index 06ab923..11cc3f1 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ [![.NET](https://github.com/aimenux/PluginArchitectureDemo/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/aimenux/PluginArchitectureDemo/actions/workflows/ci.yml) # PluginArchitectureDemo -``` -Using various ways to illustrate plugin architecture -``` +``` +Using various ways to illustrate plugin architecture +``` > In this demo, i m using various ways in order to illustrate the use of plugin architecture. > @@ -13,7 +13,7 @@ Using various ways to illustrate plugin architecture > > :three: `Example03` use [autofac](https://github.com/autofac/Autofac) in order to load plugins > -> :bulb: Plugins are copied on `files` folder on post build events and loaded at startup by the application. +> :bulb: Plugins are copied on `plugins` folder on post build events and loaded at startup by the application. > -**`Tools`** : vs22, net 6.0, autofac, scrutor +**`Tools`** : vs22, net 6.0, autofac, scrutor \ No newline at end of file diff --git a/files/Example01.Plugin.Slack.dll b/plugins/Example01.Plugin.Slack.dll similarity index 100% rename from files/Example01.Plugin.Slack.dll rename to plugins/Example01.Plugin.Slack.dll diff --git a/files/Example01.Plugin.Teams.dll b/plugins/Example01.Plugin.Teams.dll similarity index 100% rename from files/Example01.Plugin.Teams.dll rename to plugins/Example01.Plugin.Teams.dll diff --git a/files/Example02.Plugin.Slack.dll b/plugins/Example02.Plugin.Slack.dll similarity index 100% rename from files/Example02.Plugin.Slack.dll rename to plugins/Example02.Plugin.Slack.dll diff --git a/files/Example02.Plugin.Teams.dll b/plugins/Example02.Plugin.Teams.dll similarity index 100% rename from files/Example02.Plugin.Teams.dll rename to plugins/Example02.Plugin.Teams.dll diff --git a/files/Example03.Plugin.Slack.dll b/plugins/Example03.Plugin.Slack.dll similarity index 100% rename from files/Example03.Plugin.Slack.dll rename to plugins/Example03.Plugin.Slack.dll diff --git a/files/Example03.Plugin.Teams.dll b/plugins/Example03.Plugin.Teams.dll similarity index 100% rename from files/Example03.Plugin.Teams.dll rename to plugins/Example03.Plugin.Teams.dll diff --git a/src/Example01/Example01.App/appsettings.json b/src/Example01/Example01.App/appsettings.json index a2aa149..3cfaadf 100644 --- a/src/Example01/Example01.App/appsettings.json +++ b/src/Example01/Example01.App/appsettings.json @@ -6,7 +6,7 @@ } }, "Settings": { - "PluginsPath": "..\\..\\..\\..\\..\\..\\files", + "PluginsPath": "..\\..\\..\\..\\..\\..\\plugins", "PluginsPattern": "Example01.Plugin.*.dll" } } \ No newline at end of file diff --git a/src/Example01/Example01.Plugin.Slack/Example01.Plugin.Slack.csproj b/src/Example01/Example01.Plugin.Slack/Example01.Plugin.Slack.csproj index ce74ca9..28732f8 100644 --- a/src/Example01/Example01.Plugin.Slack/Example01.Plugin.Slack.csproj +++ b/src/Example01/Example01.Plugin.Slack/Example01.Plugin.Slack.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/Example01/Example01.Plugin.Teams/Example01.Plugin.Teams.csproj b/src/Example01/Example01.Plugin.Teams/Example01.Plugin.Teams.csproj index 9a9e948..b9ca884 100644 --- a/src/Example01/Example01.Plugin.Teams/Example01.Plugin.Teams.csproj +++ b/src/Example01/Example01.Plugin.Teams/Example01.Plugin.Teams.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/Example02/Example02.App/appsettings.json b/src/Example02/Example02.App/appsettings.json index 00d19a5..111b58c 100644 --- a/src/Example02/Example02.App/appsettings.json +++ b/src/Example02/Example02.App/appsettings.json @@ -6,7 +6,7 @@ } }, "Settings": { - "PluginsPath": "..\\..\\..\\..\\..\\..\\files", + "PluginsPath": "..\\..\\..\\..\\..\\..\\plugins", "PluginsPattern": "Example02.Plugin.*.dll" } } \ No newline at end of file diff --git a/src/Example02/Example02.Plugin.Slack/Example02.Plugin.Slack.csproj b/src/Example02/Example02.Plugin.Slack/Example02.Plugin.Slack.csproj index 12edd76..89c773b 100644 --- a/src/Example02/Example02.Plugin.Slack/Example02.Plugin.Slack.csproj +++ b/src/Example02/Example02.Plugin.Slack/Example02.Plugin.Slack.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/Example02/Example02.Plugin.Teams/Example02.Plugin.Teams.csproj b/src/Example02/Example02.Plugin.Teams/Example02.Plugin.Teams.csproj index 8a8652a..b7405dc 100644 --- a/src/Example02/Example02.Plugin.Teams/Example02.Plugin.Teams.csproj +++ b/src/Example02/Example02.Plugin.Teams/Example02.Plugin.Teams.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/Example03/Example03.App/appsettings.json b/src/Example03/Example03.App/appsettings.json index 378d8ca..fff8d2b 100644 --- a/src/Example03/Example03.App/appsettings.json +++ b/src/Example03/Example03.App/appsettings.json @@ -6,7 +6,7 @@ } }, "Settings": { - "PluginsPath": "..\\..\\..\\..\\..\\..\\files", + "PluginsPath": "..\\..\\..\\..\\..\\..\\plugins", "PluginsPattern": "Example03.Plugin.*.dll" } } \ No newline at end of file diff --git a/src/Example03/Example03.Plugin.Slack/Example03.Plugin.Slack.csproj b/src/Example03/Example03.Plugin.Slack/Example03.Plugin.Slack.csproj index 9426fc2..4304f2f 100644 --- a/src/Example03/Example03.Plugin.Slack/Example03.Plugin.Slack.csproj +++ b/src/Example03/Example03.Plugin.Slack/Example03.Plugin.Slack.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/Example03/Example03.Plugin.Teams/Example03.Plugin.Teams.csproj b/src/Example03/Example03.Plugin.Teams/Example03.Plugin.Teams.csproj index e9f921b..1306376 100644 --- a/src/Example03/Example03.Plugin.Teams/Example03.Plugin.Teams.csproj +++ b/src/Example03/Example03.Plugin.Teams/Example03.Plugin.Teams.csproj @@ -10,7 +10,7 @@ - +