diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Tuples/ModuleSignatureTuple.cs | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/WixToolset.Data/Tuples/ModuleSignatureTuple.cs b/src/WixToolset.Data/Tuples/ModuleSignatureTuple.cs index 04db5f58..5f6ded09 100644 --- a/src/WixToolset.Data/Tuples/ModuleSignatureTuple.cs +++ b/src/WixToolset.Data/Tuples/ModuleSignatureTuple.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 ModuleSignature = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ModuleSignature = new IntermediateSymbolDefinition( |
10 | TupleDefinitionType.ModuleSignature, | 10 | SymbolDefinitionType.ModuleSignature, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(ModuleSignatureTupleFields.ModuleID), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ModuleSignatureSymbolFields.ModuleID), IntermediateFieldType.String), |
14 | new IntermediateFieldDefinition(nameof(ModuleSignatureTupleFields.Language), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(ModuleSignatureSymbolFields.Language), IntermediateFieldType.Number), |
15 | new IntermediateFieldDefinition(nameof(ModuleSignatureTupleFields.Version), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ModuleSignatureSymbolFields.Version), IntermediateFieldType.String), |
16 | }, | 16 | }, |
17 | typeof(ModuleSignatureTuple)); | 17 | typeof(ModuleSignatureSymbol)); |
18 | } | 18 | } |
19 | } | 19 | } |
20 | 20 | ||
21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
22 | { | 22 | { |
23 | public enum ModuleSignatureTupleFields | 23 | public enum ModuleSignatureSymbolFields |
24 | { | 24 | { |
25 | ModuleID, | 25 | ModuleID, |
26 | Language, | 26 | Language, |
27 | Version, | 27 | Version, |
28 | } | 28 | } |
29 | 29 | ||
30 | public class ModuleSignatureTuple : IntermediateTuple | 30 | public class ModuleSignatureSymbol : IntermediateSymbol |
31 | { | 31 | { |
32 | public ModuleSignatureTuple() : base(TupleDefinitions.ModuleSignature, null, null) | 32 | public ModuleSignatureSymbol() : base(SymbolDefinitions.ModuleSignature, null, null) |
33 | { | 33 | { |
34 | } | 34 | } |
35 | 35 | ||
36 | public ModuleSignatureTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleSignature, sourceLineNumber, id) | 36 | public ModuleSignatureSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ModuleSignature, sourceLineNumber, id) |
37 | { | 37 | { |
38 | } | 38 | } |
39 | 39 | ||
40 | public IntermediateField this[ModuleSignatureTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[ModuleSignatureSymbolFields index] => this.Fields[(int)index]; |
41 | 41 | ||
42 | public string ModuleID | 42 | public string ModuleID |
43 | { | 43 | { |
44 | get => (string)this.Fields[(int)ModuleSignatureTupleFields.ModuleID]; | 44 | get => (string)this.Fields[(int)ModuleSignatureSymbolFields.ModuleID]; |
45 | set => this.Set((int)ModuleSignatureTupleFields.ModuleID, value); | 45 | set => this.Set((int)ModuleSignatureSymbolFields.ModuleID, value); |
46 | } | 46 | } |
47 | 47 | ||
48 | public int Language | 48 | public int Language |
49 | { | 49 | { |
50 | get => (int)this.Fields[(int)ModuleSignatureTupleFields.Language]; | 50 | get => (int)this.Fields[(int)ModuleSignatureSymbolFields.Language]; |
51 | set => this.Set((int)ModuleSignatureTupleFields.Language, value); | 51 | set => this.Set((int)ModuleSignatureSymbolFields.Language, value); |
52 | } | 52 | } |
53 | 53 | ||
54 | public string Version | 54 | public string Version |
55 | { | 55 | { |
56 | get => (string)this.Fields[(int)ModuleSignatureTupleFields.Version]; | 56 | get => (string)this.Fields[(int)ModuleSignatureSymbolFields.Version]; |
57 | set => this.Set((int)ModuleSignatureTupleFields.Version, value); | 57 | set => this.Set((int)ModuleSignatureSymbolFields.Version, value); |
58 | } | 58 | } |
59 | } | 59 | } |
60 | } \ No newline at end of file | 60 | } \ No newline at end of file |