@joebigelow / wix / commits / c555f1fe

Restore Unreal to CustomTable.

Sean Hall committed Jun 19, 2020 at 14:35 UTC c555f1fe49af68147615c8fe3d87bfef2eb6001d
1 file changed +8
src/WixToolset.Data/Tuples/WixCustomTableTuple.cs
+8
@@ -11,6 +11,7 @@ namespace WixToolset.Data
11 new[]
12 {
13 new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.ColumnNames), IntermediateFieldType.String),
14 + new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.Unreal), IntermediateFieldType.Bool),
15 },
16 typeof(WixCustomTableTuple));
17 }
@@ -21,6 +22,7 @@ namespace WixToolset.Data.Tuples
22 public enum WixCustomTableTupleFields
23 {
24 ColumnNames,
25 + Unreal,
26 }
27
28 public class WixCustomTableTuple : IntermediateTuple
@@ -43,6 +45,12 @@ namespace WixToolset.Data.Tuples
45 set => this.Set((int)WixCustomTableTupleFields.ColumnNames, value);
46 }
47
48 + public bool Unreal
49 + {
50 + get => (bool)this.Fields[(int)WixCustomTableTupleFields.Unreal];
51 + set => this.Set((int)WixCustomTableTupleFields.Unreal, value);
52 + }
53 +
54 public string[] ColumnNamesSeparated => this.ColumnNames.Split(ColumnNamesSeparator);
55 }
56 }