Browse Source

Fix broken MD linking

pull/988/head
Hsu Still 7 years ago
parent
commit
3c1ee5510b
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      docs/_overwrites/Commands/DontInjectAttribute.Overwrite.md
  2. +2
    -2
      docs/faq/commands/Commands.md

+ 1
- 1
docs/_overwrites/Commands/DontInjectAttribute.Overwrite.md View File

@@ -6,7 +6,7 @@ remarks: *content
The attribute can be applied to a public settable property inside a
@Discord.Commands.ModuleBase based class. By applying this attribute,
the marked property will not be automatically injected of the
dependency. See [Dependency Injection](xref:Guides.Commands.Intro#dependency-injection)
dependency. See [Dependency Injection](xref:Guides.Commands.DI)
to learn more.

---


+ 2
- 2
docs/faq/commands/Commands.md View File

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



Loading…
Cancel
Save