Beispiel #1
0
        public static Dictionary <char, Color> TipoCol()
        {
            Dictionary <char, Color> ret = new Dictionary <char, Color>();

            foreach (var prop in typeof(ETipo).GetFields())
            {
                cc v = (cc)prop.GetValue(typeof(ETipo));
                ret.Add(v.ch, v.co);
            }
            return(ret);
        }
Beispiel #2
0
 public TipoVal(String tipo, cc val)
 {
     this.tipo = tipo;
     this.val  = val;
 }