File tree 1 file changed +14
-0
lines changed
src/Our.Umbraco.Look/Models
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,19 @@ namespace Our.Umbraco.Look.Models
5
5
{
6
6
public class TagQuery
7
7
{
8
+ /// <summary>
9
+ /// Must have all these tags
10
+ /// </summary>
8
11
public LookTag [ ] All { get ; set ; }
9
12
13
+ /// <summary>
14
+ /// Must have at least one of these tags
15
+ /// </summary>
10
16
public LookTag [ ] Any { get ; set ; }
11
17
18
+ /// <summary>
19
+ /// Must not have any of these tags
20
+ /// </summary>
12
21
public LookTag [ ] Not { get ; set ; }
13
22
14
23
/// <summary>
@@ -52,6 +61,11 @@ public static LookTag[] MakeTags(params string[] tags)
52
61
return lookTags . ToArray ( ) ;
53
62
}
54
63
64
+ /// <summary>
65
+ /// Helper to simplify the construction of LookTag array
66
+ /// </summary>
67
+ /// <param name="tags"></param>
68
+ /// <returns></returns>
55
69
public static LookTag [ ] MakeTags ( IEnumerable < string > tags )
56
70
{
57
71
return TagQuery . MakeTags ( tags . ToArray ( ) ) ;
You can’t perform that action at this time.
0 commit comments