diff --git a/src/Our.Umbraco.Look/Models/TagQuery.cs b/src/Our.Umbraco.Look/Models/TagQuery.cs index 48e14d6..76256ab 100644 --- a/src/Our.Umbraco.Look/Models/TagQuery.cs +++ b/src/Our.Umbraco.Look/Models/TagQuery.cs @@ -5,10 +5,19 @@ namespace Our.Umbraco.Look.Models { public class TagQuery { + /// + /// Must have all these tags + /// public LookTag[] All { get; set; } + /// + /// Must have at least one of these tags + /// public LookTag[] Any { get; set; } + /// + /// Must not have any of these tags + /// public LookTag[] Not { get; set; } /// @@ -52,6 +61,11 @@ public static LookTag[] MakeTags(params string[] tags) return lookTags.ToArray(); } + /// + /// Helper to simplify the construction of LookTag array + /// + /// + /// public static LookTag[] MakeTags(IEnumerable tags) { return TagQuery.MakeTags(tags.ToArray());