Skip to content

Dynamically Load and Run Chatter Modules #19

@benrick

Description

@benrick

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 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions