示例#1
0
        public static Dictionary <TKey, TValue> LoadDictionary <TKey, TValue>(string fileName)
        {
            List <KVPair <TKey, TValue> > lst = (List <KVPair <TKey, TValue> >)DoLoad(fileName, typeof(List <KVPair <TKey, TValue> >));

            return(DictionaryAdapter.ToDictionary(lst));
        }