diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Tuples/WixBundleExePackageTuple.cs | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/src/WixToolset.Data/Tuples/WixBundleExePackageTuple.cs b/src/WixToolset.Data/Tuples/WixBundleExePackageTuple.cs index e87de26d..8a8cff1b 100644 --- a/src/WixToolset.Data/Tuples/WixBundleExePackageTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleExePackageTuple.cs | |||
@@ -2,30 +2,30 @@ | |||
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 WixBundleExePackage = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleExePackage = new IntermediateSymbolDefinition( |
10 | TupleDefinitionType.WixBundleExePackage, | 10 | SymbolDefinitionType.WixBundleExePackage, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.Attributes), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(WixBundleExePackageSymbolFields.Attributes), IntermediateFieldType.Number), |
14 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.DetectCondition), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBundleExePackageSymbolFields.DetectCondition), IntermediateFieldType.String), |
15 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.InstallCommand), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixBundleExePackageSymbolFields.InstallCommand), IntermediateFieldType.String), |
16 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.RepairCommand), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixBundleExePackageSymbolFields.RepairCommand), IntermediateFieldType.String), |
17 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.UninstallCommand), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(WixBundleExePackageSymbolFields.UninstallCommand), IntermediateFieldType.String), |
18 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.ExeProtocol), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(WixBundleExePackageSymbolFields.ExeProtocol), IntermediateFieldType.String), |
19 | }, | 19 | }, |
20 | typeof(WixBundleExePackageTuple)); | 20 | typeof(WixBundleExePackageSymbol)); |
21 | } | 21 | } |
22 | } | 22 | } |
23 | 23 | ||
24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
25 | { | 25 | { |
26 | using System; | 26 | using System; |
27 | 27 | ||
28 | public enum WixBundleExePackageTupleFields | 28 | public enum WixBundleExePackageSymbolFields |
29 | { | 29 | { |
30 | Attributes, | 30 | Attributes, |
31 | DetectCondition, | 31 | DetectCondition, |
@@ -41,52 +41,52 @@ namespace WixToolset.Data.Tuples | |||
41 | None = 0, | 41 | None = 0, |
42 | } | 42 | } |
43 | 43 | ||
44 | public class WixBundleExePackageTuple : IntermediateTuple | 44 | public class WixBundleExePackageSymbol : IntermediateSymbol |
45 | { | 45 | { |
46 | public WixBundleExePackageTuple() : base(TupleDefinitions.WixBundleExePackage, null, null) | 46 | public WixBundleExePackageSymbol() : base(SymbolDefinitions.WixBundleExePackage, null, null) |
47 | { | 47 | { |
48 | } | 48 | } |
49 | 49 | ||
50 | public WixBundleExePackageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleExePackage, sourceLineNumber, id) | 50 | public WixBundleExePackageSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleExePackage, sourceLineNumber, id) |
51 | { | 51 | { |
52 | } | 52 | } |
53 | 53 | ||
54 | public IntermediateField this[WixBundleExePackageTupleFields index] => this.Fields[(int)index]; | 54 | public IntermediateField this[WixBundleExePackageSymbolFields index] => this.Fields[(int)index]; |
55 | 55 | ||
56 | public WixBundleExePackageAttributes Attributes | 56 | public WixBundleExePackageAttributes Attributes |
57 | { | 57 | { |
58 | get => (WixBundleExePackageAttributes)(int)this.Fields[(int)WixBundleExePackageTupleFields.Attributes]; | 58 | get => (WixBundleExePackageAttributes)(int)this.Fields[(int)WixBundleExePackageSymbolFields.Attributes]; |
59 | set => this.Set((int)WixBundleExePackageTupleFields.Attributes, (int)value); | 59 | set => this.Set((int)WixBundleExePackageSymbolFields.Attributes, (int)value); |
60 | } | 60 | } |
61 | 61 | ||
62 | public string DetectCondition | 62 | public string DetectCondition |
63 | { | 63 | { |
64 | get => (string)this.Fields[(int)WixBundleExePackageTupleFields.DetectCondition]; | 64 | get => (string)this.Fields[(int)WixBundleExePackageSymbolFields.DetectCondition]; |
65 | set => this.Set((int)WixBundleExePackageTupleFields.DetectCondition, value); | 65 | set => this.Set((int)WixBundleExePackageSymbolFields.DetectCondition, value); |
66 | } | 66 | } |
67 | 67 | ||
68 | public string InstallCommand | 68 | public string InstallCommand |
69 | { | 69 | { |
70 | get => (string)this.Fields[(int)WixBundleExePackageTupleFields.InstallCommand]; | 70 | get => (string)this.Fields[(int)WixBundleExePackageSymbolFields.InstallCommand]; |
71 | set => this.Set((int)WixBundleExePackageTupleFields.InstallCommand, value); | 71 | set => this.Set((int)WixBundleExePackageSymbolFields.InstallCommand, value); |
72 | } | 72 | } |
73 | 73 | ||
74 | public string RepairCommand | 74 | public string RepairCommand |
75 | { | 75 | { |
76 | get => (string)this.Fields[(int)WixBundleExePackageTupleFields.RepairCommand]; | 76 | get => (string)this.Fields[(int)WixBundleExePackageSymbolFields.RepairCommand]; |
77 | set => this.Set((int)WixBundleExePackageTupleFields.RepairCommand, value); | 77 | set => this.Set((int)WixBundleExePackageSymbolFields.RepairCommand, value); |
78 | } | 78 | } |
79 | 79 | ||
80 | public string UninstallCommand | 80 | public string UninstallCommand |
81 | { | 81 | { |
82 | get => (string)this.Fields[(int)WixBundleExePackageTupleFields.UninstallCommand]; | 82 | get => (string)this.Fields[(int)WixBundleExePackageSymbolFields.UninstallCommand]; |
83 | set => this.Set((int)WixBundleExePackageTupleFields.UninstallCommand, value); | 83 | set => this.Set((int)WixBundleExePackageSymbolFields.UninstallCommand, value); |
84 | } | 84 | } |
85 | 85 | ||
86 | public string ExeProtocol | 86 | public string ExeProtocol |
87 | { | 87 | { |
88 | get => (string)this.Fields[(int)WixBundleExePackageTupleFields.ExeProtocol]; | 88 | get => (string)this.Fields[(int)WixBundleExePackageSymbolFields.ExeProtocol]; |
89 | set => this.Set((int)WixBundleExePackageTupleFields.ExeProtocol, value); | 89 | set => this.Set((int)WixBundleExePackageSymbolFields.ExeProtocol, value); |
90 | } | 90 | } |
91 | 91 | ||
92 | public bool Repairable => !String.IsNullOrEmpty(this.RepairCommand); | 92 | public bool Repairable => !String.IsNullOrEmpty(this.RepairCommand); |