private static IEnumerable <string> GetEnumMemberNames(this Type type, AsyncApiOptions options) { foreach (Enum val in type.GetEnumValues()) { yield return(options.EnumMemberNameSelector(type, val)); } }
private static IEnumerable <string> GetEnumMemberNames(this Type type, AsyncApiOptions options) { foreach (Enum val in type.GetEnumValues()) { yield return(options.EnumMemberNameSelector(type, val)); } }