예제 #1
0
        public string getParameterValue(string reportname_, ConfigParameterType pairType_)
        {
            string result = "";

            result = parameters.Where(s => s.Key == reportname_).FirstOrDefault().Value.getFolder(pairType_);
            return(result);
        }
예제 #2
0
        public string getFolder(ConfigParameterType pairType)
        {
            string pair = "";

            if (parametersType.TryGetValue(pairType, out pair))
            {
                return(parametersType[pairType]);
            }
            return(null);
        }