Пример #1
0
 private static IEnumerable <string> GetEnumMemberNames(this Type type, AsyncApiOptions options)
 {
     foreach (Enum val in type.GetEnumValues())
     {
         yield return(options.EnumMemberNameSelector(type, val));
     }
 }