aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/HelpFilterTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples/HelpFilterTuple.cs')
-rw-r--r--src/wixext/Tuples/HelpFilterTuple.cs34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/wixext/Tuples/HelpFilterTuple.cs b/src/wixext/Tuples/HelpFilterTuple.cs
index 6592defa..9deb47d0 100644
--- a/src/wixext/Tuples/HelpFilterTuple.cs
+++ b/src/wixext/Tuples/HelpFilterTuple.cs
@@ -3,53 +3,53 @@
3namespace WixToolset.VisualStudio 3namespace WixToolset.VisualStudio
4{ 4{
5 using WixToolset.Data; 5 using WixToolset.Data;
6 using WixToolset.VisualStudio.Tuples; 6 using WixToolset.VisualStudio.Symbols;
7 7
8 public static partial class VSTupleDefinitions 8 public static partial class VSSymbolDefinitions
9 { 9 {
10 public static readonly IntermediateTupleDefinition HelpFilter = new IntermediateTupleDefinition( 10 public static readonly IntermediateSymbolDefinition HelpFilter = new IntermediateSymbolDefinition(
11 VSTupleDefinitionType.HelpFilter.ToString(), 11 VSSymbolDefinitionType.HelpFilter.ToString(),
12 new[] 12 new[]
13 { 13 {
14 new IntermediateFieldDefinition(nameof(HelpFilterTupleFields.Description), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(HelpFilterSymbolFields.Description), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(HelpFilterTupleFields.QueryString), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(HelpFilterSymbolFields.QueryString), IntermediateFieldType.String),
16 }, 16 },
17 typeof(HelpFilterTuple)); 17 typeof(HelpFilterSymbol));
18 } 18 }
19} 19}
20 20
21namespace WixToolset.VisualStudio.Tuples 21namespace WixToolset.VisualStudio.Symbols
22{ 22{
23 using WixToolset.Data; 23 using WixToolset.Data;
24 24
25 public enum HelpFilterTupleFields 25 public enum HelpFilterSymbolFields
26 { 26 {
27 Description, 27 Description,
28 QueryString, 28 QueryString,
29 } 29 }
30 30
31 public class HelpFilterTuple : IntermediateTuple 31 public class HelpFilterSymbol : IntermediateSymbol
32 { 32 {
33 public HelpFilterTuple() : base(VSTupleDefinitions.HelpFilter, null, null) 33 public HelpFilterSymbol() : base(VSSymbolDefinitions.HelpFilter, null, null)
34 { 34 {
35 } 35 }
36 36
37 public HelpFilterTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(VSTupleDefinitions.HelpFilter, sourceLineNumber, id) 37 public HelpFilterSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(VSSymbolDefinitions.HelpFilter, sourceLineNumber, id)
38 { 38 {
39 } 39 }
40 40
41 public IntermediateField this[HelpFilterTupleFields index] => this.Fields[(int)index]; 41 public IntermediateField this[HelpFilterSymbolFields index] => this.Fields[(int)index];
42 42
43 public string Description 43 public string Description
44 { 44 {
45 get => this.Fields[(int)HelpFilterTupleFields.Description].AsString(); 45 get => this.Fields[(int)HelpFilterSymbolFields.Description].AsString();
46 set => this.Set((int)HelpFilterTupleFields.Description, value); 46 set => this.Set((int)HelpFilterSymbolFields.Description, value);
47 } 47 }
48 48
49 public string QueryString 49 public string QueryString
50 { 50 {
51 get => this.Fields[(int)HelpFilterTupleFields.QueryString].AsString(); 51 get => this.Fields[(int)HelpFilterSymbolFields.QueryString].AsString();
52 set => this.Set((int)HelpFilterTupleFields.QueryString, value); 52 set => this.Set((int)HelpFilterSymbolFields.QueryString, value);
53 } 53 }
54 } 54 }
55} \ No newline at end of file 55} \ No newline at end of file