@@ -9,20 +9,52 @@ namespace Pixel.Automation.Core.Attributes
9
9
[ AttributeUsage ( AttributeTargets . Class , AllowMultiple = false ) ]
10
10
public class ToolBoxItemAttribute : Attribute
11
11
{
12
+ /// <summary>
13
+ /// Name of the ToolBox Item
14
+ /// </summary>
12
15
public string Name { get ; }
16
+
17
+ /// <summary>
18
+ /// Category to which ToolBox Item belongs
19
+ /// </summary>
13
20
public string Category { get ; }
21
+
22
+ /// <summary>
23
+ /// SubCategory within Category
24
+ /// </summary>
14
25
public string SubCategory { get ; }
26
+
27
+ /// <summary>
28
+ /// Custom Icon for the ToolBoxItem
29
+ /// </summary>
15
30
public string IconSource { get ; }
31
+
32
+ /// <summary>
33
+ /// Description for the ToolBox Item
34
+ /// </summary>
16
35
public string Description { get ; }
36
+
37
+ /// <summary>
38
+ /// Tags associated with ToolBox Item that can be used to filter items
39
+ /// </summary>
17
40
public List < string > Tags { get ; }
18
41
42
+ /// <summary>
43
+ /// constructor
44
+ /// </summary>
45
+ /// <param name="name"></param>
46
+ /// <param name="category"></param>
47
+ /// <param name="subCategory"></param>
48
+ /// <param name="iconSource"></param>
49
+ /// <param name="description"></param>
50
+ /// <param name="tags"></param>
19
51
public ToolBoxItemAttribute ( string name , string category , string subCategory = "" , string iconSource = null , string description = null , params string [ ] tags )
20
52
{
21
53
Name = name ;
22
54
Category = category ;
23
55
SubCategory = subCategory ;
24
56
IconSource = iconSource ;
25
- Description = null ;
57
+ Description = description ;
26
58
this . Tags = new List < string > ( ) ;
27
59
this . Tags . AddRange ( tags ) ;
28
60
}
0 commit comments