예제 #1
0
        private static T GetDictionaryType <T>(this XElement node)
            where T : struct
        {
            var type = ConfigBase.GetAttributeNode(node, "@DictionaryType").Value;

            return((T)Enum.Parse(typeof(T), type));
        }