DevChatter / DevChatter/ChatterBot

Dynamically Load and Run Chatter Modules

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
9
Forks
5
PR merge metrics
No merged PRs in 30d

Description

For our custom C# modules, we'll need a way for them to be dynamically loaded at runtime when the user activates the module while the bot is running.

We could possibly use `AssemblyLoadContext.Default.LoadFromAssemblyPath(path)` from the [System.Runtime.Loader](https://www.nuget.org/packages/System.Runtime.Loader/) package in order to get the assembly loaded and then we'll use some kind of reflection to find the interfaces we're looking for.

We might be using a custom interface, or it could be something loaded into mediatr, but should discuss before implementing something for this.

This depends on #13 existing, since that's how we'll find the interface we're calling in their code.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.