Skip to content

Commit 7fc9c71

Browse files
committed
comments
1 parent 3ca86e6 commit 7fc9c71

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/Our.Umbraco.Look/Models/TagQuery.cs

+14
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,19 @@ namespace Our.Umbraco.Look.Models
55
{
66
public class TagQuery
77
{
8+
/// <summary>
9+
/// Must have all these tags
10+
/// </summary>
811
public LookTag[] All { get; set; }
912

13+
/// <summary>
14+
/// Must have at least one of these tags
15+
/// </summary>
1016
public LookTag[] Any { get; set; }
1117

18+
/// <summary>
19+
/// Must not have any of these tags
20+
/// </summary>
1221
public LookTag[] Not { get; set; }
1322

1423
/// <summary>
@@ -52,6 +61,11 @@ public static LookTag[] MakeTags(params string[] tags)
5261
return lookTags.ToArray();
5362
}
5463

64+
/// <summary>
65+
/// Helper to simplify the construction of LookTag array
66+
/// </summary>
67+
/// <param name="tags"></param>
68+
/// <returns></returns>
5569
public static LookTag[] MakeTags(IEnumerable<string> tags)
5670
{
5771
return TagQuery.MakeTags(tags.ToArray());

0 commit comments

Comments
 (0)