aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/WixFormatFilesTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples/WixFormatFilesTuple.cs')
-rw-r--r--src/wixext/Tuples/WixFormatFilesTuple.cs34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/wixext/Tuples/WixFormatFilesTuple.cs b/src/wixext/Tuples/WixFormatFilesTuple.cs
index 8e7db0c6..38a9b8ff 100644
--- a/src/wixext/Tuples/WixFormatFilesTuple.cs
+++ b/src/wixext/Tuples/WixFormatFilesTuple.cs
@@ -3,53 +3,53 @@
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 WixFormatFiles = new IntermediateTupleDefinition( 10 public static readonly IntermediateSymbolDefinition WixFormatFiles = new IntermediateSymbolDefinition(
11 UtilTupleDefinitionType.WixFormatFiles.ToString(), 11 UtilSymbolDefinitionType.WixFormatFiles.ToString(),
12 new[] 12 new[]
13 { 13 {
14 new IntermediateFieldDefinition(nameof(WixFormatFilesTupleFields.BinaryRef), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(WixFormatFilesSymbolFields.BinaryRef), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(WixFormatFilesTupleFields.FileRef), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(WixFormatFilesSymbolFields.FileRef), IntermediateFieldType.String),
16 }, 16 },
17 typeof(WixFormatFilesTuple)); 17 typeof(WixFormatFilesSymbol));
18 } 18 }
19} 19}
20 20
21namespace WixToolset.Util.Tuples 21namespace WixToolset.Util.Symbols
22{ 22{
23 using WixToolset.Data; 23 using WixToolset.Data;
24 24
25 public enum WixFormatFilesTupleFields 25 public enum WixFormatFilesSymbolFields
26 { 26 {
27 BinaryRef, 27 BinaryRef,
28 FileRef, 28 FileRef,
29 } 29 }
30 30
31 public class WixFormatFilesTuple : IntermediateTuple 31 public class WixFormatFilesSymbol : IntermediateSymbol
32 { 32 {
33 public WixFormatFilesTuple() : base(UtilTupleDefinitions.WixFormatFiles, null, null) 33 public WixFormatFilesSymbol() : base(UtilSymbolDefinitions.WixFormatFiles, null, null)
34 { 34 {
35 } 35 }
36 36
37 public WixFormatFilesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.WixFormatFiles, sourceLineNumber, id) 37 public WixFormatFilesSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilSymbolDefinitions.WixFormatFiles, sourceLineNumber, id)
38 { 38 {
39 } 39 }
40 40
41 public IntermediateField this[WixFormatFilesTupleFields index] => this.Fields[(int)index]; 41 public IntermediateField this[WixFormatFilesSymbolFields index] => this.Fields[(int)index];
42 42
43 public string BinaryRef 43 public string BinaryRef
44 { 44 {
45 get => this.Fields[(int)WixFormatFilesTupleFields.BinaryRef].AsString(); 45 get => this.Fields[(int)WixFormatFilesSymbolFields.BinaryRef].AsString();
46 set => this.Set((int)WixFormatFilesTupleFields.BinaryRef, value); 46 set => this.Set((int)WixFormatFilesSymbolFields.BinaryRef, value);
47 } 47 }
48 48
49 public string FileRef 49 public string FileRef
50 { 50 {
51 get => this.Fields[(int)WixFormatFilesTupleFields.FileRef].AsString(); 51 get => this.Fields[(int)WixFormatFilesSymbolFields.FileRef].AsString();
52 set => this.Set((int)WixFormatFilesTupleFields.FileRef, value); 52 set => this.Set((int)WixFormatFilesSymbolFields.FileRef, value);
53 } 53 }
54 } 54 }
55} \ No newline at end of file 55} \ No newline at end of file