aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/WixTouchFileTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples/WixTouchFileTuple.cs')
-rw-r--r--src/wixext/Tuples/WixTouchFileTuple.cs40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/wixext/Tuples/WixTouchFileTuple.cs b/src/wixext/Tuples/WixTouchFileTuple.cs
index 0a152dec..447c21ba 100644
--- a/src/wixext/Tuples/WixTouchFileTuple.cs
+++ b/src/wixext/Tuples/WixTouchFileTuple.cs
@@ -3,61 +3,61 @@
3namespace WixToolset.Util 3namespace WixToolset.Util
4{ 4{
5 using WixToolset.Data; 5 using WixToolset.Data;
6 using WixToolset.Util.Tuples; 6 using WixToolset.Util.Symbols;
7 7
8 public static partial class UtilTupleDefinitions 8 public static partial class UtilSymbolDefinitions
9 { 9 {
10 public static readonly IntermediateTupleDefinition WixTouchFile = new IntermediateTupleDefinition( 10 public static readonly IntermediateSymbolDefinition WixTouchFile = new IntermediateSymbolDefinition(
11 UtilTupleDefinitionType.WixTouchFile.ToString(), 11 UtilSymbolDefinitionType.WixTouchFile.ToString(),
12 new[] 12 new[]
13 { 13 {
14 new IntermediateFieldDefinition(nameof(WixTouchFileTupleFields.ComponentRef), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(WixTouchFileSymbolFields.ComponentRef), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(WixTouchFileTupleFields.Path), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(WixTouchFileSymbolFields.Path), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(WixTouchFileTupleFields.Attributes), IntermediateFieldType.Number), 16 new IntermediateFieldDefinition(nameof(WixTouchFileSymbolFields.Attributes), IntermediateFieldType.Number),
17 }, 17 },
18 typeof(WixTouchFileTuple)); 18 typeof(WixTouchFileSymbol));
19 } 19 }
20} 20}
21 21
22namespace WixToolset.Util.Tuples 22namespace WixToolset.Util.Symbols
23{ 23{
24 using WixToolset.Data; 24 using WixToolset.Data;
25 25
26 public enum WixTouchFileTupleFields 26 public enum WixTouchFileSymbolFields
27 { 27 {
28 ComponentRef, 28 ComponentRef,
29 Path, 29 Path,
30 Attributes, 30 Attributes,
31 } 31 }
32 32
33 public class WixTouchFileTuple : IntermediateTuple 33 public class WixTouchFileSymbol : IntermediateSymbol
34 { 34 {
35 public WixTouchFileTuple() : base(UtilTupleDefinitions.WixTouchFile, null, null) 35 public WixTouchFileSymbol() : base(UtilSymbolDefinitions.WixTouchFile, null, null)
36 { 36 {
37 } 37 }
38 38
39 public WixTouchFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.WixTouchFile, sourceLineNumber, id) 39 public WixTouchFileSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilSymbolDefinitions.WixTouchFile, sourceLineNumber, id)
40 { 40 {
41 } 41 }
42 42
43 public IntermediateField this[WixTouchFileTupleFields index] => this.Fields[(int)index]; 43 public IntermediateField this[WixTouchFileSymbolFields index] => this.Fields[(int)index];
44 44
45 public string ComponentRef 45 public string ComponentRef
46 { 46 {
47 get => this.Fields[(int)WixTouchFileTupleFields.ComponentRef].AsString(); 47 get => this.Fields[(int)WixTouchFileSymbolFields.ComponentRef].AsString();
48 set => this.Set((int)WixTouchFileTupleFields.ComponentRef, value); 48 set => this.Set((int)WixTouchFileSymbolFields.ComponentRef, value);
49 } 49 }
50 50
51 public string Path 51 public string Path
52 { 52 {
53 get => this.Fields[(int)WixTouchFileTupleFields.Path].AsString(); 53 get => this.Fields[(int)WixTouchFileSymbolFields.Path].AsString();
54 set => this.Set((int)WixTouchFileTupleFields.Path, value); 54 set => this.Set((int)WixTouchFileSymbolFields.Path, value);
55 } 55 }
56 56
57 public int Attributes 57 public int Attributes
58 { 58 {
59 get => this.Fields[(int)WixTouchFileTupleFields.Attributes].AsNumber(); 59 get => this.Fields[(int)WixTouchFileSymbolFields.Attributes].AsNumber();
60 set => this.Set((int)WixTouchFileTupleFields.Attributes, value); 60 set => this.Set((int)WixTouchFileSymbolFields.Attributes, value);
61 } 61 }
62 } 62 }
63} \ No newline at end of file 63} \ No newline at end of file