aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/MsiEmbeddedUITuple.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/WixToolset.Data/Tuples/MsiEmbeddedUITuple.cs52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/WixToolset.Data/Tuples/MsiEmbeddedUITuple.cs b/src/WixToolset.Data/Tuples/MsiEmbeddedUITuple.cs
index baedf56b..87c9481a 100644
--- a/src/WixToolset.Data/Tuples/MsiEmbeddedUITuple.cs
+++ b/src/WixToolset.Data/Tuples/MsiEmbeddedUITuple.cs
@@ -2,27 +2,27 @@
2 2
3namespace WixToolset.Data 3namespace WixToolset.Data
4{ 4{
5 using WixToolset.Data.Tuples; 5 using WixToolset.Data.Symbols;
6 6
7 public static partial class TupleDefinitions 7 public static partial class SymbolDefinitions
8 { 8 {
9 public static readonly IntermediateTupleDefinition MsiEmbeddedUI = new IntermediateTupleDefinition( 9 public static readonly IntermediateSymbolDefinition MsiEmbeddedUI = new IntermediateSymbolDefinition(
10 TupleDefinitionType.MsiEmbeddedUI, 10 SymbolDefinitionType.MsiEmbeddedUI,
11 new[] 11 new[]
12 { 12 {
13 new IntermediateFieldDefinition(nameof(MsiEmbeddedUITupleFields.FileName), IntermediateFieldType.String), 13 new IntermediateFieldDefinition(nameof(MsiEmbeddedUISymbolFields.FileName), IntermediateFieldType.String),
14 new IntermediateFieldDefinition(nameof(MsiEmbeddedUITupleFields.EntryPoint), IntermediateFieldType.Bool), 14 new IntermediateFieldDefinition(nameof(MsiEmbeddedUISymbolFields.EntryPoint), IntermediateFieldType.Bool),
15 new IntermediateFieldDefinition(nameof(MsiEmbeddedUITupleFields.SupportsBasicUI), IntermediateFieldType.Bool), 15 new IntermediateFieldDefinition(nameof(MsiEmbeddedUISymbolFields.SupportsBasicUI), IntermediateFieldType.Bool),
16 new IntermediateFieldDefinition(nameof(MsiEmbeddedUITupleFields.MessageFilter), IntermediateFieldType.Number), 16 new IntermediateFieldDefinition(nameof(MsiEmbeddedUISymbolFields.MessageFilter), IntermediateFieldType.Number),
17 new IntermediateFieldDefinition(nameof(MsiEmbeddedUITupleFields.Source), IntermediateFieldType.Path), 17 new IntermediateFieldDefinition(nameof(MsiEmbeddedUISymbolFields.Source), IntermediateFieldType.Path),
18 }, 18 },
19 typeof(MsiEmbeddedUITuple)); 19 typeof(MsiEmbeddedUISymbol));
20 } 20 }
21} 21}
22 22
23namespace WixToolset.Data.Tuples 23namespace WixToolset.Data.Symbols
24{ 24{
25 public enum MsiEmbeddedUITupleFields 25 public enum MsiEmbeddedUISymbolFields
26 { 26 {
27 FileName, 27 FileName,
28 EntryPoint, 28 EntryPoint,
@@ -31,46 +31,46 @@ namespace WixToolset.Data.Tuples
31 Source, 31 Source,
32 } 32 }
33 33
34 public class MsiEmbeddedUITuple : IntermediateTuple 34 public class MsiEmbeddedUISymbol : IntermediateSymbol
35 { 35 {
36 public MsiEmbeddedUITuple() : base(TupleDefinitions.MsiEmbeddedUI, null, null) 36 public MsiEmbeddedUISymbol() : base(SymbolDefinitions.MsiEmbeddedUI, null, null)
37 { 37 {
38 } 38 }
39 39
40 public MsiEmbeddedUITuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiEmbeddedUI, sourceLineNumber, id) 40 public MsiEmbeddedUISymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiEmbeddedUI, sourceLineNumber, id)
41 { 41 {
42 } 42 }
43 43
44 public IntermediateField this[MsiEmbeddedUITupleFields index] => this.Fields[(int)index]; 44 public IntermediateField this[MsiEmbeddedUISymbolFields index] => this.Fields[(int)index];
45 45
46 public string FileName 46 public string FileName
47 { 47 {
48 get => (string)this.Fields[(int)MsiEmbeddedUITupleFields.FileName]; 48 get => (string)this.Fields[(int)MsiEmbeddedUISymbolFields.FileName];
49 set => this.Set((int)MsiEmbeddedUITupleFields.FileName, value); 49 set => this.Set((int)MsiEmbeddedUISymbolFields.FileName, value);
50 } 50 }
51 51
52 public bool EntryPoint 52 public bool EntryPoint
53 { 53 {
54 get => this.Fields[(int)MsiEmbeddedUITupleFields.EntryPoint].AsBool(); 54 get => this.Fields[(int)MsiEmbeddedUISymbolFields.EntryPoint].AsBool();
55 set => this.Set((int)MsiEmbeddedUITupleFields.EntryPoint, value); 55 set => this.Set((int)MsiEmbeddedUISymbolFields.EntryPoint, value);
56 } 56 }
57 57
58 public bool SupportsBasicUI 58 public bool SupportsBasicUI
59 { 59 {
60 get => this.Fields[(int)MsiEmbeddedUITupleFields.SupportsBasicUI].AsBool(); 60 get => this.Fields[(int)MsiEmbeddedUISymbolFields.SupportsBasicUI].AsBool();
61 set => this.Set((int)MsiEmbeddedUITupleFields.SupportsBasicUI, value); 61 set => this.Set((int)MsiEmbeddedUISymbolFields.SupportsBasicUI, value);
62 } 62 }
63 63
64 public int? MessageFilter 64 public int? MessageFilter
65 { 65 {
66 get => (int?)this.Fields[(int)MsiEmbeddedUITupleFields.MessageFilter]; 66 get => (int?)this.Fields[(int)MsiEmbeddedUISymbolFields.MessageFilter];
67 set => this.Set((int)MsiEmbeddedUITupleFields.MessageFilter, value); 67 set => this.Set((int)MsiEmbeddedUISymbolFields.MessageFilter, value);
68 } 68 }
69 69
70 public string Source 70 public string Source
71 { 71 {
72 get => (string)this.Fields[(int)MsiEmbeddedUITupleFields.Source]; 72 get => (string)this.Fields[(int)MsiEmbeddedUISymbolFields.Source];
73 set => this.Set((int)MsiEmbeddedUITupleFields.Source, value); 73 set => this.Set((int)MsiEmbeddedUISymbolFields.Source, value);
74 } 74 }
75 } 75 }
76} 76}