|
|
@@ -56,8 +56,8 @@ Service is often used to hold data externally, so that they will |
|
|
|
persist throughout execution. Think of it like a chest that holds |
|
|
|
whatever you throw at it that won't be affected by anything unless |
|
|
|
you want it to. Note that you should also learn Microsoft's |
|
|
|
implementation of [Dependency Injection] \([video]) before proceeding, as well |
|
|
|
as how it works in [Discord.Net](xref:Guides.Commands.Intro#usage-in-modules). |
|
|
|
implementation of [Dependency Injection] \([video]) before proceeding, |
|
|
|
as well as how it works in [Discord.Net](xref:Guides.Commands.DI#usage-in-modules). |
|
|
|
|
|
|
|
A brief example of service and dependency injection can be seen below. |
|
|
|
|
|
|
|