Something like [PreventSource(typeof(CommandLineSource))] would be really useful for ensuring that key values only come from certain sources. The AggregateSource class would then need to enforce this. In this way we could prevent sensitive values such as connection strings from being overwritten on the command line.
Something like
[PreventSource(typeof(CommandLineSource))]
would be really useful for ensuring that key values only come from certain sources. TheAggregateSource
class would then need to enforce this. In this way we could prevent sensitive values such as connection strings from being overwritten on the command line.