Commit 8660760
committed
Refactor: Move IHost implementation to IBot interface
The BotApp class no longer implements the IHost interface directly.
Instead, the IBot interface now extends IHost, centralizing hosting
responsibilities within the IBot interface. This change ensures that
any class implementing IBot will also need to implement IHost.
Additionally, the necessary using directive for Microsoft.Extensions.Hosting
was added to IBot.cs.1 parent 7927b81 commit 8660760
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments