diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Tuples/SummaryInformationTuple.cs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/WixToolset.Data/Tuples/SummaryInformationTuple.cs b/src/WixToolset.Data/Tuples/SummaryInformationTuple.cs index d395d115..b3b233fe 100644 --- a/src/WixToolset.Data/Tuples/SummaryInformationTuple.cs +++ b/src/WixToolset.Data/Tuples/SummaryInformationTuple.cs | |||
@@ -2,24 +2,24 @@ | |||
2 | 2 | ||
3 | namespace WixToolset.Data | 3 | namespace WixToolset.Data |
4 | { | 4 | { |
5 | using WixToolset.Data.Tuples; | 5 | using WixToolset.Data.Symbols; |
6 | 6 | ||
7 | public static partial class TupleDefinitions | 7 | public static partial class SymbolDefinitions |
8 | { | 8 | { |
9 | public static readonly IntermediateTupleDefinition SummaryInformation = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition SummaryInformation = new IntermediateSymbolDefinition( |
10 | TupleDefinitionType.SummaryInformation, | 10 | SymbolDefinitionType.SummaryInformation, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(SummaryInformationTupleFields.PropertyId), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(SummaryInformationSymbolFields.PropertyId), IntermediateFieldType.Number), |
14 | new IntermediateFieldDefinition(nameof(SummaryInformationTupleFields.Value), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(SummaryInformationSymbolFields.Value), IntermediateFieldType.String), |
15 | }, | 15 | }, |
16 | typeof(SummaryInformationTuple)); | 16 | typeof(SummaryInformationSymbol)); |
17 | } | 17 | } |
18 | } | 18 | } |
19 | 19 | ||
20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
21 | { | 21 | { |
22 | public enum SummaryInformationTupleFields | 22 | public enum SummaryInformationSymbolFields |
23 | { | 23 | { |
24 | PropertyId, | 24 | PropertyId, |
25 | Value, | 25 | Value, |
@@ -75,28 +75,28 @@ namespace WixToolset.Data.Tuples | |||
75 | Version31 = 5, | 75 | Version31 = 5, |
76 | } | 76 | } |
77 | 77 | ||
78 | public class SummaryInformationTuple : IntermediateTuple | 78 | public class SummaryInformationSymbol : IntermediateSymbol |
79 | { | 79 | { |
80 | public SummaryInformationTuple() : base(TupleDefinitions.SummaryInformation, null, null) | 80 | public SummaryInformationSymbol() : base(SymbolDefinitions.SummaryInformation, null, null) |
81 | { | 81 | { |
82 | } | 82 | } |
83 | 83 | ||
84 | public SummaryInformationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.SummaryInformation, sourceLineNumber, id) | 84 | public SummaryInformationSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.SummaryInformation, sourceLineNumber, id) |
85 | { | 85 | { |
86 | } | 86 | } |
87 | 87 | ||
88 | public IntermediateField this[SummaryInformationTupleFields index] => this.Fields[(int)index]; | 88 | public IntermediateField this[SummaryInformationSymbolFields index] => this.Fields[(int)index]; |
89 | 89 | ||
90 | public SummaryInformationType PropertyId | 90 | public SummaryInformationType PropertyId |
91 | { | 91 | { |
92 | get => (SummaryInformationType)this.Fields[(int)SummaryInformationTupleFields.PropertyId].AsNumber(); | 92 | get => (SummaryInformationType)this.Fields[(int)SummaryInformationSymbolFields.PropertyId].AsNumber(); |
93 | set => this.Set((int)SummaryInformationTupleFields.PropertyId, (int)value); | 93 | set => this.Set((int)SummaryInformationSymbolFields.PropertyId, (int)value); |
94 | } | 94 | } |
95 | 95 | ||
96 | public string Value | 96 | public string Value |
97 | { | 97 | { |
98 | get => (string)this.Fields[(int)SummaryInformationTupleFields.Value]; | 98 | get => (string)this.Fields[(int)SummaryInformationSymbolFields.Value]; |
99 | set => this.Set((int)SummaryInformationTupleFields.Value, value); | 99 | set => this.Set((int)SummaryInformationSymbolFields.Value, value); |
100 | } | 100 | } |
101 | } | 101 | } |
102 | } | 102 | } |