aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/HelpFileTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples/HelpFileTuple.cs')
-rw-r--r--src/wixext/Tuples/HelpFileTuple.cs64
1 files changed, 32 insertions, 32 deletions
diff --git a/src/wixext/Tuples/HelpFileTuple.cs b/src/wixext/Tuples/HelpFileTuple.cs
index 49d3bc44..8078f4ab 100644
--- a/src/wixext/Tuples/HelpFileTuple.cs
+++ b/src/wixext/Tuples/HelpFileTuple.cs
@@ -3,31 +3,31 @@
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 HelpFile = new IntermediateTupleDefinition( 10 public static readonly IntermediateSymbolDefinition HelpFile = new IntermediateSymbolDefinition(
11 VSTupleDefinitionType.HelpFile.ToString(), 11 VSSymbolDefinitionType.HelpFile.ToString(),
12 new[] 12 new[]
13 { 13 {
14 new IntermediateFieldDefinition(nameof(HelpFileTupleFields.HelpFileName), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(HelpFileSymbolFields.HelpFileName), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(HelpFileTupleFields.LangID), IntermediateFieldType.Number), 15 new IntermediateFieldDefinition(nameof(HelpFileSymbolFields.LangID), IntermediateFieldType.Number),
16 new IntermediateFieldDefinition(nameof(HelpFileTupleFields.HxSFileRef), IntermediateFieldType.String), 16 new IntermediateFieldDefinition(nameof(HelpFileSymbolFields.HxSFileRef), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(HelpFileTupleFields.HxIFileRef), IntermediateFieldType.String), 17 new IntermediateFieldDefinition(nameof(HelpFileSymbolFields.HxIFileRef), IntermediateFieldType.String),
18 new IntermediateFieldDefinition(nameof(HelpFileTupleFields.HxQFileRef), IntermediateFieldType.String), 18 new IntermediateFieldDefinition(nameof(HelpFileSymbolFields.HxQFileRef), IntermediateFieldType.String),
19 new IntermediateFieldDefinition(nameof(HelpFileTupleFields.HxRFileRef), IntermediateFieldType.String), 19 new IntermediateFieldDefinition(nameof(HelpFileSymbolFields.HxRFileRef), IntermediateFieldType.String),
20 new IntermediateFieldDefinition(nameof(HelpFileTupleFields.SamplesFileRef), IntermediateFieldType.String), 20 new IntermediateFieldDefinition(nameof(HelpFileSymbolFields.SamplesFileRef), IntermediateFieldType.String),
21 }, 21 },
22 typeof(HelpFileTuple)); 22 typeof(HelpFileSymbol));
23 } 23 }
24} 24}
25 25
26namespace WixToolset.VisualStudio.Tuples 26namespace WixToolset.VisualStudio.Symbols
27{ 27{
28 using WixToolset.Data; 28 using WixToolset.Data;
29 29
30 public enum HelpFileTupleFields 30 public enum HelpFileSymbolFields
31 { 31 {
32 HelpFileName, 32 HelpFileName,
33 LangID, 33 LangID,
@@ -38,58 +38,58 @@ namespace WixToolset.VisualStudio.Tuples
38 SamplesFileRef, 38 SamplesFileRef,
39 } 39 }
40 40
41 public class HelpFileTuple : IntermediateTuple 41 public class HelpFileSymbol : IntermediateSymbol
42 { 42 {
43 public HelpFileTuple() : base(VSTupleDefinitions.HelpFile, null, null) 43 public HelpFileSymbol() : base(VSSymbolDefinitions.HelpFile, null, null)
44 { 44 {
45 } 45 }
46 46
47 public HelpFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(VSTupleDefinitions.HelpFile, sourceLineNumber, id) 47 public HelpFileSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(VSSymbolDefinitions.HelpFile, sourceLineNumber, id)
48 { 48 {
49 } 49 }
50 50
51 public IntermediateField this[HelpFileTupleFields index] => this.Fields[(int)index]; 51 public IntermediateField this[HelpFileSymbolFields index] => this.Fields[(int)index];
52 52
53 public string HelpFileName 53 public string HelpFileName
54 { 54 {
55 get => this.Fields[(int)HelpFileTupleFields.HelpFileName].AsString(); 55 get => this.Fields[(int)HelpFileSymbolFields.HelpFileName].AsString();
56 set => this.Set((int)HelpFileTupleFields.HelpFileName, value); 56 set => this.Set((int)HelpFileSymbolFields.HelpFileName, value);
57 } 57 }
58 58
59 public int? LangID 59 public int? LangID
60 { 60 {
61 get => this.Fields[(int)HelpFileTupleFields.LangID].AsNullableNumber(); 61 get => this.Fields[(int)HelpFileSymbolFields.LangID].AsNullableNumber();
62 set => this.Set((int)HelpFileTupleFields.LangID, value); 62 set => this.Set((int)HelpFileSymbolFields.LangID, value);
63 } 63 }
64 64
65 public string HxSFileRef 65 public string HxSFileRef
66 { 66 {
67 get => this.Fields[(int)HelpFileTupleFields.HxSFileRef].AsString(); 67 get => this.Fields[(int)HelpFileSymbolFields.HxSFileRef].AsString();
68 set => this.Set((int)HelpFileTupleFields.HxSFileRef, value); 68 set => this.Set((int)HelpFileSymbolFields.HxSFileRef, value);
69 } 69 }
70 70
71 public string HxIFileRef 71 public string HxIFileRef
72 { 72 {
73 get => this.Fields[(int)HelpFileTupleFields.HxIFileRef].AsString(); 73 get => this.Fields[(int)HelpFileSymbolFields.HxIFileRef].AsString();
74 set => this.Set((int)HelpFileTupleFields.HxIFileRef, value); 74 set => this.Set((int)HelpFileSymbolFields.HxIFileRef, value);
75 } 75 }
76 76
77 public string HxQFileRef 77 public string HxQFileRef
78 { 78 {
79 get => this.Fields[(int)HelpFileTupleFields.HxQFileRef].AsString(); 79 get => this.Fields[(int)HelpFileSymbolFields.HxQFileRef].AsString();
80 set => this.Set((int)HelpFileTupleFields.HxQFileRef, value); 80 set => this.Set((int)HelpFileSymbolFields.HxQFileRef, value);
81 } 81 }
82 82
83 public string HxRFileRef 83 public string HxRFileRef
84 { 84 {
85 get => this.Fields[(int)HelpFileTupleFields.HxRFileRef].AsString(); 85 get => this.Fields[(int)HelpFileSymbolFields.HxRFileRef].AsString();
86 set => this.Set((int)HelpFileTupleFields.HxRFileRef, value); 86 set => this.Set((int)HelpFileSymbolFields.HxRFileRef, value);
87 } 87 }
88 88
89 public string SamplesFileRef 89 public string SamplesFileRef
90 { 90 {
91 get => this.Fields[(int)HelpFileTupleFields.SamplesFileRef].AsString(); 91 get => this.Fields[(int)HelpFileSymbolFields.SamplesFileRef].AsString();
92 set => this.Set((int)HelpFileTupleFields.SamplesFileRef, value); 92 set => this.Set((int)HelpFileSymbolFields.SamplesFileRef, value);
93 } 93 }
94 } 94 }
95} \ No newline at end of file 95} \ No newline at end of file