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