aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs b/src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs
index d1e49834..eeed1673 100644
--- a/src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs
+++ b/src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.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 MsiEmbeddedChainer = new IntermediateTupleDefinition( 9 public static readonly IntermediateSymbolDefinition MsiEmbeddedChainer = new IntermediateSymbolDefinition(
10 TupleDefinitionType.MsiEmbeddedChainer, 10 SymbolDefinitionType.MsiEmbeddedChainer,
11 new[] 11 new[]
12 { 12 {
13 new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerTupleFields.Condition), IntermediateFieldType.String), 13 new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerSymbolFields.Condition), IntermediateFieldType.String),
14 new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerTupleFields.CommandLine), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerSymbolFields.CommandLine), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerTupleFields.Source), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerSymbolFields.Source), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerTupleFields.Type), IntermediateFieldType.Number), 16 new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerSymbolFields.Type), IntermediateFieldType.Number),
17 }, 17 },
18 typeof(MsiEmbeddedChainerTuple)); 18 typeof(MsiEmbeddedChainerSymbol));
19 } 19 }
20} 20}
21 21
22namespace WixToolset.Data.Tuples 22namespace WixToolset.Data.Symbols
23{ 23{
24 public enum MsiEmbeddedChainerTupleFields 24 public enum MsiEmbeddedChainerSymbolFields
25 { 25 {
26 Condition, 26 Condition,
27 CommandLine, 27 CommandLine,
@@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples
29 Type, 29 Type,
30 } 30 }
31 31
32 public class MsiEmbeddedChainerTuple : IntermediateTuple 32 public class MsiEmbeddedChainerSymbol : IntermediateSymbol
33 { 33 {
34 public MsiEmbeddedChainerTuple() : base(TupleDefinitions.MsiEmbeddedChainer, null, null) 34 public MsiEmbeddedChainerSymbol() : base(SymbolDefinitions.MsiEmbeddedChainer, null, null)
35 { 35 {
36 } 36 }
37 37
38 public MsiEmbeddedChainerTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiEmbeddedChainer, sourceLineNumber, id) 38 public MsiEmbeddedChainerSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiEmbeddedChainer, sourceLineNumber, id)
39 { 39 {
40 } 40 }
41 41
42 public IntermediateField this[MsiEmbeddedChainerTupleFields index] => this.Fields[(int)index]; 42 public IntermediateField this[MsiEmbeddedChainerSymbolFields index] => this.Fields[(int)index];
43 43
44 public string Condition 44 public string Condition
45 { 45 {
46 get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.Condition]; 46 get => (string)this.Fields[(int)MsiEmbeddedChainerSymbolFields.Condition];
47 set => this.Set((int)MsiEmbeddedChainerTupleFields.Condition, value); 47 set => this.Set((int)MsiEmbeddedChainerSymbolFields.Condition, value);
48 } 48 }
49 49
50 public string CommandLine 50 public string CommandLine
51 { 51 {
52 get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.CommandLine]; 52 get => (string)this.Fields[(int)MsiEmbeddedChainerSymbolFields.CommandLine];
53 set => this.Set((int)MsiEmbeddedChainerTupleFields.CommandLine, value); 53 set => this.Set((int)MsiEmbeddedChainerSymbolFields.CommandLine, value);
54 } 54 }
55 55
56 public string Source 56 public string Source
57 { 57 {
58 get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.Source]; 58 get => (string)this.Fields[(int)MsiEmbeddedChainerSymbolFields.Source];
59 set => this.Set((int)MsiEmbeddedChainerTupleFields.Source, value); 59 set => this.Set((int)MsiEmbeddedChainerSymbolFields.Source, value);
60 } 60 }
61 61
62 public int Type 62 public int Type
63 { 63 {
64 get => (int)this.Fields[(int)MsiEmbeddedChainerTupleFields.Type]; 64 get => (int)this.Fields[(int)MsiEmbeddedChainerSymbolFields.Type];
65 set => this.Set((int)MsiEmbeddedChainerTupleFields.Type, value); 65 set => this.Set((int)MsiEmbeddedChainerSymbolFields.Type, value);
66 } 66 }
67 } 67 }
68} \ No newline at end of file 68} \ No newline at end of file