Skip to content

Commit

Permalink
Add readme note about keyed services with M.E.DI
Browse files Browse the repository at this point in the history
Related to #148
  • Loading branch information
Tyrrrz committed Oct 26, 2024
1 parent 093b676 commit 73bf19d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,10 @@ public static class Program
}
```

> **Note**:
> If you want to use certain advanced features provided by `Microsoft.Extensions.DependencyInjection`, you may need to do a bit of extra work to configure the container properly.
> For example, to leverage support for keyed services, you need to [manually register an implementation of `IKeyedServiceProvider`](https://github.com/Tyrrrz/CliFx/issues/148).
### Testing

Thanks to the `IConsole` abstraction, **CliFx** commands can be easily tested in isolation.
Expand Down

0 comments on commit 73bf19d

Please sign in to comment.