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