Skip to content

Conversation

@FrankRay78
Copy link
Contributor

@FrankRay78 FrankRay78 commented Aug 24, 2024

This PR is part of spectreconsole/spectre.console#1620 and should be merged at the same time.


Changes:

  • Updated code example to align with snippet in CommandApp/DI documentation
  • Renamed TypeRegistrar to MyTypeRegistrar, making it more obvious it is a custom class the user must provide.

@welbertwpg
Copy link

I agree 100%. I got confused with the TypeRegistrar example and had to refer to the example code here to understand what I was missing, especially because the package also contains a class with the exact same name.

@patriksvensson patriksvensson merged commit f113d9f into spectreconsole:main Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants