diff options
author | Rob Mensching <rob@firegiant.com> | 2020-06-27 14:34:27 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2020-06-27 14:43:36 -0700 |
commit | f8c8adbe2c753ce6448369c49e87f9ff937af344 (patch) | |
tree | ecbf7bd56c84d030b71df009c66d04adf8480a84 | |
parent | 836cb478b674e866e1430c03afb9651e85b48f2a (diff) | |
download | wix-f8c8adbe2c753ce6448369c49e87f9ff937af344.tar.gz wix-f8c8adbe2c753ce6448369c49e87f9ff937af344.tar.bz2 wix-f8c8adbe2c753ce6448369c49e87f9ff937af344.zip |
The Great Tuple to Symbol Rename (tm)
-rw-r--r-- | src/wixext/HttpCompiler.cs | 16 | ||||
-rw-r--r-- | src/wixext/HttpExtensionData.cs | 10 | ||||
-rw-r--r-- | src/wixext/HttpTableDefinitions.cs | 8 | ||||
-rw-r--r-- | src/wixext/Tuples/HttpTupleDefinitions.cs | 18 | ||||
-rw-r--r-- | src/wixext/Tuples/WixHttpUrlAceTuple.cs | 40 | ||||
-rw-r--r-- | src/wixext/Tuples/WixHttpUrlReservationTuple.cs | 46 |
6 files changed, 69 insertions, 69 deletions
diff --git a/src/wixext/HttpCompiler.cs b/src/wixext/HttpCompiler.cs index e47990db..bc64add2 100644 --- a/src/wixext/HttpCompiler.cs +++ b/src/wixext/HttpCompiler.cs | |||
@@ -7,7 +7,7 @@ namespace WixToolset.Http | |||
7 | using System.Xml.Linq; | 7 | using System.Xml.Linq; |
8 | using WixToolset.Data; | 8 | using WixToolset.Data; |
9 | using WixToolset.Extensibility; | 9 | using WixToolset.Extensibility; |
10 | using WixToolset.Http.Tuples; | 10 | using WixToolset.Http.Symbols; |
11 | 11 | ||
12 | /// <summary> | 12 | /// <summary> |
13 | /// The compiler for the WiX Toolset Http Extension. | 13 | /// The compiler for the WiX Toolset Http Extension. |
@@ -169,7 +169,7 @@ namespace WixToolset.Http | |||
169 | 169 | ||
170 | if (!this.Messaging.EncounteredError) | 170 | if (!this.Messaging.EncounteredError) |
171 | { | 171 | { |
172 | section.AddTuple(new WixHttpUrlReservationTuple(sourceLineNumbers, id) | 172 | section.AddSymbol(new WixHttpUrlReservationSymbol(sourceLineNumbers, id) |
173 | { | 173 | { |
174 | HandleExisting = handleExisting, | 174 | HandleExisting = handleExisting, |
175 | Sddl = sddl, | 175 | Sddl = sddl, |
@@ -180,14 +180,14 @@ namespace WixToolset.Http | |||
180 | if (this.Context.Platform == Platform.ARM) | 180 | if (this.Context.Platform == Platform.ARM) |
181 | { | 181 | { |
182 | // Ensure ARM version of the CA is referenced. | 182 | // Ensure ARM version of the CA is referenced. |
183 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, TupleDefinitions.CustomAction, "WixSchedHttpUrlReservationsInstall_ARM"); | 183 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.CustomAction, "WixSchedHttpUrlReservationsInstall_ARM"); |
184 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, TupleDefinitions.CustomAction, "WixSchedHttpUrlReservationsUninstall_ARM"); | 184 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.CustomAction, "WixSchedHttpUrlReservationsUninstall_ARM"); |
185 | } | 185 | } |
186 | else | 186 | else |
187 | { | 187 | { |
188 | // All other supported platforms use x86. | 188 | // All other supported platforms use x86. |
189 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, TupleDefinitions.CustomAction, "WixSchedHttpUrlReservationsInstall"); | 189 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.CustomAction, "WixSchedHttpUrlReservationsInstall"); |
190 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, TupleDefinitions.CustomAction, "WixSchedHttpUrlReservationsUninstall"); | 190 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.CustomAction, "WixSchedHttpUrlReservationsUninstall"); |
191 | } | 191 | } |
192 | } | 192 | } |
193 | } | 193 | } |
@@ -205,7 +205,7 @@ namespace WixToolset.Http | |||
205 | var securityPrincipal = defaultSecurityPrincipal; | 205 | var securityPrincipal = defaultSecurityPrincipal; |
206 | var rights = HttpConstants.GENERIC_ALL; | 206 | var rights = HttpConstants.GENERIC_ALL; |
207 | string rightsValue = null; | 207 | string rightsValue = null; |
208 | 208 | ||
209 | foreach (var attrib in node.Attributes()) | 209 | foreach (var attrib in node.Attributes()) |
210 | { | 210 | { |
211 | if (String.IsNullOrEmpty(attrib.Name.NamespaceName) || this.Namespace == attrib.Name.Namespace) | 211 | if (String.IsNullOrEmpty(attrib.Name.NamespaceName) || this.Namespace == attrib.Name.Namespace) |
@@ -263,7 +263,7 @@ namespace WixToolset.Http | |||
263 | 263 | ||
264 | if (!this.Messaging.EncounteredError) | 264 | if (!this.Messaging.EncounteredError) |
265 | { | 265 | { |
266 | section.AddTuple(new WixHttpUrlAceTuple(sourceLineNumbers, id) | 266 | section.AddSymbol(new WixHttpUrlAceSymbol(sourceLineNumbers, id) |
267 | { | 267 | { |
268 | WixHttpUrlReservationRef = urlReservationId, | 268 | WixHttpUrlReservationRef = urlReservationId, |
269 | SecurityPrincipal = securityPrincipal, | 269 | SecurityPrincipal = securityPrincipal, |
diff --git a/src/wixext/HttpExtensionData.cs b/src/wixext/HttpExtensionData.cs index 2ae4a911..04e3dcee 100644 --- a/src/wixext/HttpExtensionData.cs +++ b/src/wixext/HttpExtensionData.cs | |||
@@ -16,15 +16,15 @@ namespace WixToolset.Http | |||
16 | /// <value>The default culture.</value> | 16 | /// <value>The default culture.</value> |
17 | public override string DefaultCulture => "en-US"; | 17 | public override string DefaultCulture => "en-US"; |
18 | 18 | ||
19 | public override bool TryGetTupleDefinitionByName(string name, out IntermediateTupleDefinition tupleDefinition) | 19 | public override bool TryGetSymbolDefinitionByName(string name, out IntermediateSymbolDefinition symbolDefinition) |
20 | { | 20 | { |
21 | tupleDefinition = HttpTupleDefinitions.ByName(name); | 21 | symbolDefinition = HttpSymbolDefinitions.ByName(name); |
22 | return tupleDefinition != null; | 22 | return symbolDefinition != null; |
23 | } | 23 | } |
24 | 24 | ||
25 | public override Intermediate GetLibrary(ITupleDefinitionCreator tupleDefinitions) | 25 | public override Intermediate GetLibrary(ISymbolDefinitionCreator symbolDefinitions) |
26 | { | 26 | { |
27 | return Intermediate.Load(typeof(HttpExtensionData).Assembly, "WixToolset.Http.http.wixlib", tupleDefinitions); | 27 | return Intermediate.Load(typeof(HttpExtensionData).Assembly, "WixToolset.Http.http.wixlib", symbolDefinitions); |
28 | } | 28 | } |
29 | } | 29 | } |
30 | } | 30 | } |
diff --git a/src/wixext/HttpTableDefinitions.cs b/src/wixext/HttpTableDefinitions.cs index 2ec26b63..0665ce8d 100644 --- a/src/wixext/HttpTableDefinitions.cs +++ b/src/wixext/HttpTableDefinitions.cs | |||
@@ -8,7 +8,7 @@ namespace WixToolset.Http | |||
8 | { | 8 | { |
9 | public static readonly TableDefinition WixHttpUrlReservation = new TableDefinition( | 9 | public static readonly TableDefinition WixHttpUrlReservation = new TableDefinition( |
10 | "WixHttpUrlReservation", | 10 | "WixHttpUrlReservation", |
11 | HttpTupleDefinitions.WixHttpUrlReservation, | 11 | HttpSymbolDefinitions.WixHttpUrlReservation, |
12 | new[] | 12 | new[] |
13 | { | 13 | { |
14 | new ColumnDefinition("WixHttpUrlReservation", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "The non-localized primary key for the table.", modularizeType: ColumnModularizeType.Column), | 14 | new ColumnDefinition("WixHttpUrlReservation", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "The non-localized primary key for the table.", modularizeType: ColumnModularizeType.Column), |
@@ -17,12 +17,12 @@ namespace WixToolset.Http | |||
17 | new ColumnDefinition("Url", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Formatted, description: "URL to be reserved.", modularizeType: ColumnModularizeType.Property), | 17 | new ColumnDefinition("Url", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Formatted, description: "URL to be reserved.", modularizeType: ColumnModularizeType.Property), |
18 | new ColumnDefinition("Component_", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Identifier, keyTable: "Component", keyColumn: 1, description: "Foreign key into the Component table referencing the component that controls the URL reservation.", modularizeType: ColumnModularizeType.Column), | 18 | new ColumnDefinition("Component_", ColumnType.String, 72, primaryKey: false, nullable: false, ColumnCategory.Identifier, keyTable: "Component", keyColumn: 1, description: "Foreign key into the Component table referencing the component that controls the URL reservation.", modularizeType: ColumnModularizeType.Column), |
19 | }, | 19 | }, |
20 | tupleIdIsPrimaryKey: true | 20 | symbolIdIsPrimaryKey: true |
21 | ); | 21 | ); |
22 | 22 | ||
23 | public static readonly TableDefinition WixHttpUrlAce = new TableDefinition( | 23 | public static readonly TableDefinition WixHttpUrlAce = new TableDefinition( |
24 | "WixHttpUrlAce", | 24 | "WixHttpUrlAce", |
25 | HttpTupleDefinitions.WixHttpUrlAce, | 25 | HttpSymbolDefinitions.WixHttpUrlAce, |
26 | new[] | 26 | new[] |
27 | { | 27 | { |
28 | new ColumnDefinition("WixHttpUrlAce", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "The non-localized primary key for the table.", modularizeType: ColumnModularizeType.Column), | 28 | new ColumnDefinition("WixHttpUrlAce", ColumnType.String, 72, primaryKey: true, nullable: false, ColumnCategory.Identifier, description: "The non-localized primary key for the table.", modularizeType: ColumnModularizeType.Column), |
@@ -30,7 +30,7 @@ namespace WixToolset.Http | |||
30 | new ColumnDefinition("SecurityPrincipal", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Formatted, description: "The security principal for this ACE.", modularizeType: ColumnModularizeType.Property), | 30 | new ColumnDefinition("SecurityPrincipal", ColumnType.String, 0, primaryKey: false, nullable: false, ColumnCategory.Formatted, description: "The security principal for this ACE.", modularizeType: ColumnModularizeType.Property), |
31 | new ColumnDefinition("Rights", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 1073741824, description: "The rights for this ACE."), | 31 | new ColumnDefinition("Rights", ColumnType.Number, 4, primaryKey: false, nullable: false, ColumnCategory.Unknown, minValue: 0, maxValue: 1073741824, description: "The rights for this ACE."), |
32 | }, | 32 | }, |
33 | tupleIdIsPrimaryKey: true | 33 | symbolIdIsPrimaryKey: true |
34 | ); | 34 | ); |
35 | 35 | ||
36 | public static readonly TableDefinition[] All = new[] | 36 | public static readonly TableDefinition[] All = new[] |
diff --git a/src/wixext/Tuples/HttpTupleDefinitions.cs b/src/wixext/Tuples/HttpTupleDefinitions.cs index 11305d2a..a6deb307 100644 --- a/src/wixext/Tuples/HttpTupleDefinitions.cs +++ b/src/wixext/Tuples/HttpTupleDefinitions.cs | |||
@@ -5,19 +5,19 @@ namespace WixToolset.Http | |||
5 | using System; | 5 | using System; |
6 | using WixToolset.Data; | 6 | using WixToolset.Data; |
7 | 7 | ||
8 | public enum HttpTupleDefinitionType | 8 | public enum HttpSymbolDefinitionType |
9 | { | 9 | { |
10 | WixHttpUrlAce, | 10 | WixHttpUrlAce, |
11 | WixHttpUrlReservation, | 11 | WixHttpUrlReservation, |
12 | } | 12 | } |
13 | 13 | ||
14 | public static partial class HttpTupleDefinitions | 14 | public static partial class HttpSymbolDefinitions |
15 | { | 15 | { |
16 | public static readonly Version Version = new Version("4.0.0"); | 16 | public static readonly Version Version = new Version("4.0.0"); |
17 | 17 | ||
18 | public static IntermediateTupleDefinition ByName(string name) | 18 | public static IntermediateSymbolDefinition ByName(string name) |
19 | { | 19 | { |
20 | if (!Enum.TryParse(name, out HttpTupleDefinitionType type)) | 20 | if (!Enum.TryParse(name, out HttpSymbolDefinitionType type)) |
21 | { | 21 | { |
22 | return null; | 22 | return null; |
23 | } | 23 | } |
@@ -25,15 +25,15 @@ namespace WixToolset.Http | |||
25 | return ByType(type); | 25 | return ByType(type); |
26 | } | 26 | } |
27 | 27 | ||
28 | public static IntermediateTupleDefinition ByType(HttpTupleDefinitionType type) | 28 | public static IntermediateSymbolDefinition ByType(HttpSymbolDefinitionType type) |
29 | { | 29 | { |
30 | switch (type) | 30 | switch (type) |
31 | { | 31 | { |
32 | case HttpTupleDefinitionType.WixHttpUrlAce: | 32 | case HttpSymbolDefinitionType.WixHttpUrlAce: |
33 | return HttpTupleDefinitions.WixHttpUrlAce; | 33 | return HttpSymbolDefinitions.WixHttpUrlAce; |
34 | 34 | ||
35 | case HttpTupleDefinitionType.WixHttpUrlReservation: | 35 | case HttpSymbolDefinitionType.WixHttpUrlReservation: |
36 | return HttpTupleDefinitions.WixHttpUrlReservation; | 36 | return HttpSymbolDefinitions.WixHttpUrlReservation; |
37 | 37 | ||
38 | default: | 38 | default: |
39 | throw new ArgumentOutOfRangeException(nameof(type)); | 39 | throw new ArgumentOutOfRangeException(nameof(type)); |
diff --git a/src/wixext/Tuples/WixHttpUrlAceTuple.cs b/src/wixext/Tuples/WixHttpUrlAceTuple.cs index f605c217..1d57bd52 100644 --- a/src/wixext/Tuples/WixHttpUrlAceTuple.cs +++ b/src/wixext/Tuples/WixHttpUrlAceTuple.cs | |||
@@ -3,61 +3,61 @@ | |||
3 | namespace WixToolset.Http | 3 | namespace WixToolset.Http |
4 | { | 4 | { |
5 | using WixToolset.Data; | 5 | using WixToolset.Data; |
6 | using WixToolset.Http.Tuples; | 6 | using WixToolset.Http.Symbols; |
7 | 7 | ||
8 | public static partial class HttpTupleDefinitions | 8 | public static partial class HttpSymbolDefinitions |
9 | { | 9 | { |
10 | public static readonly IntermediateTupleDefinition WixHttpUrlAce = new IntermediateTupleDefinition( | 10 | public static readonly IntermediateSymbolDefinition WixHttpUrlAce = new IntermediateSymbolDefinition( |
11 | HttpTupleDefinitionType.WixHttpUrlAce.ToString(), | 11 | HttpSymbolDefinitionType.WixHttpUrlAce.ToString(), |
12 | new[] | 12 | new[] |
13 | { | 13 | { |
14 | new IntermediateFieldDefinition(nameof(WixHttpUrlAceTupleFields.WixHttpUrlReservationRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixHttpUrlAceSymbolFields.WixHttpUrlReservationRef), IntermediateFieldType.String), |
15 | new IntermediateFieldDefinition(nameof(WixHttpUrlAceTupleFields.SecurityPrincipal), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixHttpUrlAceSymbolFields.SecurityPrincipal), IntermediateFieldType.String), |
16 | new IntermediateFieldDefinition(nameof(WixHttpUrlAceTupleFields.Rights), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(WixHttpUrlAceSymbolFields.Rights), IntermediateFieldType.Number), |
17 | }, | 17 | }, |
18 | typeof(WixHttpUrlAceTuple)); | 18 | typeof(WixHttpUrlAceSymbol)); |
19 | } | 19 | } |
20 | } | 20 | } |
21 | 21 | ||
22 | namespace WixToolset.Http.Tuples | 22 | namespace WixToolset.Http.Symbols |
23 | { | 23 | { |
24 | using WixToolset.Data; | 24 | using WixToolset.Data; |
25 | 25 | ||
26 | public enum WixHttpUrlAceTupleFields | 26 | public enum WixHttpUrlAceSymbolFields |
27 | { | 27 | { |
28 | WixHttpUrlReservationRef, | 28 | WixHttpUrlReservationRef, |
29 | SecurityPrincipal, | 29 | SecurityPrincipal, |
30 | Rights, | 30 | Rights, |
31 | } | 31 | } |
32 | 32 | ||
33 | public class WixHttpUrlAceTuple : IntermediateTuple | 33 | public class WixHttpUrlAceSymbol : IntermediateSymbol |
34 | { | 34 | { |
35 | public WixHttpUrlAceTuple() : base(HttpTupleDefinitions.WixHttpUrlAce, null, null) | 35 | public WixHttpUrlAceSymbol() : base(HttpSymbolDefinitions.WixHttpUrlAce, null, null) |
36 | { | 36 | { |
37 | } | 37 | } |
38 | 38 | ||
39 | public WixHttpUrlAceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(HttpTupleDefinitions.WixHttpUrlAce, sourceLineNumber, id) | 39 | public WixHttpUrlAceSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(HttpSymbolDefinitions.WixHttpUrlAce, sourceLineNumber, id) |
40 | { | 40 | { |
41 | } | 41 | } |
42 | 42 | ||
43 | public IntermediateField this[WixHttpUrlAceTupleFields index] => this.Fields[(int)index]; | 43 | public IntermediateField this[WixHttpUrlAceSymbolFields index] => this.Fields[(int)index]; |
44 | 44 | ||
45 | public string WixHttpUrlReservationRef | 45 | public string WixHttpUrlReservationRef |
46 | { | 46 | { |
47 | get => this.Fields[(int)WixHttpUrlAceTupleFields.WixHttpUrlReservationRef].AsString(); | 47 | get => this.Fields[(int)WixHttpUrlAceSymbolFields.WixHttpUrlReservationRef].AsString(); |
48 | set => this.Set((int)WixHttpUrlAceTupleFields.WixHttpUrlReservationRef, value); | 48 | set => this.Set((int)WixHttpUrlAceSymbolFields.WixHttpUrlReservationRef, value); |
49 | } | 49 | } |
50 | 50 | ||
51 | public string SecurityPrincipal | 51 | public string SecurityPrincipal |
52 | { | 52 | { |
53 | get => this.Fields[(int)WixHttpUrlAceTupleFields.SecurityPrincipal].AsString(); | 53 | get => this.Fields[(int)WixHttpUrlAceSymbolFields.SecurityPrincipal].AsString(); |
54 | set => this.Set((int)WixHttpUrlAceTupleFields.SecurityPrincipal, value); | 54 | set => this.Set((int)WixHttpUrlAceSymbolFields.SecurityPrincipal, value); |
55 | } | 55 | } |
56 | 56 | ||
57 | public int Rights | 57 | public int Rights |
58 | { | 58 | { |
59 | get => this.Fields[(int)WixHttpUrlAceTupleFields.Rights].AsNumber(); | 59 | get => this.Fields[(int)WixHttpUrlAceSymbolFields.Rights].AsNumber(); |
60 | set => this.Set((int)WixHttpUrlAceTupleFields.Rights, value); | 60 | set => this.Set((int)WixHttpUrlAceSymbolFields.Rights, value); |
61 | } | 61 | } |
62 | } | 62 | } |
63 | } \ No newline at end of file | 63 | } \ No newline at end of file |
diff --git a/src/wixext/Tuples/WixHttpUrlReservationTuple.cs b/src/wixext/Tuples/WixHttpUrlReservationTuple.cs index d7dbb0a5..4bdc2fee 100644 --- a/src/wixext/Tuples/WixHttpUrlReservationTuple.cs +++ b/src/wixext/Tuples/WixHttpUrlReservationTuple.cs | |||
@@ -3,28 +3,28 @@ | |||
3 | namespace WixToolset.Http | 3 | namespace WixToolset.Http |
4 | { | 4 | { |
5 | using WixToolset.Data; | 5 | using WixToolset.Data; |
6 | using WixToolset.Http.Tuples; | 6 | using WixToolset.Http.Symbols; |
7 | 7 | ||
8 | public static partial class HttpTupleDefinitions | 8 | public static partial class HttpSymbolDefinitions |
9 | { | 9 | { |
10 | public static readonly IntermediateTupleDefinition WixHttpUrlReservation = new IntermediateTupleDefinition( | 10 | public static readonly IntermediateSymbolDefinition WixHttpUrlReservation = new IntermediateSymbolDefinition( |
11 | HttpTupleDefinitionType.WixHttpUrlReservation.ToString(), | 11 | HttpSymbolDefinitionType.WixHttpUrlReservation.ToString(), |
12 | new[] | 12 | new[] |
13 | { | 13 | { |
14 | new IntermediateFieldDefinition(nameof(WixHttpUrlReservationTupleFields.HandleExisting), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(WixHttpUrlReservationSymbolFields.HandleExisting), IntermediateFieldType.Number), |
15 | new IntermediateFieldDefinition(nameof(WixHttpUrlReservationTupleFields.Sddl), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixHttpUrlReservationSymbolFields.Sddl), IntermediateFieldType.String), |
16 | new IntermediateFieldDefinition(nameof(WixHttpUrlReservationTupleFields.Url), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixHttpUrlReservationSymbolFields.Url), IntermediateFieldType.String), |
17 | new IntermediateFieldDefinition(nameof(WixHttpUrlReservationTupleFields.ComponentRef), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(WixHttpUrlReservationSymbolFields.ComponentRef), IntermediateFieldType.String), |
18 | }, | 18 | }, |
19 | typeof(WixHttpUrlReservationTuple)); | 19 | typeof(WixHttpUrlReservationSymbol)); |
20 | } | 20 | } |
21 | } | 21 | } |
22 | 22 | ||
23 | namespace WixToolset.Http.Tuples | 23 | namespace WixToolset.Http.Symbols |
24 | { | 24 | { |
25 | using WixToolset.Data; | 25 | using WixToolset.Data; |
26 | 26 | ||
27 | public enum WixHttpUrlReservationTupleFields | 27 | public enum WixHttpUrlReservationSymbolFields |
28 | { | 28 | { |
29 | HandleExisting, | 29 | HandleExisting, |
30 | Sddl, | 30 | Sddl, |
@@ -32,40 +32,40 @@ namespace WixToolset.Http.Tuples | |||
32 | ComponentRef, | 32 | ComponentRef, |
33 | } | 33 | } |
34 | 34 | ||
35 | public class WixHttpUrlReservationTuple : IntermediateTuple | 35 | public class WixHttpUrlReservationSymbol : IntermediateSymbol |
36 | { | 36 | { |
37 | public WixHttpUrlReservationTuple() : base(HttpTupleDefinitions.WixHttpUrlReservation, null, null) | 37 | public WixHttpUrlReservationSymbol() : base(HttpSymbolDefinitions.WixHttpUrlReservation, null, null) |
38 | { | 38 | { |
39 | } | 39 | } |
40 | 40 | ||
41 | public WixHttpUrlReservationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(HttpTupleDefinitions.WixHttpUrlReservation, sourceLineNumber, id) | 41 | public WixHttpUrlReservationSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(HttpSymbolDefinitions.WixHttpUrlReservation, sourceLineNumber, id) |
42 | { | 42 | { |
43 | } | 43 | } |
44 | 44 | ||
45 | public IntermediateField this[WixHttpUrlReservationTupleFields index] => this.Fields[(int)index]; | 45 | public IntermediateField this[WixHttpUrlReservationSymbolFields index] => this.Fields[(int)index]; |
46 | 46 | ||
47 | public int HandleExisting | 47 | public int HandleExisting |
48 | { | 48 | { |
49 | get => this.Fields[(int)WixHttpUrlReservationTupleFields.HandleExisting].AsNumber(); | 49 | get => this.Fields[(int)WixHttpUrlReservationSymbolFields.HandleExisting].AsNumber(); |
50 | set => this.Set((int)WixHttpUrlReservationTupleFields.HandleExisting, value); | 50 | set => this.Set((int)WixHttpUrlReservationSymbolFields.HandleExisting, value); |
51 | } | 51 | } |
52 | 52 | ||
53 | public string Sddl | 53 | public string Sddl |
54 | { | 54 | { |
55 | get => this.Fields[(int)WixHttpUrlReservationTupleFields.Sddl].AsString(); | 55 | get => this.Fields[(int)WixHttpUrlReservationSymbolFields.Sddl].AsString(); |
56 | set => this.Set((int)WixHttpUrlReservationTupleFields.Sddl, value); | 56 | set => this.Set((int)WixHttpUrlReservationSymbolFields.Sddl, value); |
57 | } | 57 | } |
58 | 58 | ||
59 | public string Url | 59 | public string Url |
60 | { | 60 | { |
61 | get => this.Fields[(int)WixHttpUrlReservationTupleFields.Url].AsString(); | 61 | get => this.Fields[(int)WixHttpUrlReservationSymbolFields.Url].AsString(); |
62 | set => this.Set((int)WixHttpUrlReservationTupleFields.Url, value); | 62 | set => this.Set((int)WixHttpUrlReservationSymbolFields.Url, value); |
63 | } | 63 | } |
64 | 64 | ||
65 | public string ComponentRef | 65 | public string ComponentRef |
66 | { | 66 | { |
67 | get => this.Fields[(int)WixHttpUrlReservationTupleFields.ComponentRef].AsString(); | 67 | get => this.Fields[(int)WixHttpUrlReservationSymbolFields.ComponentRef].AsString(); |
68 | set => this.Set((int)WixHttpUrlReservationTupleFields.ComponentRef, value); | 68 | set => this.Set((int)WixHttpUrlReservationSymbolFields.ComponentRef, value); |
69 | } | 69 | } |
70 | } | 70 | } |
71 | } \ No newline at end of file | 71 | } \ No newline at end of file |