示例#1
0
 internal static string GetEnumDescription(this System.Enum value, string defaultValue = null)
 {
     return(value.GetEnumAttribute <DescriptionAttribute>(a => a.Description, defaultValue));
 }