❔ Benefits of using a ServiceManager class over dependency injection?
GitHub
CodeMazeGuides/ServiceManager.cs at main · CodeMazeBlog/CodeMazeGui...
The main repository for all the Code Maze guides. Contribute to CodeMazeBlog/CodeMazeGuides development by creating an account on GitHub.
3 Replies
This is known as the service locator pattern
It's quite smelly, and doesn't offer anything over DI
thank you for the clarification
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.