public object ResolveConfig(string configKey, object context) { if (unevaluatedSections != null && unevaluatedSections.Contains(configKey)) { return(Evaluate(configKey, context)); } if (parent != null) { return(parent.GetConfig(configKey, context)); } return(null); }
object IConfigurationSystem.GetConfig(string configKey) { if (_application != null) { return(_application.GetConfig(configKey)); } else { throw new InvalidOperationException("Client config init error"); } }