diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Tuples/WixPatchIdTuple.cs | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/WixToolset.Data/Tuples/WixPatchIdTuple.cs b/src/WixToolset.Data/Tuples/WixPatchIdTuple.cs index 6e6fb2ae..c4f4324d 100644 --- a/src/WixToolset.Data/Tuples/WixPatchIdTuple.cs +++ b/src/WixToolset.Data/Tuples/WixPatchIdTuple.cs | |||
@@ -2,59 +2,59 @@ | |||
2 | 2 | ||
3 | namespace WixToolset.Data | 3 | namespace WixToolset.Data |
4 | { | 4 | { |
5 | using WixToolset.Data.Tuples; | 5 | using WixToolset.Data.Symbols; |
6 | 6 | ||
7 | public static partial class TupleDefinitions | 7 | public static partial class SymbolDefinitions |
8 | { | 8 | { |
9 | public static readonly IntermediateTupleDefinition WixPatchId = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixPatchId = new IntermediateSymbolDefinition( |
10 | TupleDefinitionType.WixPatchId, | 10 | SymbolDefinitionType.WixPatchId, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(WixPatchIdTupleFields.ClientPatchId), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixPatchIdSymbolFields.ClientPatchId), IntermediateFieldType.String), |
14 | new IntermediateFieldDefinition(nameof(WixPatchIdTupleFields.OptimizePatchSizeForLargeFiles), IntermediateFieldType.Bool), | 14 | new IntermediateFieldDefinition(nameof(WixPatchIdSymbolFields.OptimizePatchSizeForLargeFiles), IntermediateFieldType.Bool), |
15 | new IntermediateFieldDefinition(nameof(WixPatchIdTupleFields.ApiPatchingSymbolFlags), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(WixPatchIdSymbolFields.ApiPatchingSymbolFlags), IntermediateFieldType.Number), |
16 | }, | 16 | }, |
17 | typeof(WixPatchIdTuple)); | 17 | typeof(WixPatchIdSymbol)); |
18 | } | 18 | } |
19 | } | 19 | } |
20 | 20 | ||
21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
22 | { | 22 | { |
23 | public enum WixPatchIdTupleFields | 23 | public enum WixPatchIdSymbolFields |
24 | { | 24 | { |
25 | ClientPatchId, | 25 | ClientPatchId, |
26 | OptimizePatchSizeForLargeFiles, | 26 | OptimizePatchSizeForLargeFiles, |
27 | ApiPatchingSymbolFlags, | 27 | ApiPatchingSymbolFlags, |
28 | } | 28 | } |
29 | 29 | ||
30 | public class WixPatchIdTuple : IntermediateTuple | 30 | public class WixPatchIdSymbol : IntermediateSymbol |
31 | { | 31 | { |
32 | public WixPatchIdTuple() : base(TupleDefinitions.WixPatchId, null, null) | 32 | public WixPatchIdSymbol() : base(SymbolDefinitions.WixPatchId, null, null) |
33 | { | 33 | { |
34 | } | 34 | } |
35 | 35 | ||
36 | public WixPatchIdTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPatchId, sourceLineNumber, id) | 36 | public WixPatchIdSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixPatchId, sourceLineNumber, id) |
37 | { | 37 | { |
38 | } | 38 | } |
39 | 39 | ||
40 | public IntermediateField this[WixPatchIdTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[WixPatchIdSymbolFields index] => this.Fields[(int)index]; |
41 | 41 | ||
42 | public string ClientPatchId | 42 | public string ClientPatchId |
43 | { | 43 | { |
44 | get => (string)this.Fields[(int)WixPatchIdTupleFields.ClientPatchId]; | 44 | get => (string)this.Fields[(int)WixPatchIdSymbolFields.ClientPatchId]; |
45 | set => this.Set((int)WixPatchIdTupleFields.ClientPatchId, value); | 45 | set => this.Set((int)WixPatchIdSymbolFields.ClientPatchId, value); |
46 | } | 46 | } |
47 | 47 | ||
48 | public bool? OptimizePatchSizeForLargeFiles | 48 | public bool? OptimizePatchSizeForLargeFiles |
49 | { | 49 | { |
50 | get => (bool?)this.Fields[(int)WixPatchIdTupleFields.OptimizePatchSizeForLargeFiles]; | 50 | get => (bool?)this.Fields[(int)WixPatchIdSymbolFields.OptimizePatchSizeForLargeFiles]; |
51 | set => this.Set((int)WixPatchIdTupleFields.OptimizePatchSizeForLargeFiles, value); | 51 | set => this.Set((int)WixPatchIdSymbolFields.OptimizePatchSizeForLargeFiles, value); |
52 | } | 52 | } |
53 | 53 | ||
54 | public int? ApiPatchingSymbolFlags | 54 | public int? ApiPatchingSymbolFlags |
55 | { | 55 | { |
56 | get => (int?)this.Fields[(int)WixPatchIdTupleFields.ApiPatchingSymbolFlags]; | 56 | get => (int?)this.Fields[(int)WixPatchIdSymbolFields.ApiPatchingSymbolFlags]; |
57 | set => this.Set((int)WixPatchIdTupleFields.ApiPatchingSymbolFlags, value); | 57 | set => this.Set((int)WixPatchIdSymbolFields.ApiPatchingSymbolFlags, value); |
58 | } | 58 | } |
59 | } | 59 | } |
60 | } \ No newline at end of file | 60 | } \ No newline at end of file |