aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/ComPlusAssemblyTuple.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/ComPlusAssemblyTuple.cs
parent70be1d502423a22df7f28cc283761434d3a0eeaa (diff)
downloadwix-d8ef78a2b67d15d0bbd09d10e920b38d36c34435.tar.gz
wix-d8ef78a2b67d15d0bbd09d10e920b38d36c34435.tar.bz2
wix-d8ef78a2b67d15d0bbd09d10e920b38d36c34435.zip
Modernize ComPlusCompiler and tuples.
Diffstat (limited to 'src/wixext/Tuples/ComPlusAssemblyTuple.cs')
-rw-r--r--src/wixext/Tuples/ComPlusAssemblyTuple.cs28
1 files changed, 10 insertions, 18 deletions
diff --git a/src/wixext/Tuples/ComPlusAssemblyTuple.cs b/src/wixext/Tuples/ComPlusAssemblyTuple.cs
index 0330b4e8..c4593cad 100644
--- a/src/wixext/Tuples/ComPlusAssemblyTuple.cs
+++ b/src/wixext/Tuples/ComPlusAssemblyTuple.cs
@@ -11,9 +11,8 @@ namespace WixToolset.ComPlus
11 ComPlusTupleDefinitionType.ComPlusAssembly.ToString(), 11 ComPlusTupleDefinitionType.ComPlusAssembly.ToString(),
12 new[] 12 new[]
13 { 13 {
14 new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.Assembly), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.ApplicationRef), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.Application_), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.ComponentRef), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.Component_), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.AssemblyName), IntermediateFieldType.String), 16 new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.AssemblyName), IntermediateFieldType.String),
18 new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.DllPath), IntermediateFieldType.String), 17 new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.DllPath), IntermediateFieldType.String),
19 new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.TlbPath), IntermediateFieldType.String), 18 new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.TlbPath), IntermediateFieldType.String),
@@ -30,9 +29,8 @@ namespace WixToolset.ComPlus.Tuples
30 29
31 public enum ComPlusAssemblyTupleFields 30 public enum ComPlusAssemblyTupleFields
32 { 31 {
33 Assembly, 32 ApplicationRef,
34 Application_, 33 ComponentRef,
35 Component_,
36 AssemblyName, 34 AssemblyName,
37 DllPath, 35 DllPath,
38 TlbPath, 36 TlbPath,
@@ -52,22 +50,16 @@ namespace WixToolset.ComPlus.Tuples
52 50
53 public IntermediateField this[ComPlusAssemblyTupleFields index] => this.Fields[(int)index]; 51 public IntermediateField this[ComPlusAssemblyTupleFields index] => this.Fields[(int)index];
54 52
55 public string Assembly 53 public string ApplicationRef
56 { 54 {
57 get => this.Fields[(int)ComPlusAssemblyTupleFields.Assembly].AsString(); 55 get => this.Fields[(int)ComPlusAssemblyTupleFields.ApplicationRef].AsString();
58 set => this.Set((int)ComPlusAssemblyTupleFields.Assembly, value); 56 set => this.Set((int)ComPlusAssemblyTupleFields.ApplicationRef, value);
59 } 57 }
60 58
61 public string Application_ 59 public string ComponentRef
62 { 60 {
63 get => this.Fields[(int)ComPlusAssemblyTupleFields.Application_].AsString(); 61 get => this.Fields[(int)ComPlusAssemblyTupleFields.ComponentRef].AsString();
64 set => this.Set((int)ComPlusAssemblyTupleFields.Application_, value); 62 set => this.Set((int)ComPlusAssemblyTupleFields.ComponentRef, value);
65 }
66
67 public string Component_
68 {
69 get => this.Fields[(int)ComPlusAssemblyTupleFields.Component_].AsString();
70 set => this.Set((int)ComPlusAssemblyTupleFields.Component_, value);
71 } 63 }
72 64
73 public string AssemblyName 65 public string AssemblyName