aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs76
1 files changed, 0 insertions, 76 deletions
diff --git a/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs b/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs
deleted file mode 100644
index 48d0a96c..00000000
--- a/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs
+++ /dev/null
@@ -1,76 +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 WixDeltaPatchFile = new IntermediateTupleDefinition(
10 TupleDefinitionType.WixDeltaPatchFile,
11 new[]
12 {
13 new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.RetainLengths), IntermediateFieldType.String),
14 new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.IgnoreOffsets), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.IgnoreLengths), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.RetainOffsets), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.SymbolPaths), IntermediateFieldType.String),
18 },
19 typeof(WixDeltaPatchFileTuple));
20 }
21}
22
23namespace WixToolset.Data.Tuples
24{
25 public enum WixDeltaPatchFileTupleFields
26 {
27 RetainLengths,
28 IgnoreOffsets,
29 IgnoreLengths,
30 RetainOffsets,
31 SymbolPaths,
32 }
33
34 public class WixDeltaPatchFileTuple : IntermediateTuple
35 {
36 public WixDeltaPatchFileTuple() : base(TupleDefinitions.WixDeltaPatchFile, null, null)
37 {
38 }
39
40 public WixDeltaPatchFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixDeltaPatchFile, sourceLineNumber, id)
41 {
42 }
43
44 public IntermediateField this[WixDeltaPatchFileTupleFields index] => this.Fields[(int)index];
45
46 public string RetainLengths
47 {
48 get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.RetainLengths];
49 set => this.Set((int)WixDeltaPatchFileTupleFields.RetainLengths, value);
50 }
51
52 public string IgnoreOffsets
53 {
54 get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.IgnoreOffsets];
55 set => this.Set((int)WixDeltaPatchFileTupleFields.IgnoreOffsets, value);
56 }
57
58 public string IgnoreLengths
59 {
60 get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.IgnoreLengths];
61 set => this.Set((int)WixDeltaPatchFileTupleFields.IgnoreLengths, value);
62 }
63
64 public string RetainOffsets
65 {
66 get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.RetainOffsets];
67 set => this.Set((int)WixDeltaPatchFileTupleFields.RetainOffsets, value);
68 }
69
70 public string SymbolPaths
71 {
72 get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.SymbolPaths];
73 set => this.Set((int)WixDeltaPatchFileTupleFields.SymbolPaths, value);
74 }
75 }
76} \ No newline at end of file