Beispiel #1
0
 public static Tag[] GetTags(this Doujin doujin,
                             TagType type) =>
 doujin.Tags?.Select(x => x.Tag).Where(t => t.Type == type).ToArray();
Beispiel #2
0
 public static Tag GetTag(this Doujin doujin,
                          TagType type) => doujin.Tags?.Select(x => x.Tag).FirstOrDefault(x => x.Type == type);