The MS doc on options configuration via DI is quite to "light" to understand for a beginner. I read from the doc:
Services can be accessed from