diff options
Diffstat (limited to 'src/api/wix/WixToolset.Data/Symbols/WixPatchFamilyGroupSymbol.cs')
-rw-r--r-- | src/api/wix/WixToolset.Data/Symbols/WixPatchFamilyGroupSymbol.cs | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/api/wix/WixToolset.Data/Symbols/WixPatchFamilyGroupSymbol.cs b/src/api/wix/WixToolset.Data/Symbols/WixPatchFamilyGroupSymbol.cs new file mode 100644 index 00000000..3ab34f1f --- /dev/null +++ b/src/api/wix/WixToolset.Data/Symbols/WixPatchFamilyGroupSymbol.cs | |||
@@ -0,0 +1,44 @@ | |||
1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
2 | |||
3 | namespace WixToolset.Data | ||
4 | { | ||
5 | using WixToolset.Data.Symbols; | ||
6 | |||
7 | public static partial class SymbolDefinitions | ||
8 | { | ||
9 | public static readonly IntermediateSymbolDefinition WixPatchFamilyGroup = new IntermediateSymbolDefinition( | ||
10 | SymbolDefinitionType.WixPatchFamilyGroup, | ||
11 | new[] | ||
12 | { | ||
13 | new IntermediateFieldDefinition(nameof(WixPatchFamilyGroupSymbolFields.WixPatchFamilyGroup), IntermediateFieldType.String), | ||
14 | }, | ||
15 | typeof(WixPatchFamilyGroupSymbol)); | ||
16 | } | ||
17 | } | ||
18 | |||
19 | namespace WixToolset.Data.Symbols | ||
20 | { | ||
21 | public enum WixPatchFamilyGroupSymbolFields | ||
22 | { | ||
23 | WixPatchFamilyGroup, | ||
24 | } | ||
25 | |||
26 | public class WixPatchFamilyGroupSymbol : IntermediateSymbol | ||
27 | { | ||
28 | public WixPatchFamilyGroupSymbol() : base(SymbolDefinitions.WixPatchFamilyGroup, null, null) | ||
29 | { | ||
30 | } | ||
31 | |||
32 | public WixPatchFamilyGroupSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixPatchFamilyGroup, sourceLineNumber, id) | ||
33 | { | ||
34 | } | ||
35 | |||
36 | public IntermediateField this[WixPatchFamilyGroupSymbolFields index] => this.Fields[(int)index]; | ||
37 | |||
38 | public string WixPatchFamilyGroup | ||
39 | { | ||
40 | get => (string)this.Fields[(int)WixPatchFamilyGroupSymbolFields.WixPatchFamilyGroup]; | ||
41 | set => this.Set((int)WixPatchFamilyGroupSymbolFields.WixPatchFamilyGroup, value); | ||
42 | } | ||
43 | } | ||
44 | } \ No newline at end of file | ||