Esempio n. 1
0
        public static bondtype getBondTypeFromString(String b)
        {
            bondtype Result = (bondtype)Enum.Parse(typeof(bondtype), b, true);

            return(Result);
        }
Esempio n. 2
0
 public static String getStringFromEnum(bondtype b)
 {
     return(b.ToString());
 }