aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/WixInternetShortcutTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples/WixInternetShortcutTuple.cs')
-rw-r--r--src/wixext/Tuples/WixInternetShortcutTuple.cs64
1 files changed, 32 insertions, 32 deletions
diff --git a/src/wixext/Tuples/WixInternetShortcutTuple.cs b/src/wixext/Tuples/WixInternetShortcutTuple.cs
index b0dff121..e8265e02 100644
--- a/src/wixext/Tuples/WixInternetShortcutTuple.cs
+++ b/src/wixext/Tuples/WixInternetShortcutTuple.cs
@@ -3,31 +3,31 @@
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 WixInternetShortcut = new IntermediateTupleDefinition( 10 public static readonly IntermediateSymbolDefinition WixInternetShortcut = new IntermediateSymbolDefinition(
11 UtilTupleDefinitionType.WixInternetShortcut.ToString(), 11 UtilSymbolDefinitionType.WixInternetShortcut.ToString(),
12 new[] 12 new[]
13 { 13 {
14 new IntermediateFieldDefinition(nameof(WixInternetShortcutTupleFields.ComponentRef), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(WixInternetShortcutSymbolFields.ComponentRef), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(WixInternetShortcutTupleFields.DirectoryRef), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(WixInternetShortcutSymbolFields.DirectoryRef), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(WixInternetShortcutTupleFields.Name), IntermediateFieldType.String), 16 new IntermediateFieldDefinition(nameof(WixInternetShortcutSymbolFields.Name), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(WixInternetShortcutTupleFields.Target), IntermediateFieldType.String), 17 new IntermediateFieldDefinition(nameof(WixInternetShortcutSymbolFields.Target), IntermediateFieldType.String),
18 new IntermediateFieldDefinition(nameof(WixInternetShortcutTupleFields.Attributes), IntermediateFieldType.Number), 18 new IntermediateFieldDefinition(nameof(WixInternetShortcutSymbolFields.Attributes), IntermediateFieldType.Number),
19 new IntermediateFieldDefinition(nameof(WixInternetShortcutTupleFields.IconFile), IntermediateFieldType.String), 19 new IntermediateFieldDefinition(nameof(WixInternetShortcutSymbolFields.IconFile), IntermediateFieldType.String),
20 new IntermediateFieldDefinition(nameof(WixInternetShortcutTupleFields.IconIndex), IntermediateFieldType.Number), 20 new IntermediateFieldDefinition(nameof(WixInternetShortcutSymbolFields.IconIndex), IntermediateFieldType.Number),
21 }, 21 },
22 typeof(WixInternetShortcutTuple)); 22 typeof(WixInternetShortcutSymbol));
23 } 23 }
24} 24}
25 25
26namespace WixToolset.Util.Tuples 26namespace WixToolset.Util.Symbols
27{ 27{
28 using WixToolset.Data; 28 using WixToolset.Data;
29 29
30 public enum WixInternetShortcutTupleFields 30 public enum WixInternetShortcutSymbolFields
31 { 31 {
32 ComponentRef, 32 ComponentRef,
33 DirectoryRef, 33 DirectoryRef,
@@ -38,58 +38,58 @@ namespace WixToolset.Util.Tuples
38 IconIndex, 38 IconIndex,
39 } 39 }
40 40
41 public class WixInternetShortcutTuple : IntermediateTuple 41 public class WixInternetShortcutSymbol : IntermediateSymbol
42 { 42 {
43 public WixInternetShortcutTuple() : base(UtilTupleDefinitions.WixInternetShortcut, null, null) 43 public WixInternetShortcutSymbol() : base(UtilSymbolDefinitions.WixInternetShortcut, null, null)
44 { 44 {
45 } 45 }
46 46
47 public WixInternetShortcutTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.WixInternetShortcut, sourceLineNumber, id) 47 public WixInternetShortcutSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilSymbolDefinitions.WixInternetShortcut, sourceLineNumber, id)
48 { 48 {
49 } 49 }
50 50
51 public IntermediateField this[WixInternetShortcutTupleFields index] => this.Fields[(int)index]; 51 public IntermediateField this[WixInternetShortcutSymbolFields index] => this.Fields[(int)index];
52 52
53 public string ComponentRef 53 public string ComponentRef
54 { 54 {
55 get => this.Fields[(int)WixInternetShortcutTupleFields.ComponentRef].AsString(); 55 get => this.Fields[(int)WixInternetShortcutSymbolFields.ComponentRef].AsString();
56 set => this.Set((int)WixInternetShortcutTupleFields.ComponentRef, value); 56 set => this.Set((int)WixInternetShortcutSymbolFields.ComponentRef, value);
57 } 57 }
58 58
59 public string DirectoryRef 59 public string DirectoryRef
60 { 60 {
61 get => this.Fields[(int)WixInternetShortcutTupleFields.DirectoryRef].AsString(); 61 get => this.Fields[(int)WixInternetShortcutSymbolFields.DirectoryRef].AsString();
62 set => this.Set((int)WixInternetShortcutTupleFields.DirectoryRef, value); 62 set => this.Set((int)WixInternetShortcutSymbolFields.DirectoryRef, value);
63 } 63 }
64 64
65 public string Name 65 public string Name
66 { 66 {
67 get => this.Fields[(int)WixInternetShortcutTupleFields.Name].AsString(); 67 get => this.Fields[(int)WixInternetShortcutSymbolFields.Name].AsString();
68 set => this.Set((int)WixInternetShortcutTupleFields.Name, value); 68 set => this.Set((int)WixInternetShortcutSymbolFields.Name, value);
69 } 69 }
70 70
71 public string Target 71 public string Target
72 { 72 {
73 get => this.Fields[(int)WixInternetShortcutTupleFields.Target].AsString(); 73 get => this.Fields[(int)WixInternetShortcutSymbolFields.Target].AsString();
74 set => this.Set((int)WixInternetShortcutTupleFields.Target, value); 74 set => this.Set((int)WixInternetShortcutSymbolFields.Target, value);
75 } 75 }
76 76
77 public int Attributes 77 public int Attributes
78 { 78 {
79 get => this.Fields[(int)WixInternetShortcutTupleFields.Attributes].AsNumber(); 79 get => this.Fields[(int)WixInternetShortcutSymbolFields.Attributes].AsNumber();
80 set => this.Set((int)WixInternetShortcutTupleFields.Attributes, value); 80 set => this.Set((int)WixInternetShortcutSymbolFields.Attributes, value);
81 } 81 }
82 82
83 public string IconFile 83 public string IconFile
84 { 84 {
85 get => this.Fields[(int)WixInternetShortcutTupleFields.IconFile].AsString(); 85 get => this.Fields[(int)WixInternetShortcutSymbolFields.IconFile].AsString();
86 set => this.Set((int)WixInternetShortcutTupleFields.IconFile, value); 86 set => this.Set((int)WixInternetShortcutSymbolFields.IconFile, value);
87 } 87 }
88 88
89 public int? IconIndex 89 public int? IconIndex
90 { 90 {
91 get => this.Fields[(int)WixInternetShortcutTupleFields.IconIndex].AsNullableNumber(); 91 get => this.Fields[(int)WixInternetShortcutSymbolFields.IconIndex].AsNullableNumber();
92 set => this.Set((int)WixInternetShortcutTupleFields.IconIndex, value); 92 set => this.Set((int)WixInternetShortcutSymbolFields.IconIndex, value);
93 } 93 }
94 } 94 }
95} \ No newline at end of file 95} \ No newline at end of file