private void ReplaceValue(ConfigFileManager config, string key, string value) { var xpath = string.Format(_xpathFormatString, key); config.ReplaceXPathValues(xpath, value); }