aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/IIsWebAddressTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/wixext/Tuples/IIsWebAddressTuple.cs52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/wixext/Tuples/IIsWebAddressTuple.cs b/src/wixext/Tuples/IIsWebAddressTuple.cs
index b6e61ccc..7111718a 100644
--- a/src/wixext/Tuples/IIsWebAddressTuple.cs
+++ b/src/wixext/Tuples/IIsWebAddressTuple.cs
@@ -3,29 +3,29 @@
3namespace WixToolset.Iis 3namespace WixToolset.Iis
4{ 4{
5 using WixToolset.Data; 5 using WixToolset.Data;
6 using WixToolset.Iis.Tuples; 6 using WixToolset.Iis.Symbols;
7 7
8 public static partial class IisTupleDefinitions 8 public static partial class IisSymbolDefinitions
9 { 9 {
10 public static readonly IntermediateTupleDefinition IIsWebAddress = new IntermediateTupleDefinition( 10 public static readonly IntermediateSymbolDefinition IIsWebAddress = new IntermediateSymbolDefinition(
11 IisTupleDefinitionType.IIsWebAddress.ToString(), 11 IisSymbolDefinitionType.IIsWebAddress.ToString(),
12 new[] 12 new[]
13 { 13 {
14 new IntermediateFieldDefinition(nameof(IIsWebAddressTupleFields.WebRef), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(IIsWebAddressSymbolFields.WebRef), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(IIsWebAddressTupleFields.IP), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(IIsWebAddressSymbolFields.IP), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(IIsWebAddressTupleFields.Port), IntermediateFieldType.String), 16 new IntermediateFieldDefinition(nameof(IIsWebAddressSymbolFields.Port), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(IIsWebAddressTupleFields.Header), IntermediateFieldType.String), 17 new IntermediateFieldDefinition(nameof(IIsWebAddressSymbolFields.Header), IntermediateFieldType.String),
18 new IntermediateFieldDefinition(nameof(IIsWebAddressTupleFields.Secure), IntermediateFieldType.Number), 18 new IntermediateFieldDefinition(nameof(IIsWebAddressSymbolFields.Secure), IntermediateFieldType.Number),
19 }, 19 },
20 typeof(IIsWebAddressTuple)); 20 typeof(IIsWebAddressSymbol));
21 } 21 }
22} 22}
23 23
24namespace WixToolset.Iis.Tuples 24namespace WixToolset.Iis.Symbols
25{ 25{
26 using WixToolset.Data; 26 using WixToolset.Data;
27 27
28 public enum IIsWebAddressTupleFields 28 public enum IIsWebAddressSymbolFields
29 { 29 {
30 WebRef, 30 WebRef,
31 IP, 31 IP,
@@ -34,46 +34,46 @@ namespace WixToolset.Iis.Tuples
34 Secure, 34 Secure,
35 } 35 }
36 36
37 public class IIsWebAddressTuple : IntermediateTuple 37 public class IIsWebAddressSymbol : IntermediateSymbol
38 { 38 {
39 public IIsWebAddressTuple() : base(IisTupleDefinitions.IIsWebAddress, null, null) 39 public IIsWebAddressSymbol() : base(IisSymbolDefinitions.IIsWebAddress, null, null)
40 { 40 {
41 } 41 }
42 42
43 public IIsWebAddressTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(IisTupleDefinitions.IIsWebAddress, sourceLineNumber, id) 43 public IIsWebAddressSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(IisSymbolDefinitions.IIsWebAddress, sourceLineNumber, id)
44 { 44 {
45 } 45 }
46 46
47 public IntermediateField this[IIsWebAddressTupleFields index] => this.Fields[(int)index]; 47 public IntermediateField this[IIsWebAddressSymbolFields index] => this.Fields[(int)index];
48 48
49 public string WebRef 49 public string WebRef
50 { 50 {
51 get => this.Fields[(int)IIsWebAddressTupleFields.WebRef].AsString(); 51 get => this.Fields[(int)IIsWebAddressSymbolFields.WebRef].AsString();
52 set => this.Set((int)IIsWebAddressTupleFields.WebRef, value); 52 set => this.Set((int)IIsWebAddressSymbolFields.WebRef, value);
53 } 53 }
54 54
55 public string IP 55 public string IP
56 { 56 {
57 get => this.Fields[(int)IIsWebAddressTupleFields.IP].AsString(); 57 get => this.Fields[(int)IIsWebAddressSymbolFields.IP].AsString();
58 set => this.Set((int)IIsWebAddressTupleFields.IP, value); 58 set => this.Set((int)IIsWebAddressSymbolFields.IP, value);
59 } 59 }
60 60
61 public string Port 61 public string Port
62 { 62 {
63 get => this.Fields[(int)IIsWebAddressTupleFields.Port].AsString(); 63 get => this.Fields[(int)IIsWebAddressSymbolFields.Port].AsString();
64 set => this.Set((int)IIsWebAddressTupleFields.Port, value); 64 set => this.Set((int)IIsWebAddressSymbolFields.Port, value);
65 } 65 }
66 66
67 public string Header 67 public string Header
68 { 68 {
69 get => this.Fields[(int)IIsWebAddressTupleFields.Header].AsString(); 69 get => this.Fields[(int)IIsWebAddressSymbolFields.Header].AsString();
70 set => this.Set((int)IIsWebAddressTupleFields.Header, value); 70 set => this.Set((int)IIsWebAddressSymbolFields.Header, value);
71 } 71 }
72 72
73 public int? Secure 73 public int? Secure
74 { 74 {
75 get => this.Fields[(int)IIsWebAddressTupleFields.Secure].AsNullableNumber(); 75 get => this.Fields[(int)IIsWebAddressSymbolFields.Secure].AsNullableNumber();
76 set => this.Set((int)IIsWebAddressTupleFields.Secure, value); 76 set => this.Set((int)IIsWebAddressSymbolFields.Secure, value);
77 } 77 }
78 } 78 }
79} \ No newline at end of file 79} \ No newline at end of file