diff options
Diffstat (limited to 'src/WixToolset.Data/Tuples/ServiceInstallTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/ServiceInstallTuple.cs | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/src/WixToolset.Data/Tuples/ServiceInstallTuple.cs b/src/WixToolset.Data/Tuples/ServiceInstallTuple.cs index 9bf9afd2..f7ec8dbf 100644 --- a/src/WixToolset.Data/Tuples/ServiceInstallTuple.cs +++ b/src/WixToolset.Data/Tuples/ServiceInstallTuple.cs | |||
| @@ -2,36 +2,36 @@ | |||
| 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 ServiceInstall = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ServiceInstall = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ServiceInstall, | 10 | SymbolDefinitionType.ServiceInstall, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Name), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.Name), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.DisplayName), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.DisplayName), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.ServiceType), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.ServiceType), IntermediateFieldType.Number), |
| 16 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.StartType), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.StartType), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.ErrorControl), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.ErrorControl), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.LoadOrderGroup), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.LoadOrderGroup), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Dependencies), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.Dependencies), IntermediateFieldType.String), |
| 20 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.StartName), IntermediateFieldType.String), | 20 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.StartName), IntermediateFieldType.String), |
| 21 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Password), IntermediateFieldType.String), | 21 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.Password), IntermediateFieldType.String), |
| 22 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Arguments), IntermediateFieldType.String), | 22 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.Arguments), IntermediateFieldType.String), |
| 23 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.ComponentRef), IntermediateFieldType.String), | 23 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 24 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Description), IntermediateFieldType.String), | 24 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.Description), IntermediateFieldType.String), |
| 25 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Interactive), IntermediateFieldType.Bool), | 25 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.Interactive), IntermediateFieldType.Bool), |
| 26 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Vital), IntermediateFieldType.Bool), | 26 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.Vital), IntermediateFieldType.Bool), |
| 27 | }, | 27 | }, |
| 28 | typeof(ServiceInstallTuple)); | 28 | typeof(ServiceInstallSymbol)); |
| 29 | } | 29 | } |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | namespace WixToolset.Data.Tuples | 32 | namespace WixToolset.Data.Symbols |
| 33 | { | 33 | { |
| 34 | public enum ServiceInstallTupleFields | 34 | public enum ServiceInstallSymbolFields |
| 35 | { | 35 | { |
| 36 | Name, | 36 | Name, |
| 37 | DisplayName, | 37 | DisplayName, |
| @@ -74,100 +74,100 @@ namespace WixToolset.Data.Tuples | |||
| 74 | Critical = 3, | 74 | Critical = 3, |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | public class ServiceInstallTuple : IntermediateTuple | 77 | public class ServiceInstallSymbol : IntermediateSymbol |
| 78 | { | 78 | { |
| 79 | public ServiceInstallTuple() : base(TupleDefinitions.ServiceInstall, null, null) | 79 | public ServiceInstallSymbol() : base(SymbolDefinitions.ServiceInstall, null, null) |
| 80 | { | 80 | { |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | public ServiceInstallTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ServiceInstall, sourceLineNumber, id) | 83 | public ServiceInstallSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ServiceInstall, sourceLineNumber, id) |
| 84 | { | 84 | { |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | public IntermediateField this[ServiceInstallTupleFields index] => this.Fields[(int)index]; | 87 | public IntermediateField this[ServiceInstallSymbolFields index] => this.Fields[(int)index]; |
| 88 | 88 | ||
| 89 | public string Name | 89 | public string Name |
| 90 | { | 90 | { |
| 91 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Name]; | 91 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.Name]; |
| 92 | set => this.Set((int)ServiceInstallTupleFields.Name, value); | 92 | set => this.Set((int)ServiceInstallSymbolFields.Name, value); |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | public string DisplayName | 95 | public string DisplayName |
| 96 | { | 96 | { |
| 97 | get => (string)this.Fields[(int)ServiceInstallTupleFields.DisplayName]; | 97 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.DisplayName]; |
| 98 | set => this.Set((int)ServiceInstallTupleFields.DisplayName, value); | 98 | set => this.Set((int)ServiceInstallSymbolFields.DisplayName, value); |
| 99 | } | 99 | } |
| 100 | 100 | ||
| 101 | public ServiceType ServiceType | 101 | public ServiceType ServiceType |
| 102 | { | 102 | { |
| 103 | get => (ServiceType)this.Fields[(int)ServiceInstallTupleFields.ServiceType].AsNumber(); | 103 | get => (ServiceType)this.Fields[(int)ServiceInstallSymbolFields.ServiceType].AsNumber(); |
| 104 | set => this.Set((int)ServiceInstallTupleFields.ServiceType, (int)value); | 104 | set => this.Set((int)ServiceInstallSymbolFields.ServiceType, (int)value); |
| 105 | } | 105 | } |
| 106 | 106 | ||
| 107 | public ServiceStartType StartType | 107 | public ServiceStartType StartType |
| 108 | { | 108 | { |
| 109 | get => (ServiceStartType)this.Fields[(int)ServiceInstallTupleFields.StartType].AsNumber(); | 109 | get => (ServiceStartType)this.Fields[(int)ServiceInstallSymbolFields.StartType].AsNumber(); |
| 110 | set => this.Set((int)ServiceInstallTupleFields.StartType, (int)value); | 110 | set => this.Set((int)ServiceInstallSymbolFields.StartType, (int)value); |
| 111 | } | 111 | } |
| 112 | 112 | ||
| 113 | public ServiceErrorControl ErrorControl | 113 | public ServiceErrorControl ErrorControl |
| 114 | { | 114 | { |
| 115 | get => (ServiceErrorControl)this.Fields[(int)ServiceInstallTupleFields.ErrorControl].AsNumber(); | 115 | get => (ServiceErrorControl)this.Fields[(int)ServiceInstallSymbolFields.ErrorControl].AsNumber(); |
| 116 | set => this.Set((int)ServiceInstallTupleFields.ErrorControl, (int)value); | 116 | set => this.Set((int)ServiceInstallSymbolFields.ErrorControl, (int)value); |
| 117 | } | 117 | } |
| 118 | 118 | ||
| 119 | public string LoadOrderGroup | 119 | public string LoadOrderGroup |
| 120 | { | 120 | { |
| 121 | get => (string)this.Fields[(int)ServiceInstallTupleFields.LoadOrderGroup]; | 121 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.LoadOrderGroup]; |
| 122 | set => this.Set((int)ServiceInstallTupleFields.LoadOrderGroup, value); | 122 | set => this.Set((int)ServiceInstallSymbolFields.LoadOrderGroup, value); |
| 123 | } | 123 | } |
| 124 | 124 | ||
| 125 | public string Dependencies | 125 | public string Dependencies |
| 126 | { | 126 | { |
| 127 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Dependencies]; | 127 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.Dependencies]; |
| 128 | set => this.Set((int)ServiceInstallTupleFields.Dependencies, value); | 128 | set => this.Set((int)ServiceInstallSymbolFields.Dependencies, value); |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | public string StartName | 131 | public string StartName |
| 132 | { | 132 | { |
| 133 | get => (string)this.Fields[(int)ServiceInstallTupleFields.StartName]; | 133 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.StartName]; |
| 134 | set => this.Set((int)ServiceInstallTupleFields.StartName, value); | 134 | set => this.Set((int)ServiceInstallSymbolFields.StartName, value); |
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | public string Password | 137 | public string Password |
| 138 | { | 138 | { |
| 139 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Password]; | 139 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.Password]; |
| 140 | set => this.Set((int)ServiceInstallTupleFields.Password, value); | 140 | set => this.Set((int)ServiceInstallSymbolFields.Password, value); |
| 141 | } | 141 | } |
| 142 | 142 | ||
| 143 | public string Arguments | 143 | public string Arguments |
| 144 | { | 144 | { |
| 145 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Arguments]; | 145 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.Arguments]; |
| 146 | set => this.Set((int)ServiceInstallTupleFields.Arguments, value); | 146 | set => this.Set((int)ServiceInstallSymbolFields.Arguments, value); |
| 147 | } | 147 | } |
| 148 | 148 | ||
| 149 | public string ComponentRef | 149 | public string ComponentRef |
| 150 | { | 150 | { |
| 151 | get => (string)this.Fields[(int)ServiceInstallTupleFields.ComponentRef]; | 151 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.ComponentRef]; |
| 152 | set => this.Set((int)ServiceInstallTupleFields.ComponentRef, value); | 152 | set => this.Set((int)ServiceInstallSymbolFields.ComponentRef, value); |
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | public string Description | 155 | public string Description |
| 156 | { | 156 | { |
| 157 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Description]; | 157 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.Description]; |
| 158 | set => this.Set((int)ServiceInstallTupleFields.Description, value); | 158 | set => this.Set((int)ServiceInstallSymbolFields.Description, value); |
| 159 | } | 159 | } |
| 160 | 160 | ||
| 161 | public bool Interactive | 161 | public bool Interactive |
| 162 | { | 162 | { |
| 163 | get => this.Fields[(int)ServiceInstallTupleFields.Interactive].AsBool(); | 163 | get => this.Fields[(int)ServiceInstallSymbolFields.Interactive].AsBool(); |
| 164 | set => this.Set((int)ServiceInstallTupleFields.Interactive, value); | 164 | set => this.Set((int)ServiceInstallSymbolFields.Interactive, value); |
| 165 | } | 165 | } |
| 166 | 166 | ||
| 167 | public bool Vital | 167 | public bool Vital |
| 168 | { | 168 | { |
| 169 | get => this.Fields[(int)ServiceInstallTupleFields.Vital].AsBool(); | 169 | get => this.Fields[(int)ServiceInstallSymbolFields.Vital].AsBool(); |
| 170 | set => this.Set((int)ServiceInstallTupleFields.Vital, value); | 170 | set => this.Set((int)ServiceInstallSymbolFields.Vital, value); |
| 171 | } | 171 | } |
| 172 | } | 172 | } |
| 173 | } \ No newline at end of file | 173 | } \ No newline at end of file |
