aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/ComPlusApplicationRoleTuple.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-04-08 11:46:38 +1000
committerSean Hall <r.sean.hall@gmail.com>2020-04-08 14:23:11 +1000
commitd8ef78a2b67d15d0bbd09d10e920b38d36c34435 (patch)
tree09870ce0399dfcd0d4710c261f6c5d7930ca3c41 /src/wixext/Tuples/ComPlusApplicationRoleTuple.cs
parent70be1d502423a22df7f28cc283761434d3a0eeaa (diff)
downloadwix-d8ef78a2b67d15d0bbd09d10e920b38d36c34435.tar.gz
wix-d8ef78a2b67d15d0bbd09d10e920b38d36c34435.tar.bz2
wix-d8ef78a2b67d15d0bbd09d10e920b38d36c34435.zip
Modernize ComPlusCompiler and tuples.
Diffstat (limited to 'src/wixext/Tuples/ComPlusApplicationRoleTuple.cs')
-rw-r--r--src/wixext/Tuples/ComPlusApplicationRoleTuple.cs28
1 files changed, 10 insertions, 18 deletions
diff --git a/src/wixext/Tuples/ComPlusApplicationRoleTuple.cs b/src/wixext/Tuples/ComPlusApplicationRoleTuple.cs
index 5a0cf378..bd9cdcf8 100644
--- a/src/wixext/Tuples/ComPlusApplicationRoleTuple.cs
+++ b/src/wixext/Tuples/ComPlusApplicationRoleTuple.cs
@@ -11,9 +11,8 @@ namespace WixToolset.ComPlus
11 ComPlusTupleDefinitionType.ComPlusApplicationRole.ToString(), 11 ComPlusTupleDefinitionType.ComPlusApplicationRole.ToString(),
12 new[] 12 new[]
13 { 13 {
14 new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleTupleFields.ApplicationRole), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleTupleFields.ApplicationRef), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleTupleFields.Application_), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleTupleFields.ComponentRef), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleTupleFields.Component_), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleTupleFields.Name), IntermediateFieldType.String), 16 new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleTupleFields.Name), IntermediateFieldType.String),
18 }, 17 },
19 typeof(ComPlusApplicationRoleTuple)); 18 typeof(ComPlusApplicationRoleTuple));
@@ -26,9 +25,8 @@ namespace WixToolset.ComPlus.Tuples
26 25
27 public enum ComPlusApplicationRoleTupleFields 26 public enum ComPlusApplicationRoleTupleFields
28 { 27 {
29 ApplicationRole, 28 ApplicationRef,
30 Application_, 29 ComponentRef,
31 Component_,
32 Name, 30 Name,
33 } 31 }
34 32
@@ -44,22 +42,16 @@ namespace WixToolset.ComPlus.Tuples
44 42
45 public IntermediateField this[ComPlusApplicationRoleTupleFields index] => this.Fields[(int)index]; 43 public IntermediateField this[ComPlusApplicationRoleTupleFields index] => this.Fields[(int)index];
46 44
47 public string ApplicationRole 45 public string ApplicationRef
48 { 46 {
49 get => this.Fields[(int)ComPlusApplicationRoleTupleFields.ApplicationRole].AsString(); 47 get => this.Fields[(int)ComPlusApplicationRoleTupleFields.ApplicationRef].AsString();
50 set => this.Set((int)ComPlusApplicationRoleTupleFields.ApplicationRole, value); 48 set => this.Set((int)ComPlusApplicationRoleTupleFields.ApplicationRef, value);
51 } 49 }
52 50
53 public string Application_ 51 public string ComponentRef
54 { 52 {
55 get => this.Fields[(int)ComPlusApplicationRoleTupleFields.Application_].AsString(); 53 get => this.Fields[(int)ComPlusApplicationRoleTupleFields.ComponentRef].AsString();
56 set => this.Set((int)ComPlusApplicationRoleTupleFields.Application_, value); 54 set => this.Set((int)ComPlusApplicationRoleTupleFields.ComponentRef, value);
57 }
58
59 public string Component_
60 {
61 get => this.Fields[(int)ComPlusApplicationRoleTupleFields.Component_].AsString();
62 set => this.Set((int)ComPlusApplicationRoleTupleFields.Component_, value);
63 } 55 }
64 56
65 public string Name 57 public string Name