Dynamically Load and Run Chatter Modules
まだ誰も着手していません。
評価
調査の方向性
まず依存関係 #13 と、提案されている System.Runtime.Loader AssemblyLoadContext.Default.LoadFromAssemblyPath アプローチを確認します。実装前に、モジュールがカスタムインターフェースと MediatR のどちらを使用するのかを明確にします。完了条件は、ボットの実行中にユーザーがカスタム C# モジュールを有効化でき、その想定インターフェースが検出されて呼び出されることです。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C#
- スター
- 9
- フォーク
- 5
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DevChatter/ChatterBot のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
DevChatter/ChatterBot#53 ·
-
documentation
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
DevChatter/ChatterBot#52 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
DevChatter/ChatterBot#48 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
DevChatter/ChatterBot#47 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
DevChatter/ChatterBot#46 ·
DevChatter/ChatterBot の issue をすべて見る
似ている issue
-
effort:S P3 refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nightscout/nocturne#1532 ·
-
core dependencies
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
C#/.NET Roslyn LSP オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
DotNetNext/SqlSugar#1458 ·