aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples')
-rw-r--r--src/wixext/Tuples/NetFxNativeImageTuple.cs32
-rw-r--r--src/wixext/Tuples/NetfxTupleDefinitions.cs22
2 files changed, 27 insertions, 27 deletions
diff --git a/src/wixext/Tuples/NetFxNativeImageTuple.cs b/src/wixext/Tuples/NetFxNativeImageTuple.cs
index 51211f75..3803abd6 100644
--- a/src/wixext/Tuples/NetFxNativeImageTuple.cs
+++ b/src/wixext/Tuples/NetFxNativeImageTuple.cs
@@ -1,10 +1,10 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. 1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2 2
3namespace WixToolset.Netfx.Tuples 3namespace WixToolset.Netfx.Symbols
4{ 4{
5 using WixToolset.Data; 5 using WixToolset.Data;
6 6
7 public enum NetFxNativeImageTupleFields 7 public enum NetFxNativeImageSymbolFields
8 { 8 {
9 FileRef, 9 FileRef,
10 Priority, 10 Priority,
@@ -13,46 +13,46 @@ namespace WixToolset.Netfx.Tuples
13 ApplicationBaseDirectoryRef, 13 ApplicationBaseDirectoryRef,
14 } 14 }
15 15
16 public class NetFxNativeImageTuple : IntermediateTuple 16 public class NetFxNativeImageSymbol : IntermediateSymbol
17 { 17 {
18 public NetFxNativeImageTuple() : base(NetfxTupleDefinitions.NetFxNativeImage, null, null) 18 public NetFxNativeImageSymbol() : base(NetfxSymbolDefinitions.NetFxNativeImage, null, null)
19 { 19 {
20 } 20 }
21 21
22 public NetFxNativeImageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(NetfxTupleDefinitions.NetFxNativeImage, sourceLineNumber, id) 22 public NetFxNativeImageSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(NetfxSymbolDefinitions.NetFxNativeImage, sourceLineNumber, id)
23 { 23 {
24 } 24 }
25 25
26 public IntermediateField this[NetFxNativeImageTupleFields index] => this.Fields[(int)index]; 26 public IntermediateField this[NetFxNativeImageSymbolFields index] => this.Fields[(int)index];
27 27
28 public string FileRef 28 public string FileRef
29 { 29 {
30 get => this.Fields[(int)NetFxNativeImageTupleFields.FileRef].AsString(); 30 get => this.Fields[(int)NetFxNativeImageSymbolFields.FileRef].AsString();
31 set => this.Set((int)NetFxNativeImageTupleFields.FileRef, value); 31 set => this.Set((int)NetFxNativeImageSymbolFields.FileRef, value);
32 } 32 }
33 33
34 public int Priority 34 public int Priority
35 { 35 {
36 get => this.Fields[(int)NetFxNativeImageTupleFields.Priority].AsNumber(); 36 get => this.Fields[(int)NetFxNativeImageSymbolFields.Priority].AsNumber();
37 set => this.Set((int)NetFxNativeImageTupleFields.Priority, value); 37 set => this.Set((int)NetFxNativeImageSymbolFields.Priority, value);
38 } 38 }
39 39
40 public int Attributes 40 public int Attributes
41 { 41 {
42 get => this.Fields[(int)NetFxNativeImageTupleFields.Attributes].AsNumber(); 42 get => this.Fields[(int)NetFxNativeImageSymbolFields.Attributes].AsNumber();
43 set => this.Set((int)NetFxNativeImageTupleFields.Attributes, value); 43 set => this.Set((int)NetFxNativeImageSymbolFields.Attributes, value);
44 } 44 }
45 45
46 public string ApplicationFileRef 46 public string ApplicationFileRef
47 { 47 {
48 get => this.Fields[(int)NetFxNativeImageTupleFields.ApplicationFileRef].AsString(); 48 get => this.Fields[(int)NetFxNativeImageSymbolFields.ApplicationFileRef].AsString();
49 set => this.Set((int)NetFxNativeImageTupleFields.ApplicationFileRef, value); 49 set => this.Set((int)NetFxNativeImageSymbolFields.ApplicationFileRef, value);
50 } 50 }
51 51
52 public string ApplicationBaseDirectoryRef 52 public string ApplicationBaseDirectoryRef
53 { 53 {
54 get => this.Fields[(int)NetFxNativeImageTupleFields.ApplicationBaseDirectoryRef].AsString(); 54 get => this.Fields[(int)NetFxNativeImageSymbolFields.ApplicationBaseDirectoryRef].AsString();
55 set => this.Set((int)NetFxNativeImageTupleFields.ApplicationBaseDirectoryRef, value); 55 set => this.Set((int)NetFxNativeImageSymbolFields.ApplicationBaseDirectoryRef, value);
56 } 56 }
57 } 57 }
58} \ No newline at end of file 58} \ No newline at end of file
diff --git a/src/wixext/Tuples/NetfxTupleDefinitions.cs b/src/wixext/Tuples/NetfxTupleDefinitions.cs
index 9b617279..3c0f1176 100644
--- a/src/wixext/Tuples/NetfxTupleDefinitions.cs
+++ b/src/wixext/Tuples/NetfxTupleDefinitions.cs
@@ -1,26 +1,26 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. 1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2 2
3namespace WixToolset.Netfx.Tuples 3namespace WixToolset.Netfx.Symbols
4{ 4{
5 using WixToolset.Data; 5 using WixToolset.Data;
6 6
7 public static class NetfxTupleDefinitionNames 7 public static class NetfxSymbolDefinitionNames
8 { 8 {
9 public static string NetFxNativeImage { get; } = "NetFxNativeImage"; 9 public static string NetFxNativeImage { get; } = "NetFxNativeImage";
10 } 10 }
11 11
12 public static class NetfxTupleDefinitions 12 public static class NetfxSymbolDefinitions
13 { 13 {
14 public static readonly IntermediateTupleDefinition NetFxNativeImage = new IntermediateTupleDefinition( 14 public static readonly IntermediateSymbolDefinition NetFxNativeImage = new IntermediateSymbolDefinition(
15 NetfxTupleDefinitionNames.NetFxNativeImage, 15 NetfxSymbolDefinitionNames.NetFxNativeImage,
16 new[] 16 new[]
17 { 17 {
18 new IntermediateFieldDefinition(nameof(NetFxNativeImageTupleFields.FileRef), IntermediateFieldType.String), 18 new IntermediateFieldDefinition(nameof(NetFxNativeImageSymbolFields.FileRef), IntermediateFieldType.String),
19 new IntermediateFieldDefinition(nameof(NetFxNativeImageTupleFields.Priority), IntermediateFieldType.Number), 19 new IntermediateFieldDefinition(nameof(NetFxNativeImageSymbolFields.Priority), IntermediateFieldType.Number),
20 new IntermediateFieldDefinition(nameof(NetFxNativeImageTupleFields.Attributes), IntermediateFieldType.Number), 20 new IntermediateFieldDefinition(nameof(NetFxNativeImageSymbolFields.Attributes), IntermediateFieldType.Number),
21 new IntermediateFieldDefinition(nameof(NetFxNativeImageTupleFields.ApplicationFileRef), IntermediateFieldType.String), 21 new IntermediateFieldDefinition(nameof(NetFxNativeImageSymbolFields.ApplicationFileRef), IntermediateFieldType.String),
22 new IntermediateFieldDefinition(nameof(NetFxNativeImageTupleFields.ApplicationBaseDirectoryRef), IntermediateFieldType.String), 22 new IntermediateFieldDefinition(nameof(NetFxNativeImageSymbolFields.ApplicationBaseDirectoryRef), IntermediateFieldType.String),
23 }, 23 },
24 typeof(NetFxNativeImageTuple)); 24 typeof(NetFxNativeImageSymbol));
25 } 25 }
26} 26}