diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Tuples/ProgIdTuple.cs | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/src/WixToolset.Data/Tuples/ProgIdTuple.cs b/src/WixToolset.Data/Tuples/ProgIdTuple.cs index 02f66a90..57ac758f 100644 --- a/src/WixToolset.Data/Tuples/ProgIdTuple.cs +++ b/src/WixToolset.Data/Tuples/ProgIdTuple.cs | |||
@@ -2,28 +2,28 @@ | |||
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 ProgId = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ProgId = new IntermediateSymbolDefinition( |
10 | TupleDefinitionType.ProgId, | 10 | SymbolDefinitionType.ProgId, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.ProgId), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ProgIdSymbolFields.ProgId), IntermediateFieldType.String), |
14 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.ParentProgIdRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ProgIdSymbolFields.ParentProgIdRef), IntermediateFieldType.String), |
15 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.ClassRef), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ProgIdSymbolFields.ClassRef), IntermediateFieldType.String), |
16 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.Description), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ProgIdSymbolFields.Description), IntermediateFieldType.String), |
17 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.IconRef), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(ProgIdSymbolFields.IconRef), IntermediateFieldType.String), |
18 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.IconIndex), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(ProgIdSymbolFields.IconIndex), IntermediateFieldType.Number), |
19 | }, | 19 | }, |
20 | typeof(ProgIdTuple)); | 20 | typeof(ProgIdSymbol)); |
21 | } | 21 | } |
22 | } | 22 | } |
23 | 23 | ||
24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
25 | { | 25 | { |
26 | public enum ProgIdTupleFields | 26 | public enum ProgIdSymbolFields |
27 | { | 27 | { |
28 | ProgId, | 28 | ProgId, |
29 | ParentProgIdRef, | 29 | ParentProgIdRef, |
@@ -33,52 +33,52 @@ namespace WixToolset.Data.Tuples | |||
33 | IconIndex, | 33 | IconIndex, |
34 | } | 34 | } |
35 | 35 | ||
36 | public class ProgIdTuple : IntermediateTuple | 36 | public class ProgIdSymbol : IntermediateSymbol |
37 | { | 37 | { |
38 | public ProgIdTuple() : base(TupleDefinitions.ProgId, null, null) | 38 | public ProgIdSymbol() : base(SymbolDefinitions.ProgId, null, null) |
39 | { | 39 | { |
40 | } | 40 | } |
41 | 41 | ||
42 | public ProgIdTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ProgId, sourceLineNumber, id) | 42 | public ProgIdSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ProgId, sourceLineNumber, id) |
43 | { | 43 | { |
44 | } | 44 | } |
45 | 45 | ||
46 | public IntermediateField this[ProgIdTupleFields index] => this.Fields[(int)index]; | 46 | public IntermediateField this[ProgIdSymbolFields index] => this.Fields[(int)index]; |
47 | 47 | ||
48 | public string ProgId | 48 | public string ProgId |
49 | { | 49 | { |
50 | get => (string)this.Fields[(int)ProgIdTupleFields.ProgId]; | 50 | get => (string)this.Fields[(int)ProgIdSymbolFields.ProgId]; |
51 | set => this.Set((int)ProgIdTupleFields.ProgId, value); | 51 | set => this.Set((int)ProgIdSymbolFields.ProgId, value); |
52 | } | 52 | } |
53 | 53 | ||
54 | public string ParentProgIdRef | 54 | public string ParentProgIdRef |
55 | { | 55 | { |
56 | get => (string)this.Fields[(int)ProgIdTupleFields.ParentProgIdRef]; | 56 | get => (string)this.Fields[(int)ProgIdSymbolFields.ParentProgIdRef]; |
57 | set => this.Set((int)ProgIdTupleFields.ParentProgIdRef, value); | 57 | set => this.Set((int)ProgIdSymbolFields.ParentProgIdRef, value); |
58 | } | 58 | } |
59 | 59 | ||
60 | public string ClassRef | 60 | public string ClassRef |
61 | { | 61 | { |
62 | get => (string)this.Fields[(int)ProgIdTupleFields.ClassRef]; | 62 | get => (string)this.Fields[(int)ProgIdSymbolFields.ClassRef]; |
63 | set => this.Set((int)ProgIdTupleFields.ClassRef, value); | 63 | set => this.Set((int)ProgIdSymbolFields.ClassRef, value); |
64 | } | 64 | } |
65 | 65 | ||
66 | public string Description | 66 | public string Description |
67 | { | 67 | { |
68 | get => (string)this.Fields[(int)ProgIdTupleFields.Description]; | 68 | get => (string)this.Fields[(int)ProgIdSymbolFields.Description]; |
69 | set => this.Set((int)ProgIdTupleFields.Description, value); | 69 | set => this.Set((int)ProgIdSymbolFields.Description, value); |
70 | } | 70 | } |
71 | 71 | ||
72 | public string IconRef | 72 | public string IconRef |
73 | { | 73 | { |
74 | get => (string)this.Fields[(int)ProgIdTupleFields.IconRef]; | 74 | get => (string)this.Fields[(int)ProgIdSymbolFields.IconRef]; |
75 | set => this.Set((int)ProgIdTupleFields.IconRef, value); | 75 | set => this.Set((int)ProgIdSymbolFields.IconRef, value); |
76 | } | 76 | } |
77 | 77 | ||
78 | public int? IconIndex | 78 | public int? IconIndex |
79 | { | 79 | { |
80 | get => (int?)this.Fields[(int)ProgIdTupleFields.IconIndex]; | 80 | get => (int?)this.Fields[(int)ProgIdSymbolFields.IconIndex]; |
81 | set => this.Set((int)ProgIdTupleFields.IconIndex, value); | 81 | set => this.Set((int)ProgIdSymbolFields.IconIndex, value); |
82 | } | 82 | } |
83 | } | 83 | } |
84 | } \ No newline at end of file | 84 | } \ No newline at end of file |