示例#1
0
 public static T ToValue <T>(this Enum field)
 {
     return(EnumValueAttribute.GetValue <T>(field));
 }