aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/WixBBControlTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Data/Tuples/WixBBControlTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/WixBBControlTuple.cs60
1 files changed, 0 insertions, 60 deletions
diff --git a/src/WixToolset.Data/Tuples/WixBBControlTuple.cs b/src/WixToolset.Data/Tuples/WixBBControlTuple.cs
deleted file mode 100644
index 4d912c38..00000000
--- a/src/WixToolset.Data/Tuples/WixBBControlTuple.cs
+++ /dev/null
@@ -1,60 +0,0 @@
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.Data
4{
5 using WixToolset.Data.Tuples;
6
7 public static partial class TupleDefinitions
8 {
9 public static readonly IntermediateTupleDefinition WixBBControl = new IntermediateTupleDefinition(
10 TupleDefinitionType.WixBBControl,
11 new[]
12 {
13 new IntermediateFieldDefinition(nameof(WixBBControlTupleFields.Billboard_), IntermediateFieldType.String),
14 new IntermediateFieldDefinition(nameof(WixBBControlTupleFields.BBControl_), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(WixBBControlTupleFields.SourceFile), IntermediateFieldType.Path),
16 },
17 typeof(WixBBControlTuple));
18 }
19}
20
21namespace WixToolset.Data.Tuples
22{
23 public enum WixBBControlTupleFields
24 {
25 Billboard_,
26 BBControl_,
27 SourceFile,
28 }
29
30 public class WixBBControlTuple : IntermediateTuple
31 {
32 public WixBBControlTuple() : base(TupleDefinitions.WixBBControl, null, null)
33 {
34 }
35
36 public WixBBControlTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBBControl, sourceLineNumber, id)
37 {
38 }
39
40 public IntermediateField this[WixBBControlTupleFields index] => this.Fields[(int)index];
41
42 public string Billboard_
43 {
44 get => (string)this.Fields[(int)WixBBControlTupleFields.Billboard_]?.Value;
45 set => this.Set((int)WixBBControlTupleFields.Billboard_, value);
46 }
47
48 public string BBControl_
49 {
50 get => (string)this.Fields[(int)WixBBControlTupleFields.BBControl_]?.Value;
51 set => this.Set((int)WixBBControlTupleFields.BBControl_, value);
52 }
53
54 public string SourceFile
55 {
56 get => (string)this.Fields[(int)WixBBControlTupleFields.SourceFile]?.Value;
57 set => this.Set((int)WixBBControlTupleFields.SourceFile, value);
58 }
59 }
60} \ No newline at end of file