public IDictionary <string, ComplexDictionary> Dictionaries(string codes = null) { if (string.IsNullOrEmpty(codes)) { return(null); } var codeArray = codes.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries); var result = new Dictionary <string, ComplexDictionary>(codeArray.Length); foreach (var code in codeArray) { var dicData = DictionaryPool.GetSimpleDictionary(code); result.Add(code, new ComplexDictionary(code, dicData)); } return(result); }