aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/WixDependencyRefTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples/WixDependencyRefTuple.cs')
-rw-r--r--src/wixext/Tuples/WixDependencyRefTuple.cs34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/wixext/Tuples/WixDependencyRefTuple.cs b/src/wixext/Tuples/WixDependencyRefTuple.cs
index 9b5a5eed..6f2aaadf 100644
--- a/src/wixext/Tuples/WixDependencyRefTuple.cs
+++ b/src/wixext/Tuples/WixDependencyRefTuple.cs
@@ -3,53 +3,53 @@
3namespace WixToolset.Dependency 3namespace WixToolset.Dependency
4{ 4{
5 using WixToolset.Data; 5 using WixToolset.Data;
6 using WixToolset.Dependency.Tuples; 6 using WixToolset.Dependency.Symbols;
7 7
8 public static partial class DependencyTupleDefinitions 8 public static partial class DependencySymbolDefinitions
9 { 9 {
10 public static readonly IntermediateTupleDefinition WixDependencyRef = new IntermediateTupleDefinition( 10 public static readonly IntermediateSymbolDefinition WixDependencyRef = new IntermediateSymbolDefinition(
11 DependencyTupleDefinitionType.WixDependencyRef.ToString(), 11 DependencySymbolDefinitionType.WixDependencyRef.ToString(),
12 new[] 12 new[]
13 { 13 {
14 new IntermediateFieldDefinition(nameof(WixDependencyRefTupleFields.WixDependencyProviderRef), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(WixDependencyRefSymbolFields.WixDependencyProviderRef), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(WixDependencyRefTupleFields.WixDependencyRef), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(WixDependencyRefSymbolFields.WixDependencyRef), IntermediateFieldType.String),
16 }, 16 },
17 typeof(WixDependencyRefTuple)); 17 typeof(WixDependencyRefSymbol));
18 } 18 }
19} 19}
20 20
21namespace WixToolset.Dependency.Tuples 21namespace WixToolset.Dependency.Symbols
22{ 22{
23 using WixToolset.Data; 23 using WixToolset.Data;
24 24
25 public enum WixDependencyRefTupleFields 25 public enum WixDependencyRefSymbolFields
26 { 26 {
27 WixDependencyProviderRef, 27 WixDependencyProviderRef,
28 WixDependencyRef, 28 WixDependencyRef,
29 } 29 }
30 30
31 public class WixDependencyRefTuple : IntermediateTuple 31 public class WixDependencyRefSymbol : IntermediateSymbol
32 { 32 {
33 public WixDependencyRefTuple() : base(DependencyTupleDefinitions.WixDependencyRef, null, null) 33 public WixDependencyRefSymbol() : base(DependencySymbolDefinitions.WixDependencyRef, null, null)
34 { 34 {
35 } 35 }
36 36
37 public WixDependencyRefTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(DependencyTupleDefinitions.WixDependencyRef, sourceLineNumber, id) 37 public WixDependencyRefSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(DependencySymbolDefinitions.WixDependencyRef, sourceLineNumber, id)
38 { 38 {
39 } 39 }
40 40
41 public IntermediateField this[WixDependencyRefTupleFields index] => this.Fields[(int)index]; 41 public IntermediateField this[WixDependencyRefSymbolFields index] => this.Fields[(int)index];
42 42
43 public string WixDependencyProviderRef 43 public string WixDependencyProviderRef
44 { 44 {
45 get => this.Fields[(int)WixDependencyRefTupleFields.WixDependencyProviderRef].AsString(); 45 get => this.Fields[(int)WixDependencyRefSymbolFields.WixDependencyProviderRef].AsString();
46 set => this.Set((int)WixDependencyRefTupleFields.WixDependencyProviderRef, value); 46 set => this.Set((int)WixDependencyRefSymbolFields.WixDependencyProviderRef, value);
47 } 47 }
48 48
49 public string WixDependencyRef 49 public string WixDependencyRef
50 { 50 {
51 get => this.Fields[(int)WixDependencyRefTupleFields.WixDependencyRef].AsString(); 51 get => this.Fields[(int)WixDependencyRefSymbolFields.WixDependencyRef].AsString();
52 set => this.Set((int)WixDependencyRefTupleFields.WixDependencyRef, value); 52 set => this.Set((int)WixDependencyRefSymbolFields.WixDependencyRef, value);
53 } 53 }
54 } 54 }
55} \ No newline at end of file 55} \ No newline at end of file