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