diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Tuples/CompLocatorTuple.cs | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/WixToolset.Data/Tuples/CompLocatorTuple.cs b/src/WixToolset.Data/Tuples/CompLocatorTuple.cs index e8560711..37bc2a37 100644 --- a/src/WixToolset.Data/Tuples/CompLocatorTuple.cs +++ b/src/WixToolset.Data/Tuples/CompLocatorTuple.cs | |||
@@ -10,7 +10,6 @@ namespace WixToolset.Data | |||
10 | TupleDefinitionType.CompLocator, | 10 | TupleDefinitionType.CompLocator, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(CompLocatorTupleFields.Signature_), IntermediateFieldType.String), | ||
14 | new IntermediateFieldDefinition(nameof(CompLocatorTupleFields.ComponentId), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(CompLocatorTupleFields.ComponentId), IntermediateFieldType.String), |
15 | new IntermediateFieldDefinition(nameof(CompLocatorTupleFields.Type), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(CompLocatorTupleFields.Type), IntermediateFieldType.Number), |
16 | }, | 15 | }, |
@@ -22,7 +21,6 @@ namespace WixToolset.Data.Tuples | |||
22 | { | 21 | { |
23 | public enum CompLocatorTupleFields | 22 | public enum CompLocatorTupleFields |
24 | { | 23 | { |
25 | Signature_, | ||
26 | ComponentId, | 24 | ComponentId, |
27 | Type, | 25 | Type, |
28 | } | 26 | } |
@@ -39,22 +37,16 @@ namespace WixToolset.Data.Tuples | |||
39 | 37 | ||
40 | public IntermediateField this[CompLocatorTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[CompLocatorTupleFields index] => this.Fields[(int)index]; |
41 | 39 | ||
42 | public string Signature_ | ||
43 | { | ||
44 | get => (string)this.Fields[(int)CompLocatorTupleFields.Signature_]?.Value; | ||
45 | set => this.Set((int)CompLocatorTupleFields.Signature_, value); | ||
46 | } | ||
47 | |||
48 | public string ComponentId | 40 | public string ComponentId |
49 | { | 41 | { |
50 | get => (string)this.Fields[(int)CompLocatorTupleFields.ComponentId]?.Value; | 42 | get => (string)this.Fields[(int)CompLocatorTupleFields.ComponentId]?.Value; |
51 | set => this.Set((int)CompLocatorTupleFields.ComponentId, value); | 43 | set => this.Set((int)CompLocatorTupleFields.ComponentId, value); |
52 | } | 44 | } |
53 | 45 | ||
54 | public int Type | 46 | public LocatorType Type |
55 | { | 47 | { |
56 | get => (int)this.Fields[(int)CompLocatorTupleFields.Type]?.Value; | 48 | get => (LocatorType)this.Fields[(int)CompLocatorTupleFields.Type].AsNumber(); |
57 | set => this.Set((int)CompLocatorTupleFields.Type, value); | 49 | set => this.Set((int)CompLocatorTupleFields.Type, (int)value); |
58 | } | 50 | } |
59 | } | 51 | } |
60 | } \ No newline at end of file | 52 | } \ No newline at end of file |