aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/ListViewTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Data/Tuples/ListViewTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/ListViewTuple.cs52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/WixToolset.Data/Tuples/ListViewTuple.cs b/src/WixToolset.Data/Tuples/ListViewTuple.cs
index 80fbed83..09543ab1 100644
--- a/src/WixToolset.Data/Tuples/ListViewTuple.cs
+++ b/src/WixToolset.Data/Tuples/ListViewTuple.cs
@@ -2,27 +2,27 @@
2 2
3namespace WixToolset.Data 3namespace 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 ListView = new IntermediateTupleDefinition( 9 public static readonly IntermediateSymbolDefinition ListView = new IntermediateSymbolDefinition(
10 TupleDefinitionType.ListView, 10 SymbolDefinitionType.ListView,
11 new[] 11 new[]
12 { 12 {
13 new IntermediateFieldDefinition(nameof(ListViewTupleFields.Property), IntermediateFieldType.String), 13 new IntermediateFieldDefinition(nameof(ListViewSymbolFields.Property), IntermediateFieldType.String),
14 new IntermediateFieldDefinition(nameof(ListViewTupleFields.Order), IntermediateFieldType.Number), 14 new IntermediateFieldDefinition(nameof(ListViewSymbolFields.Order), IntermediateFieldType.Number),
15 new IntermediateFieldDefinition(nameof(ListViewTupleFields.Value), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(ListViewSymbolFields.Value), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(ListViewTupleFields.Text), IntermediateFieldType.String), 16 new IntermediateFieldDefinition(nameof(ListViewSymbolFields.Text), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(ListViewTupleFields.BinaryRef), IntermediateFieldType.String), 17 new IntermediateFieldDefinition(nameof(ListViewSymbolFields.BinaryRef), IntermediateFieldType.String),
18 }, 18 },
19 typeof(ListViewTuple)); 19 typeof(ListViewSymbol));
20 } 20 }
21} 21}
22 22
23namespace WixToolset.Data.Tuples 23namespace WixToolset.Data.Symbols
24{ 24{
25 public enum ListViewTupleFields 25 public enum ListViewSymbolFields
26 { 26 {
27 Property, 27 Property,
28 Order, 28 Order,
@@ -31,46 +31,46 @@ namespace WixToolset.Data.Tuples
31 BinaryRef, 31 BinaryRef,
32 } 32 }
33 33
34 public class ListViewTuple : IntermediateTuple 34 public class ListViewSymbol : IntermediateSymbol
35 { 35 {
36 public ListViewTuple() : base(TupleDefinitions.ListView, null, null) 36 public ListViewSymbol() : base(SymbolDefinitions.ListView, null, null)
37 { 37 {
38 } 38 }
39 39
40 public ListViewTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ListView, sourceLineNumber, id) 40 public ListViewSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ListView, sourceLineNumber, id)
41 { 41 {
42 } 42 }
43 43
44 public IntermediateField this[ListViewTupleFields index] => this.Fields[(int)index]; 44 public IntermediateField this[ListViewSymbolFields index] => this.Fields[(int)index];
45 45
46 public string Property 46 public string Property
47 { 47 {
48 get => (string)this.Fields[(int)ListViewTupleFields.Property]; 48 get => (string)this.Fields[(int)ListViewSymbolFields.Property];
49 set => this.Set((int)ListViewTupleFields.Property, value); 49 set => this.Set((int)ListViewSymbolFields.Property, value);
50 } 50 }
51 51
52 public int Order 52 public int Order
53 { 53 {
54 get => (int)this.Fields[(int)ListViewTupleFields.Order]; 54 get => (int)this.Fields[(int)ListViewSymbolFields.Order];
55 set => this.Set((int)ListViewTupleFields.Order, value); 55 set => this.Set((int)ListViewSymbolFields.Order, value);
56 } 56 }
57 57
58 public string Value 58 public string Value
59 { 59 {
60 get => (string)this.Fields[(int)ListViewTupleFields.Value]; 60 get => (string)this.Fields[(int)ListViewSymbolFields.Value];
61 set => this.Set((int)ListViewTupleFields.Value, value); 61 set => this.Set((int)ListViewSymbolFields.Value, value);
62 } 62 }
63 63
64 public string Text 64 public string Text
65 { 65 {
66 get => (string)this.Fields[(int)ListViewTupleFields.Text]; 66 get => (string)this.Fields[(int)ListViewSymbolFields.Text];
67 set => this.Set((int)ListViewTupleFields.Text, value); 67 set => this.Set((int)ListViewSymbolFields.Text, value);
68 } 68 }
69 69
70 public string BinaryRef 70 public string BinaryRef
71 { 71 {
72 get => (string)this.Fields[(int)ListViewTupleFields.BinaryRef]; 72 get => (string)this.Fields[(int)ListViewSymbolFields.BinaryRef];
73 set => this.Set((int)ListViewTupleFields.BinaryRef, value); 73 set => this.Set((int)ListViewSymbolFields.BinaryRef, value);
74 } 74 }
75 } 75 }
76} \ No newline at end of file 76} \ No newline at end of file