[AppSettingsConfigProvider] have assembly + class name as a const string
Issue #1
resolved
When using MyConfig programmatically (using new ConfigurationManager) you have to input the assembly name and class name, which seems error prone and awkward. We can easily keep this data in a const or readonly string inside the assembly that can be referenced.
Comments (2)
-
reporter -
reporter - changed status to resolved
Fixed issue
#1- Have assembly + class name as a const string→ <<cset ce129db09444>>
- Log in to comment
Looks like static read-only string is what we want: http://www.stum.de/2009/01/14/const-strings-a-very-convenient-way-to-shoot-yourself-in-the-foot/