Why ConfigurationProvider Class's Data property is Protected? #27513
Unanswered
BrandoZhangTest
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found the ConfigurationProvider Class's Data property is Protected, but it provide the method to get the key and value.
In my opinion, I couldn't understand why set it is protected.
If I want to list the asp.net core environment variable, we could only write a custom method to list all keys and then get value according to these keys.
Example:
Beta Was this translation helpful? Give feedback.
All reactions