コード例 #1
0
 public static async Task <MenuCategory> GetCategoryByPattern(Pattern pattern)
 {
     return((await GetCategoriesAsync()).FirstOrDefault(c => c.Patterns.Contains(pattern)));
 }