예제 #1
0
        public static string ToString(this ConnectionType c)
        {
            ValueNameAttr attr = GetAttr(c);

            return(attr.Name);
        }
예제 #2
0
        public static byte ToByteValue(this ConnectionType c)
        {
            ValueNameAttr attr = GetAttr(c);

            return(attr.Value);
        }