From a4c49ddc3baf4ebf7a6c40f2d3c10e2e6e3632db Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Thu, 9 Feb 2023 05:12:55 -0800 Subject: Fix ComponentGroupSymbol fields --- .../Symbols/WixComponentGroupSymbol.cs | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'src/api') diff --git a/src/api/wix/WixToolset.Data/Symbols/WixComponentGroupSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/WixComponentGroupSymbol.cs index 4dd5a3b5..e000864f 100644 --- a/src/api/wix/WixToolset.Data/Symbols/WixComponentGroupSymbol.cs +++ b/src/api/wix/WixToolset.Data/Symbols/WixComponentGroupSymbol.cs @@ -10,7 +10,8 @@ namespace WixToolset.Data SymbolDefinitionType.WixComponentGroup, new[] { - new IntermediateFieldDefinition(nameof(WixComponentGroupSymbolFields.WixComponentGroup), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(WixComponentGroupSymbolFields.DirectoryRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(WixComponentGroupSymbolFields.Source), IntermediateFieldType.String), }, typeof(WixComponentGroupSymbol)); } @@ -20,7 +21,8 @@ namespace WixToolset.Data.Symbols { public enum WixComponentGroupSymbolFields { - WixComponentGroup, + DirectoryRef, + Source, } public class WixComponentGroupSymbol : IntermediateSymbol @@ -35,10 +37,16 @@ namespace WixToolset.Data.Symbols public IntermediateField this[WixComponentGroupSymbolFields index] => this.Fields[(int)index]; - public string WixComponentGroup + public string DirectoryRef { - get => (string)this.Fields[(int)WixComponentGroupSymbolFields.WixComponentGroup]; - set => this.Set((int)WixComponentGroupSymbolFields.WixComponentGroup, value); + get => (string)this.Fields[(int)WixComponentGroupSymbolFields.DirectoryRef]; + set => this.Set((int)WixComponentGroupSymbolFields.DirectoryRef, value); + } + + public string Source + { + get => (string)this.Fields[(int)WixComponentGroupSymbolFields.Source]; + set => this.Set((int)WixComponentGroupSymbolFields.Source, value); } } -} \ No newline at end of file +} -- cgit v1.2.3-55-g6feb