public static string Name(this RenderType value)
 {
     DescriptionAttribute[] da = (DescriptionAttribute[])(value.GetType().GetField(value.ToString())).GetCustomAttributes(typeof(DescriptionAttribute), false);
     return(da.Length > 0 ? da[0].Description : value.ToString());
 }