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