public static async Task <IEnumerable <IGroup> > ByDisplayNamesAsync(this IGroupCollection groups, params string[] displayNames) { return(await groups.OfType <IGroup>().ByDisplayNamesAsync(displayNames).ConfigureAwait(false)); }
public static IEnumerable <IGroup> ByDisplayNames(this IGroupCollection groups, params string[] displayNames) { return(groups.OfType <IGroup>().ByDisplayNames(displayNames)); }