blob: 66374579c450d407e46c157a7c850f3fdd0dab3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
// 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.
namespace WixToolset.Bal
{
using WixToolset.Data;
using WixToolset.Bal.Symbols;
public static partial class BalSymbolDefinitions
{
public static readonly IntermediateSymbolDefinition WixMbaPrereqOptions = new IntermediateSymbolDefinition(
BalSymbolDefinitionType.WixMbaPrereqOptions.ToString(),
new[]
{
new IntermediateFieldDefinition(nameof(WixMbaPrereqOptionsSymbolFields.AlwaysInstallPrereqs), IntermediateFieldType.Number),
},
typeof(WixMbaPrereqOptionsSymbol));
}
}
namespace WixToolset.Bal.Symbols
{
using WixToolset.Data;
public enum WixMbaPrereqOptionsSymbolFields
{
AlwaysInstallPrereqs,
}
public class WixMbaPrereqOptionsSymbol : IntermediateSymbol
{
public WixMbaPrereqOptionsSymbol() : base(BalSymbolDefinitions.WixMbaPrereqOptions, null, null)
{
}
public WixMbaPrereqOptionsSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(BalSymbolDefinitions.WixMbaPrereqOptions, sourceLineNumber, id)
{
}
public IntermediateField this[WixMbaPrereqOptionsSymbolFields index] => this.Fields[(int)index];
public int AlwaysInstallPrereqs
{
get => this.Fields[(int)WixMbaPrereqOptionsSymbolFields.AlwaysInstallPrereqs].AsNumber();
set => this.Set((int)WixMbaPrereqOptionsSymbolFields.AlwaysInstallPrereqs, value);
}
}
}
|