aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-06-19 14:35:18 +1000
committerRob Mensching <rob@firegiant.com>2020-06-19 00:49:01 -0700
commitc555f1fe49af68147615c8fe3d87bfef2eb6001d (patch)
tree31ee6c40b8c33f79436d373251124b96584e9ed5 /src
parent4b3a3e60eb5f621723be7b894a7a71ae331dcf46 (diff)
downloadwix-c555f1fe49af68147615c8fe3d87bfef2eb6001d.tar.gz
wix-c555f1fe49af68147615c8fe3d87bfef2eb6001d.tar.bz2
wix-c555f1fe49af68147615c8fe3d87bfef2eb6001d.zip
Restore Unreal to CustomTable.
Diffstat (limited to 'src')
-rw-r--r--src/WixToolset.Data/Tuples/WixCustomTableTuple.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs b/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs
index 4d668842..b0d12a63 100644
--- a/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs
+++ b/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs
@@ -11,6 +11,7 @@ namespace WixToolset.Data
11 new[] 11 new[]
12 { 12 {
13 new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.ColumnNames), IntermediateFieldType.String), 13 new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.ColumnNames), IntermediateFieldType.String),
14 new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.Unreal), IntermediateFieldType.Bool),
14 }, 15 },
15 typeof(WixCustomTableTuple)); 16 typeof(WixCustomTableTuple));
16 } 17 }
@@ -21,6 +22,7 @@ namespace WixToolset.Data.Tuples
21 public enum WixCustomTableTupleFields 22 public enum WixCustomTableTupleFields
22 { 23 {
23 ColumnNames, 24 ColumnNames,
25 Unreal,
24 } 26 }
25 27
26 public class WixCustomTableTuple : IntermediateTuple 28 public class WixCustomTableTuple : IntermediateTuple
@@ -43,6 +45,12 @@ namespace WixToolset.Data.Tuples
43 set => this.Set((int)WixCustomTableTupleFields.ColumnNames, value); 45 set => this.Set((int)WixCustomTableTupleFields.ColumnNames, value);
44 } 46 }
45 47
48 public bool Unreal
49 {
50 get => (bool)this.Fields[(int)WixCustomTableTupleFields.Unreal];
51 set => this.Set((int)WixCustomTableTupleFields.Unreal, value);
52 }
53
46 public string[] ColumnNamesSeparated => this.ColumnNames.Split(ColumnNamesSeparator); 54 public string[] ColumnNamesSeparated => this.ColumnNames.Split(ColumnNamesSeparator);
47 } 55 }
48} 56}