aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/WixBalBAFunctionsTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples/WixBalBAFunctionsTuple.cs')
-rw-r--r--src/wixext/Tuples/WixBalBAFunctionsTuple.cs47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/wixext/Tuples/WixBalBAFunctionsTuple.cs b/src/wixext/Tuples/WixBalBAFunctionsTuple.cs
new file mode 100644
index 00000000..f753f239
--- /dev/null
+++ b/src/wixext/Tuples/WixBalBAFunctionsTuple.cs
@@ -0,0 +1,47 @@
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
3namespace WixToolset.Bal
4{
5 using WixToolset.Data;
6 using WixToolset.Bal.Tuples;
7
8 public static partial class BalTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition WixBalBAFunctions = new IntermediateTupleDefinition(
11 BalTupleDefinitionType.WixBalBAFunctions.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(WixBalBAFunctionsTupleFields.PayloadId), IntermediateFieldType.String),
15 },
16 typeof(WixBalBAFunctionsTuple));
17 }
18}
19
20namespace WixToolset.Bal.Tuples
21{
22 using WixToolset.Data;
23
24 public enum WixBalBAFunctionsTupleFields
25 {
26 PayloadId,
27 }
28
29 public class WixBalBAFunctionsTuple : IntermediateTuple
30 {
31 public WixBalBAFunctionsTuple() : base(BalTupleDefinitions.WixBalBAFunctions, null, null)
32 {
33 }
34
35 public WixBalBAFunctionsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(BalTupleDefinitions.WixBalBAFunctions, sourceLineNumber, id)
36 {
37 }
38
39 public IntermediateField this[WixBalBAFunctionsTupleFields index] => this.Fields[(int)index];
40
41 public string PayloadId
42 {
43 get => this.Fields[(int)WixBalBAFunctionsTupleFields.PayloadId].AsString();
44 set => this.Set((int)WixBalBAFunctionsTupleFields.PayloadId, value);
45 }
46 }
47} \ No newline at end of file