aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/EventManifestTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples/EventManifestTuple.cs')
-rw-r--r--src/wixext/Tuples/EventManifestTuple.cs34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/wixext/Tuples/EventManifestTuple.cs b/src/wixext/Tuples/EventManifestTuple.cs
index 364604be..ccd3c899 100644
--- a/src/wixext/Tuples/EventManifestTuple.cs
+++ b/src/wixext/Tuples/EventManifestTuple.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 EventManifest = new IntermediateTupleDefinition( 10 public static readonly IntermediateSymbolDefinition EventManifest = new IntermediateSymbolDefinition(
11 UtilTupleDefinitionType.EventManifest.ToString(), 11 UtilSymbolDefinitionType.EventManifest.ToString(),
12 new[] 12 new[]
13 { 13 {
14 new IntermediateFieldDefinition(nameof(EventManifestTupleFields.ComponentRef), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(EventManifestSymbolFields.ComponentRef), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(EventManifestTupleFields.File), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(EventManifestSymbolFields.File), IntermediateFieldType.String),
16 }, 16 },
17 typeof(EventManifestTuple)); 17 typeof(EventManifestSymbol));
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 EventManifestTupleFields 25 public enum EventManifestSymbolFields
26 { 26 {
27 ComponentRef, 27 ComponentRef,
28 File, 28 File,
29 } 29 }
30 30
31 public class EventManifestTuple : IntermediateTuple 31 public class EventManifestSymbol : IntermediateSymbol
32 { 32 {
33 public EventManifestTuple() : base(UtilTupleDefinitions.EventManifest, null, null) 33 public EventManifestSymbol() : base(UtilSymbolDefinitions.EventManifest, null, null)
34 { 34 {
35 } 35 }
36 36
37 public EventManifestTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.EventManifest, sourceLineNumber, id) 37 public EventManifestSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilSymbolDefinitions.EventManifest, sourceLineNumber, id)
38 { 38 {
39 } 39 }
40 40
41 public IntermediateField this[EventManifestTupleFields index] => this.Fields[(int)index]; 41 public IntermediateField this[EventManifestSymbolFields index] => this.Fields[(int)index];
42 42
43 public string ComponentRef 43 public string ComponentRef
44 { 44 {
45 get => this.Fields[(int)EventManifestTupleFields.ComponentRef].AsString(); 45 get => this.Fields[(int)EventManifestSymbolFields.ComponentRef].AsString();
46 set => this.Set((int)EventManifestTupleFields.ComponentRef, value); 46 set => this.Set((int)EventManifestSymbolFields.ComponentRef, value);
47 } 47 }
48 48
49 public string File 49 public string File
50 { 50 {
51 get => this.Fields[(int)EventManifestTupleFields.File].AsString(); 51 get => this.Fields[(int)EventManifestSymbolFields.File].AsString();
52 set => this.Set((int)EventManifestTupleFields.File, value); 52 set => this.Set((int)EventManifestSymbolFields.File, value);
53 } 53 }
54 } 54 }
55} \ No newline at end of file 55} \ No newline at end of file