diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Tuples/MsiPatchHeadersTuple.cs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/WixToolset.Data/Tuples/MsiPatchHeadersTuple.cs b/src/WixToolset.Data/Tuples/MsiPatchHeadersTuple.cs index 3f7a8de2..0c68b164 100644 --- a/src/WixToolset.Data/Tuples/MsiPatchHeadersTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiPatchHeadersTuple.cs | |||
@@ -2,51 +2,51 @@ | |||
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 MsiPatchHeaders = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiPatchHeaders = new IntermediateSymbolDefinition( |
10 | TupleDefinitionType.MsiPatchHeaders, | 10 | SymbolDefinitionType.MsiPatchHeaders, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(MsiPatchHeadersTupleFields.StreamRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MsiPatchHeadersSymbolFields.StreamRef), IntermediateFieldType.String), |
14 | new IntermediateFieldDefinition(nameof(MsiPatchHeadersTupleFields.Header), IntermediateFieldType.Path), | 14 | new IntermediateFieldDefinition(nameof(MsiPatchHeadersSymbolFields.Header), IntermediateFieldType.Path), |
15 | }, | 15 | }, |
16 | typeof(MsiPatchHeadersTuple)); | 16 | typeof(MsiPatchHeadersSymbol)); |
17 | } | 17 | } |
18 | } | 18 | } |
19 | 19 | ||
20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
21 | { | 21 | { |
22 | public enum MsiPatchHeadersTupleFields | 22 | public enum MsiPatchHeadersSymbolFields |
23 | { | 23 | { |
24 | StreamRef, | 24 | StreamRef, |
25 | Header, | 25 | Header, |
26 | } | 26 | } |
27 | 27 | ||
28 | public class MsiPatchHeadersTuple : IntermediateTuple | 28 | public class MsiPatchHeadersSymbol : IntermediateSymbol |
29 | { | 29 | { |
30 | public MsiPatchHeadersTuple() : base(TupleDefinitions.MsiPatchHeaders, null, null) | 30 | public MsiPatchHeadersSymbol() : base(SymbolDefinitions.MsiPatchHeaders, null, null) |
31 | { | 31 | { |
32 | } | 32 | } |
33 | 33 | ||
34 | public MsiPatchHeadersTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiPatchHeaders, sourceLineNumber, id) | 34 | public MsiPatchHeadersSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiPatchHeaders, sourceLineNumber, id) |
35 | { | 35 | { |
36 | } | 36 | } |
37 | 37 | ||
38 | public IntermediateField this[MsiPatchHeadersTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[MsiPatchHeadersSymbolFields index] => this.Fields[(int)index]; |
39 | 39 | ||
40 | public string StreamRef | 40 | public string StreamRef |
41 | { | 41 | { |
42 | get => (string)this.Fields[(int)MsiPatchHeadersTupleFields.StreamRef]; | 42 | get => (string)this.Fields[(int)MsiPatchHeadersSymbolFields.StreamRef]; |
43 | set => this.Set((int)MsiPatchHeadersTupleFields.StreamRef, value); | 43 | set => this.Set((int)MsiPatchHeadersSymbolFields.StreamRef, value); |
44 | } | 44 | } |
45 | 45 | ||
46 | public string Header | 46 | public string Header |
47 | { | 47 | { |
48 | get => (string)this.Fields[(int)MsiPatchHeadersTupleFields.Header]; | 48 | get => (string)this.Fields[(int)MsiPatchHeadersSymbolFields.Header]; |
49 | set => this.Set((int)MsiPatchHeadersTupleFields.Header, value); | 49 | set => this.Set((int)MsiPatchHeadersSymbolFields.Header, value); |
50 | } | 50 | } |
51 | } | 51 | } |
52 | } \ No newline at end of file | 52 | } \ No newline at end of file |