private ConfigKeyReport GetLocalConfigKeyReport(string key) { string configValue = GetLocalConfigValue(key); if (configValue == null) { return(null); } ConfigKeyReport retVal = new ConfigKeyReport { Key = key, Value = configValue }; string configContextName; retVal.ConfigSource = WasValueFromConfigContext(key, out configContextName) ? ConfigKeySource.ContextSpecific : ConfigKeySource.Default; retVal.PlaneName = PlaneDescriptor.Key; retVal.ConfigContextName = configContextName; return(retVal); }
public ConfigKeyReport GetConfigKeyReport(string key) { ConfigKeyReport retVal = GetLocalConfigKeyReport(key); return(retVal != null ? (retVal) : Child?.GetConfigKeyReport(key)); }