aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/WixBundleVariableTuple.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2020-06-24 14:05:08 -0700
committerRob Mensching <rob@firegiant.com>2020-06-25 12:48:19 -0700
commit9787570331b511bab73ac8f4f38a3b8cfa053ca5 (patch)
tree508155e2cf4f6bafeef2be1059da547291025352 /src/WixToolset.Data/Tuples/WixBundleVariableTuple.cs
parent2bcc21d5c2d27e578f59f905f6acd0979b78aa9d (diff)
downloadwix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.tar.gz
wix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.tar.bz2
wix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.zip
The Great Tuple to Symbol Rename (tm)
Diffstat (limited to 'src/WixToolset.Data/Tuples/WixBundleVariableTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/WixBundleVariableTuple.cs46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/WixToolset.Data/Tuples/WixBundleVariableTuple.cs b/src/WixToolset.Data/Tuples/WixBundleVariableTuple.cs
index d7d74657..85cf2798 100644
--- a/src/WixToolset.Data/Tuples/WixBundleVariableTuple.cs
+++ b/src/WixToolset.Data/Tuples/WixBundleVariableTuple.cs
@@ -2,26 +2,26 @@
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 WixBundleVariable = new IntermediateTupleDefinition( 9 public static readonly IntermediateSymbolDefinition WixBundleVariable = new IntermediateSymbolDefinition(
10 TupleDefinitionType.WixBundleVariable, 10 SymbolDefinitionType.WixBundleVariable,
11 new[] 11 new[]
12 { 12 {
13 new IntermediateFieldDefinition(nameof(WixBundleVariableTupleFields.Value), IntermediateFieldType.String), 13 new IntermediateFieldDefinition(nameof(WixBundleVariableSymbolFields.Value), IntermediateFieldType.String),
14 new IntermediateFieldDefinition(nameof(WixBundleVariableTupleFields.Type), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(WixBundleVariableSymbolFields.Type), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(WixBundleVariableTupleFields.Hidden), IntermediateFieldType.Bool), 15 new IntermediateFieldDefinition(nameof(WixBundleVariableSymbolFields.Hidden), IntermediateFieldType.Bool),
16 new IntermediateFieldDefinition(nameof(WixBundleVariableTupleFields.Persisted), IntermediateFieldType.Bool), 16 new IntermediateFieldDefinition(nameof(WixBundleVariableSymbolFields.Persisted), IntermediateFieldType.Bool),
17 }, 17 },
18 typeof(WixBundleVariableTuple)); 18 typeof(WixBundleVariableSymbol));
19 } 19 }
20} 20}
21 21
22namespace WixToolset.Data.Tuples 22namespace WixToolset.Data.Symbols
23{ 23{
24 public enum WixBundleVariableTupleFields 24 public enum WixBundleVariableSymbolFields
25 { 25 {
26 Value, 26 Value,
27 Type, 27 Type,
@@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples
29 Persisted, 29 Persisted,
30 } 30 }
31 31
32 public class WixBundleVariableTuple : IntermediateTuple 32 public class WixBundleVariableSymbol : IntermediateSymbol
33 { 33 {
34 public WixBundleVariableTuple() : base(TupleDefinitions.WixBundleVariable, null, null) 34 public WixBundleVariableSymbol() : base(SymbolDefinitions.WixBundleVariable, null, null)
35 { 35 {
36 } 36 }
37 37
38 public WixBundleVariableTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleVariable, sourceLineNumber, id) 38 public WixBundleVariableSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleVariable, sourceLineNumber, id)
39 { 39 {
40 } 40 }
41 41
42 public IntermediateField this[WixBundleVariableTupleFields index] => this.Fields[(int)index]; 42 public IntermediateField this[WixBundleVariableSymbolFields index] => this.Fields[(int)index];
43 43
44 public string Value 44 public string Value
45 { 45 {
46 get => (string)this.Fields[(int)WixBundleVariableTupleFields.Value]; 46 get => (string)this.Fields[(int)WixBundleVariableSymbolFields.Value];
47 set => this.Set((int)WixBundleVariableTupleFields.Value, value); 47 set => this.Set((int)WixBundleVariableSymbolFields.Value, value);
48 } 48 }
49 49
50 public string Type 50 public string Type
51 { 51 {
52 get => (string)this.Fields[(int)WixBundleVariableTupleFields.Type]; 52 get => (string)this.Fields[(int)WixBundleVariableSymbolFields.Type];
53 set => this.Set((int)WixBundleVariableTupleFields.Type, value); 53 set => this.Set((int)WixBundleVariableSymbolFields.Type, value);
54 } 54 }
55 55
56 public bool Hidden 56 public bool Hidden
57 { 57 {
58 get => (bool)this.Fields[(int)WixBundleVariableTupleFields.Hidden]; 58 get => (bool)this.Fields[(int)WixBundleVariableSymbolFields.Hidden];
59 set => this.Set((int)WixBundleVariableTupleFields.Hidden, value); 59 set => this.Set((int)WixBundleVariableSymbolFields.Hidden, value);
60 } 60 }
61 61
62 public bool Persisted 62 public bool Persisted
63 { 63 {
64 get => (bool)this.Fields[(int)WixBundleVariableTupleFields.Persisted]; 64 get => (bool)this.Fields[(int)WixBundleVariableSymbolFields.Persisted];
65 set => this.Set((int)WixBundleVariableTupleFields.Persisted, value); 65 set => this.Set((int)WixBundleVariableSymbolFields.Persisted, value);
66 } 66 }
67 } 67 }
68} 68}