aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/ComPlusPartitionUserTuple.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/ComPlusPartitionUserTuple.cs
parent70be1d502423a22df7f28cc283761434d3a0eeaa (diff)
downloadwix-d8ef78a2b67d15d0bbd09d10e920b38d36c34435.tar.gz
wix-d8ef78a2b67d15d0bbd09d10e920b38d36c34435.tar.bz2
wix-d8ef78a2b67d15d0bbd09d10e920b38d36c34435.zip
Modernize ComPlusCompiler and tuples.
Diffstat (limited to 'src/wixext/Tuples/ComPlusPartitionUserTuple.cs')
-rw-r--r--src/wixext/Tuples/ComPlusPartitionUserTuple.cs38
1 files changed, 15 insertions, 23 deletions
diff --git a/src/wixext/Tuples/ComPlusPartitionUserTuple.cs b/src/wixext/Tuples/ComPlusPartitionUserTuple.cs
index 33a58d38..052b1746 100644
--- a/src/wixext/Tuples/ComPlusPartitionUserTuple.cs
+++ b/src/wixext/Tuples/ComPlusPartitionUserTuple.cs
@@ -11,10 +11,9 @@ namespace WixToolset.ComPlus
11 ComPlusTupleDefinitionType.ComPlusPartitionUser.ToString(), 11 ComPlusTupleDefinitionType.ComPlusPartitionUser.ToString(),
12 new[] 12 new[]
13 { 13 {
14 new IntermediateFieldDefinition(nameof(ComPlusPartitionUserTupleFields.PartitionUser), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(ComPlusPartitionUserTupleFields.PartitionRef), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(ComPlusPartitionUserTupleFields.Partition_), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(ComPlusPartitionUserTupleFields.ComponentRef), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(ComPlusPartitionUserTupleFields.Component_), IntermediateFieldType.String), 16 new IntermediateFieldDefinition(nameof(ComPlusPartitionUserTupleFields.UserRef), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(ComPlusPartitionUserTupleFields.User_), IntermediateFieldType.String),
18 }, 17 },
19 typeof(ComPlusPartitionUserTuple)); 18 typeof(ComPlusPartitionUserTuple));
20 } 19 }
@@ -26,10 +25,9 @@ namespace WixToolset.ComPlus.Tuples
26 25
27 public enum ComPlusPartitionUserTupleFields 26 public enum ComPlusPartitionUserTupleFields
28 { 27 {
29 PartitionUser, 28 PartitionRef,
30 Partition_, 29 ComponentRef,
31 Component_, 30 UserRef,
32 User_,
33 } 31 }
34 32
35 public class ComPlusPartitionUserTuple : IntermediateTuple 33 public class ComPlusPartitionUserTuple : IntermediateTuple
@@ -44,28 +42,22 @@ namespace WixToolset.ComPlus.Tuples
44 42
45 public IntermediateField this[ComPlusPartitionUserTupleFields index] => this.Fields[(int)index]; 43 public IntermediateField this[ComPlusPartitionUserTupleFields index] => this.Fields[(int)index];
46 44
47 public string PartitionUser 45 public string PartitionRef
48 { 46 {
49 get => this.Fields[(int)ComPlusPartitionUserTupleFields.PartitionUser].AsString(); 47 get => this.Fields[(int)ComPlusPartitionUserTupleFields.PartitionRef].AsString();
50 set => this.Set((int)ComPlusPartitionUserTupleFields.PartitionUser, value); 48 set => this.Set((int)ComPlusPartitionUserTupleFields.PartitionRef, value);
51 } 49 }
52 50
53 public string Partition_ 51 public string ComponentRef
54 { 52 {
55 get => this.Fields[(int)ComPlusPartitionUserTupleFields.Partition_].AsString(); 53 get => this.Fields[(int)ComPlusPartitionUserTupleFields.ComponentRef].AsString();
56 set => this.Set((int)ComPlusPartitionUserTupleFields.Partition_, value); 54 set => this.Set((int)ComPlusPartitionUserTupleFields.ComponentRef, value);
57 } 55 }
58 56
59 public string Component_ 57 public string UserRef
60 { 58 {
61 get => this.Fields[(int)ComPlusPartitionUserTupleFields.Component_].AsString(); 59 get => this.Fields[(int)ComPlusPartitionUserTupleFields.UserRef].AsString();
62 set => this.Set((int)ComPlusPartitionUserTupleFields.Component_, value); 60 set => this.Set((int)ComPlusPartitionUserTupleFields.UserRef, value);
63 }
64
65 public string User_
66 {
67 get => this.Fields[(int)ComPlusPartitionUserTupleFields.User_].AsString();
68 set => this.Set((int)ComPlusPartitionUserTupleFields.User_, value);
69 } 61 }
70 } 62 }
71} \ No newline at end of file 63} \ No newline at end of file