aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/PerformanceCategoryTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples/PerformanceCategoryTuple.cs')
-rw-r--r--src/wixext/Tuples/PerformanceCategoryTuple.cs46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/wixext/Tuples/PerformanceCategoryTuple.cs b/src/wixext/Tuples/PerformanceCategoryTuple.cs
index 16705466..5ecf388c 100644
--- a/src/wixext/Tuples/PerformanceCategoryTuple.cs
+++ b/src/wixext/Tuples/PerformanceCategoryTuple.cs
@@ -3,28 +3,28 @@
3namespace WixToolset.Util 3namespace WixToolset.Util
4{ 4{
5 using WixToolset.Data; 5 using WixToolset.Data;
6 using WixToolset.Util.Tuples; 6 using WixToolset.Util.Symbols;
7 7
8 public static partial class UtilTupleDefinitions 8 public static partial class UtilSymbolDefinitions
9 { 9 {
10 public static readonly IntermediateTupleDefinition PerformanceCategory = new IntermediateTupleDefinition( 10 public static readonly IntermediateSymbolDefinition PerformanceCategory = new IntermediateSymbolDefinition(
11 UtilTupleDefinitionType.PerformanceCategory.ToString(), 11 UtilSymbolDefinitionType.PerformanceCategory.ToString(),
12 new[] 12 new[]
13 { 13 {
14 new IntermediateFieldDefinition(nameof(PerformanceCategoryTupleFields.ComponentRef), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(PerformanceCategorySymbolFields.ComponentRef), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(PerformanceCategoryTupleFields.Name), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(PerformanceCategorySymbolFields.Name), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(PerformanceCategoryTupleFields.IniData), IntermediateFieldType.String), 16 new IntermediateFieldDefinition(nameof(PerformanceCategorySymbolFields.IniData), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(PerformanceCategoryTupleFields.ConstantData), IntermediateFieldType.String), 17 new IntermediateFieldDefinition(nameof(PerformanceCategorySymbolFields.ConstantData), IntermediateFieldType.String),
18 }, 18 },
19 typeof(PerformanceCategoryTuple)); 19 typeof(PerformanceCategorySymbol));
20 } 20 }
21} 21}
22 22
23namespace WixToolset.Util.Tuples 23namespace WixToolset.Util.Symbols
24{ 24{
25 using WixToolset.Data; 25 using WixToolset.Data;
26 26
27 public enum PerformanceCategoryTupleFields 27 public enum PerformanceCategorySymbolFields
28 { 28 {
29 ComponentRef, 29 ComponentRef,
30 Name, 30 Name,
@@ -32,40 +32,40 @@ namespace WixToolset.Util.Tuples
32 ConstantData, 32 ConstantData,
33 } 33 }
34 34
35 public class PerformanceCategoryTuple : IntermediateTuple 35 public class PerformanceCategorySymbol : IntermediateSymbol
36 { 36 {
37 public PerformanceCategoryTuple() : base(UtilTupleDefinitions.PerformanceCategory, null, null) 37 public PerformanceCategorySymbol() : base(UtilSymbolDefinitions.PerformanceCategory, null, null)
38 { 38 {
39 } 39 }
40 40
41 public PerformanceCategoryTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.PerformanceCategory, sourceLineNumber, id) 41 public PerformanceCategorySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilSymbolDefinitions.PerformanceCategory, sourceLineNumber, id)
42 { 42 {
43 } 43 }
44 44
45 public IntermediateField this[PerformanceCategoryTupleFields index] => this.Fields[(int)index]; 45 public IntermediateField this[PerformanceCategorySymbolFields index] => this.Fields[(int)index];
46 46
47 public string ComponentRef 47 public string ComponentRef
48 { 48 {
49 get => this.Fields[(int)PerformanceCategoryTupleFields.ComponentRef].AsString(); 49 get => this.Fields[(int)PerformanceCategorySymbolFields.ComponentRef].AsString();
50 set => this.Set((int)PerformanceCategoryTupleFields.ComponentRef, value); 50 set => this.Set((int)PerformanceCategorySymbolFields.ComponentRef, value);
51 } 51 }
52 52
53 public string Name 53 public string Name
54 { 54 {
55 get => this.Fields[(int)PerformanceCategoryTupleFields.Name].AsString(); 55 get => this.Fields[(int)PerformanceCategorySymbolFields.Name].AsString();
56 set => this.Set((int)PerformanceCategoryTupleFields.Name, value); 56 set => this.Set((int)PerformanceCategorySymbolFields.Name, value);
57 } 57 }
58 58
59 public string IniData 59 public string IniData
60 { 60 {
61 get => this.Fields[(int)PerformanceCategoryTupleFields.IniData].AsString(); 61 get => this.Fields[(int)PerformanceCategorySymbolFields.IniData].AsString();
62 set => this.Set((int)PerformanceCategoryTupleFields.IniData, value); 62 set => this.Set((int)PerformanceCategorySymbolFields.IniData, value);
63 } 63 }
64 64
65 public string ConstantData 65 public string ConstantData
66 { 66 {
67 get => this.Fields[(int)PerformanceCategoryTupleFields.ConstantData].AsString(); 67 get => this.Fields[(int)PerformanceCategorySymbolFields.ConstantData].AsString();
68 set => this.Set((int)PerformanceCategoryTupleFields.ConstantData, value); 68 set => this.Set((int)PerformanceCategorySymbolFields.ConstantData, value);
69 } 69 }
70 } 70 }
71} \ No newline at end of file 71} \ No newline at end of file