public string getParameterValue(string reportname_, ConfigParameterType pairType_) { string result = ""; result = parameters.Where(s => s.Key == reportname_).FirstOrDefault().Value.getFolder(pairType_); return(result); }
public string getFolder(ConfigParameterType pairType) { string pair = ""; if (parametersType.TryGetValue(pairType, out pair)) { return(parametersType[pairType]); } return(null); }