Ejemplo n.º 1
0
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            if (value == null)
            {
                return(String.Empty);
            }

            return(RefactorUtil.GetDescription(value));
        }
Ejemplo n.º 2
0
 public static string GetDescription <T>(this T enumValue) where T : struct
 {
     return(RefactorUtil.GetDescription(enumValue));
 }