Esempio n. 1
0
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            List <Enum>   input  = (List <Enum>)value;
            List <string> result = new List <string>();

            foreach (Enum e in input)
            {
                result.Add(ConverterFunctions.getEnumDesctiption__(e));
            }
            return(result);
        }
Esempio n. 2
0
 public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 {
     return(ConverterFunctions.getEnumDesctiption__((Enum)value));
 }