aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/IIsPropertyTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/wixext/Tuples/IIsPropertyTuple.cs40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/wixext/Tuples/IIsPropertyTuple.cs b/src/wixext/Tuples/IIsPropertyTuple.cs
index 28e882bf..9cf67014 100644
--- a/src/wixext/Tuples/IIsPropertyTuple.cs
+++ b/src/wixext/Tuples/IIsPropertyTuple.cs
@@ -3,61 +3,61 @@
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 IIsProperty = new IntermediateTupleDefinition( 10 public static readonly IntermediateSymbolDefinition IIsProperty = new IntermediateSymbolDefinition(
11 IisTupleDefinitionType.IIsProperty.ToString(), 11 IisSymbolDefinitionType.IIsProperty.ToString(),
12 new[] 12 new[]
13 { 13 {
14 new IntermediateFieldDefinition(nameof(IIsPropertyTupleFields.ComponentRef), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(IIsPropertySymbolFields.ComponentRef), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(IIsPropertyTupleFields.Attributes), IntermediateFieldType.Number), 15 new IntermediateFieldDefinition(nameof(IIsPropertySymbolFields.Attributes), IntermediateFieldType.Number),
16 new IntermediateFieldDefinition(nameof(IIsPropertyTupleFields.Value), IntermediateFieldType.String), 16 new IntermediateFieldDefinition(nameof(IIsPropertySymbolFields.Value), IntermediateFieldType.String),
17 }, 17 },
18 typeof(IIsPropertyTuple)); 18 typeof(IIsPropertySymbol));
19 } 19 }
20} 20}
21 21
22namespace WixToolset.Iis.Tuples 22namespace WixToolset.Iis.Symbols
23{ 23{
24 using WixToolset.Data; 24 using WixToolset.Data;
25 25
26 public enum IIsPropertyTupleFields 26 public enum IIsPropertySymbolFields
27 { 27 {
28 ComponentRef, 28 ComponentRef,
29 Attributes, 29 Attributes,
30 Value, 30 Value,
31 } 31 }
32 32
33 public class IIsPropertyTuple : IntermediateTuple 33 public class IIsPropertySymbol : IntermediateSymbol
34 { 34 {
35 public IIsPropertyTuple() : base(IisTupleDefinitions.IIsProperty, null, null) 35 public IIsPropertySymbol() : base(IisSymbolDefinitions.IIsProperty, null, null)
36 { 36 {
37 } 37 }
38 38
39 public IIsPropertyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(IisTupleDefinitions.IIsProperty, sourceLineNumber, id) 39 public IIsPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(IisSymbolDefinitions.IIsProperty, sourceLineNumber, id)
40 { 40 {
41 } 41 }
42 42
43 public IntermediateField this[IIsPropertyTupleFields index] => this.Fields[(int)index]; 43 public IntermediateField this[IIsPropertySymbolFields index] => this.Fields[(int)index];
44 44
45 public string ComponentRef 45 public string ComponentRef
46 { 46 {
47 get => this.Fields[(int)IIsPropertyTupleFields.ComponentRef].AsString(); 47 get => this.Fields[(int)IIsPropertySymbolFields.ComponentRef].AsString();
48 set => this.Set((int)IIsPropertyTupleFields.ComponentRef, value); 48 set => this.Set((int)IIsPropertySymbolFields.ComponentRef, value);
49 } 49 }
50 50
51 public int Attributes 51 public int Attributes
52 { 52 {
53 get => this.Fields[(int)IIsPropertyTupleFields.Attributes].AsNumber(); 53 get => this.Fields[(int)IIsPropertySymbolFields.Attributes].AsNumber();
54 set => this.Set((int)IIsPropertyTupleFields.Attributes, value); 54 set => this.Set((int)IIsPropertySymbolFields.Attributes, value);
55 } 55 }
56 56
57 public string Value 57 public string Value
58 { 58 {
59 get => this.Fields[(int)IIsPropertyTupleFields.Value].AsString(); 59 get => this.Fields[(int)IIsPropertySymbolFields.Value].AsString();
60 set => this.Set((int)IIsPropertyTupleFields.Value, value); 60 set => this.Set((int)IIsPropertySymbolFields.Value, value);
61 } 61 }
62 } 62 }
63} \ No newline at end of file 63} \ No newline at end of file