aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/MsiDriverPackagesTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples/MsiDriverPackagesTuple.cs')
-rw-r--r--src/wixext/Tuples/MsiDriverPackagesTuple.cs40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/wixext/Tuples/MsiDriverPackagesTuple.cs b/src/wixext/Tuples/MsiDriverPackagesTuple.cs
index 9c57e47c..2fd91bc8 100644
--- a/src/wixext/Tuples/MsiDriverPackagesTuple.cs
+++ b/src/wixext/Tuples/MsiDriverPackagesTuple.cs
@@ -3,61 +3,61 @@
3namespace WixToolset.DifxApp 3namespace WixToolset.DifxApp
4{ 4{
5 using WixToolset.Data; 5 using WixToolset.Data;
6 using WixToolset.DifxApp.Tuples; 6 using WixToolset.DifxApp.Symbols;
7 7
8 public static partial class DifxAppTupleDefinitions 8 public static partial class DifxAppSymbolDefinitions
9 { 9 {
10 public static readonly IntermediateTupleDefinition MsiDriverPackages = new IntermediateTupleDefinition( 10 public static readonly IntermediateSymbolDefinition MsiDriverPackages = new IntermediateSymbolDefinition(
11 DifxAppTupleDefinitionType.MsiDriverPackages.ToString(), 11 DifxAppSymbolDefinitionType.MsiDriverPackages.ToString(),
12 new[] 12 new[]
13 { 13 {
14 new IntermediateFieldDefinition(nameof(MsiDriverPackagesTupleFields.ComponentRef), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(MsiDriverPackagesSymbolFields.ComponentRef), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(MsiDriverPackagesTupleFields.Flags), IntermediateFieldType.Number), 15 new IntermediateFieldDefinition(nameof(MsiDriverPackagesSymbolFields.Flags), IntermediateFieldType.Number),
16 new IntermediateFieldDefinition(nameof(MsiDriverPackagesTupleFields.Sequence), IntermediateFieldType.Number), 16 new IntermediateFieldDefinition(nameof(MsiDriverPackagesSymbolFields.Sequence), IntermediateFieldType.Number),
17 }, 17 },
18 typeof(MsiDriverPackagesTuple)); 18 typeof(MsiDriverPackagesSymbol));
19 } 19 }
20} 20}
21 21
22namespace WixToolset.DifxApp.Tuples 22namespace WixToolset.DifxApp.Symbols
23{ 23{
24 using WixToolset.Data; 24 using WixToolset.Data;
25 25
26 public enum MsiDriverPackagesTupleFields 26 public enum MsiDriverPackagesSymbolFields
27 { 27 {
28 ComponentRef, 28 ComponentRef,
29 Flags, 29 Flags,
30 Sequence, 30 Sequence,
31 } 31 }
32 32
33 public class MsiDriverPackagesTuple : IntermediateTuple 33 public class MsiDriverPackagesSymbol : IntermediateSymbol
34 { 34 {
35 public MsiDriverPackagesTuple() : base(DifxAppTupleDefinitions.MsiDriverPackages, null, null) 35 public MsiDriverPackagesSymbol() : base(DifxAppSymbolDefinitions.MsiDriverPackages, null, null)
36 { 36 {
37 } 37 }
38 38
39 public MsiDriverPackagesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(DifxAppTupleDefinitions.MsiDriverPackages, sourceLineNumber, id) 39 public MsiDriverPackagesSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(DifxAppSymbolDefinitions.MsiDriverPackages, sourceLineNumber, id)
40 { 40 {
41 } 41 }
42 42
43 public IntermediateField this[MsiDriverPackagesTupleFields index] => this.Fields[(int)index]; 43 public IntermediateField this[MsiDriverPackagesSymbolFields index] => this.Fields[(int)index];
44 44
45 public string ComponentRef 45 public string ComponentRef
46 { 46 {
47 get => this.Fields[(int)MsiDriverPackagesTupleFields.ComponentRef].AsString(); 47 get => this.Fields[(int)MsiDriverPackagesSymbolFields.ComponentRef].AsString();
48 set => this.Set((int)MsiDriverPackagesTupleFields.ComponentRef, value); 48 set => this.Set((int)MsiDriverPackagesSymbolFields.ComponentRef, value);
49 } 49 }
50 50
51 public int Flags 51 public int Flags
52 { 52 {
53 get => this.Fields[(int)MsiDriverPackagesTupleFields.Flags].AsNumber(); 53 get => this.Fields[(int)MsiDriverPackagesSymbolFields.Flags].AsNumber();
54 set => this.Set((int)MsiDriverPackagesTupleFields.Flags, value); 54 set => this.Set((int)MsiDriverPackagesSymbolFields.Flags, value);
55 } 55 }
56 56
57 public int? Sequence 57 public int? Sequence
58 { 58 {
59 get => this.Fields[(int)MsiDriverPackagesTupleFields.Sequence].AsNullableNumber(); 59 get => this.Fields[(int)MsiDriverPackagesSymbolFields.Sequence].AsNullableNumber();
60 set => this.Set((int)MsiDriverPackagesTupleFields.Sequence, value); 60 set => this.Set((int)MsiDriverPackagesSymbolFields.Sequence, value);
61 } 61 }
62 } 62 }
63} \ No newline at end of file 63} \ No newline at end of file