diff options
| author | Rob Mensching <rob@firegiant.com> | 2020-06-24 14:05:08 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2020-06-25 12:48:19 -0700 |
| commit | 9787570331b511bab73ac8f4f38a3b8cfa053ca5 (patch) | |
| tree | 508155e2cf4f6bafeef2be1059da547291025352 /src/WixToolset.Data/Tuples | |
| parent | 2bcc21d5c2d27e578f59f905f6acd0979b78aa9d (diff) | |
| download | wix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.tar.gz wix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.tar.bz2 wix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.zip | |
The Great Tuple to Symbol Rename (tm)
Diffstat (limited to 'src/WixToolset.Data/Tuples')
181 files changed, 4905 insertions, 4905 deletions
diff --git a/src/WixToolset.Data/Tuples/ActionTextTuple.cs b/src/WixToolset.Data/Tuples/ActionTextTuple.cs index e816a5e1..80662060 100644 --- a/src/WixToolset.Data/Tuples/ActionTextTuple.cs +++ b/src/WixToolset.Data/Tuples/ActionTextTuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ActionText = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ActionText = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ActionText, | 10 | SymbolDefinitionType.ActionText, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ActionTextTupleFields.Action), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ActionTextSymbolFields.Action), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ActionTextTupleFields.Description), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ActionTextSymbolFields.Description), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ActionTextTupleFields.Template), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ActionTextSymbolFields.Template), IntermediateFieldType.String), |
| 16 | }, | 16 | }, |
| 17 | typeof(ActionTextTuple)); | 17 | typeof(ActionTextSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum ActionTextTupleFields | 23 | public enum ActionTextSymbolFields |
| 24 | { | 24 | { |
| 25 | Action, | 25 | Action, |
| 26 | Description, | 26 | Description, |
| 27 | Template, | 27 | Template, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class ActionTextTuple : IntermediateTuple | 30 | public class ActionTextSymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public ActionTextTuple() : base(TupleDefinitions.ActionText, null, null) | 32 | public ActionTextSymbol() : base(SymbolDefinitions.ActionText, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public ActionTextTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ActionText, sourceLineNumber, id) | 36 | public ActionTextSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ActionText, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[ActionTextTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[ActionTextSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string Action | 42 | public string Action |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)ActionTextTupleFields.Action]; | 44 | get => (string)this.Fields[(int)ActionTextSymbolFields.Action]; |
| 45 | set => this.Set((int)ActionTextTupleFields.Action, value); | 45 | set => this.Set((int)ActionTextSymbolFields.Action, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public string Description | 48 | public string Description |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)ActionTextTupleFields.Description]; | 50 | get => (string)this.Fields[(int)ActionTextSymbolFields.Description]; |
| 51 | set => this.Set((int)ActionTextTupleFields.Description, value); | 51 | set => this.Set((int)ActionTextSymbolFields.Description, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string Template | 54 | public string Template |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)ActionTextTupleFields.Template]; | 56 | get => (string)this.Fields[(int)ActionTextSymbolFields.Template]; |
| 57 | set => this.Set((int)ActionTextTupleFields.Template, value); | 57 | set => this.Set((int)ActionTextSymbolFields.Template, value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/AppIdTuple.cs b/src/WixToolset.Data/Tuples/AppIdTuple.cs index 22cec56e..3eafa26f 100644 --- a/src/WixToolset.Data/Tuples/AppIdTuple.cs +++ b/src/WixToolset.Data/Tuples/AppIdTuple.cs | |||
| @@ -2,29 +2,29 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 AppId = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition AppId = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.AppId, | 10 | SymbolDefinitionType.AppId, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(AppIdTupleFields.AppId), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(AppIdSymbolFields.AppId), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(AppIdTupleFields.RemoteServerName), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(AppIdSymbolFields.RemoteServerName), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(AppIdTupleFields.LocalService), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(AppIdSymbolFields.LocalService), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(AppIdTupleFields.ServiceParameters), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(AppIdSymbolFields.ServiceParameters), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(AppIdTupleFields.DllSurrogate), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(AppIdSymbolFields.DllSurrogate), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(AppIdTupleFields.ActivateAtStorage), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(AppIdSymbolFields.ActivateAtStorage), IntermediateFieldType.Number), |
| 19 | new IntermediateFieldDefinition(nameof(AppIdTupleFields.RunAsInteractiveUser), IntermediateFieldType.Number), | 19 | new IntermediateFieldDefinition(nameof(AppIdSymbolFields.RunAsInteractiveUser), IntermediateFieldType.Number), |
| 20 | }, | 20 | }, |
| 21 | typeof(AppIdTuple)); | 21 | typeof(AppIdSymbol)); |
| 22 | } | 22 | } |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | namespace WixToolset.Data.Tuples | 25 | namespace WixToolset.Data.Symbols |
| 26 | { | 26 | { |
| 27 | public enum AppIdTupleFields | 27 | public enum AppIdSymbolFields |
| 28 | { | 28 | { |
| 29 | AppId, | 29 | AppId, |
| 30 | RemoteServerName, | 30 | RemoteServerName, |
| @@ -35,58 +35,58 @@ namespace WixToolset.Data.Tuples | |||
| 35 | RunAsInteractiveUser, | 35 | RunAsInteractiveUser, |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public class AppIdTuple : IntermediateTuple | 38 | public class AppIdSymbol : IntermediateSymbol |
| 39 | { | 39 | { |
| 40 | public AppIdTuple() : base(TupleDefinitions.AppId, null, null) | 40 | public AppIdSymbol() : base(SymbolDefinitions.AppId, null, null) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public AppIdTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.AppId, sourceLineNumber, id) | 44 | public AppIdSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.AppId, sourceLineNumber, id) |
| 45 | { | 45 | { |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public IntermediateField this[AppIdTupleFields index] => this.Fields[(int)index]; | 48 | public IntermediateField this[AppIdSymbolFields index] => this.Fields[(int)index]; |
| 49 | 49 | ||
| 50 | public string AppId | 50 | public string AppId |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)AppIdTupleFields.AppId]; | 52 | get => (string)this.Fields[(int)AppIdSymbolFields.AppId]; |
| 53 | set => this.Set((int)AppIdTupleFields.AppId, value); | 53 | set => this.Set((int)AppIdSymbolFields.AppId, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string RemoteServerName | 56 | public string RemoteServerName |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)AppIdTupleFields.RemoteServerName]; | 58 | get => (string)this.Fields[(int)AppIdSymbolFields.RemoteServerName]; |
| 59 | set => this.Set((int)AppIdTupleFields.RemoteServerName, value); | 59 | set => this.Set((int)AppIdSymbolFields.RemoteServerName, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string LocalService | 62 | public string LocalService |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)AppIdTupleFields.LocalService]; | 64 | get => (string)this.Fields[(int)AppIdSymbolFields.LocalService]; |
| 65 | set => this.Set((int)AppIdTupleFields.LocalService, value); | 65 | set => this.Set((int)AppIdSymbolFields.LocalService, value); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public string ServiceParameters | 68 | public string ServiceParameters |
| 69 | { | 69 | { |
| 70 | get => (string)this.Fields[(int)AppIdTupleFields.ServiceParameters]; | 70 | get => (string)this.Fields[(int)AppIdSymbolFields.ServiceParameters]; |
| 71 | set => this.Set((int)AppIdTupleFields.ServiceParameters, value); | 71 | set => this.Set((int)AppIdSymbolFields.ServiceParameters, value); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public string DllSurrogate | 74 | public string DllSurrogate |
| 75 | { | 75 | { |
| 76 | get => (string)this.Fields[(int)AppIdTupleFields.DllSurrogate]; | 76 | get => (string)this.Fields[(int)AppIdSymbolFields.DllSurrogate]; |
| 77 | set => this.Set((int)AppIdTupleFields.DllSurrogate, value); | 77 | set => this.Set((int)AppIdSymbolFields.DllSurrogate, value); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public bool? ActivateAtStorage | 80 | public bool? ActivateAtStorage |
| 81 | { | 81 | { |
| 82 | get => (bool?)this.Fields[(int)AppIdTupleFields.ActivateAtStorage]; | 82 | get => (bool?)this.Fields[(int)AppIdSymbolFields.ActivateAtStorage]; |
| 83 | set => this.Set((int)AppIdTupleFields.ActivateAtStorage, value); | 83 | set => this.Set((int)AppIdSymbolFields.ActivateAtStorage, value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public bool? RunAsInteractiveUser | 86 | public bool? RunAsInteractiveUser |
| 87 | { | 87 | { |
| 88 | get => (bool?)this.Fields[(int)AppIdTupleFields.RunAsInteractiveUser]; | 88 | get => (bool?)this.Fields[(int)AppIdSymbolFields.RunAsInteractiveUser]; |
| 89 | set => this.Set((int)AppIdTupleFields.RunAsInteractiveUser, value); | 89 | set => this.Set((int)AppIdSymbolFields.RunAsInteractiveUser, value); |
| 90 | } | 90 | } |
| 91 | } | 91 | } |
| 92 | } \ No newline at end of file | 92 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/AppSearchTuple.cs b/src/WixToolset.Data/Tuples/AppSearchTuple.cs index 098b4946..2bd3d6ba 100644 --- a/src/WixToolset.Data/Tuples/AppSearchTuple.cs +++ b/src/WixToolset.Data/Tuples/AppSearchTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 AppSearch = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition AppSearch = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.AppSearch, | 10 | SymbolDefinitionType.AppSearch, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(AppSearchTupleFields.PropertyRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(AppSearchSymbolFields.PropertyRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(AppSearchTupleFields.SignatureRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(AppSearchSymbolFields.SignatureRef), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(AppSearchTuple)); | 16 | typeof(AppSearchSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum AppSearchTupleFields | 22 | public enum AppSearchSymbolFields |
| 23 | { | 23 | { |
| 24 | PropertyRef, | 24 | PropertyRef, |
| 25 | SignatureRef, | 25 | SignatureRef, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class AppSearchTuple : IntermediateTuple | 28 | public class AppSearchSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public AppSearchTuple() : base(TupleDefinitions.AppSearch, null, null) | 30 | public AppSearchSymbol() : base(SymbolDefinitions.AppSearch, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public AppSearchTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.AppSearch, sourceLineNumber, id) | 34 | public AppSearchSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.AppSearch, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[AppSearchTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[AppSearchSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string PropertyRef | 40 | public string PropertyRef |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)AppSearchTupleFields.PropertyRef]; | 42 | get => (string)this.Fields[(int)AppSearchSymbolFields.PropertyRef]; |
| 43 | set => this.Set((int)AppSearchTupleFields.PropertyRef, value); | 43 | set => this.Set((int)AppSearchSymbolFields.PropertyRef, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string SignatureRef | 46 | public string SignatureRef |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)AppSearchTupleFields.SignatureRef]; | 48 | get => (string)this.Fields[(int)AppSearchSymbolFields.SignatureRef]; |
| 49 | set => this.Set((int)AppSearchTupleFields.SignatureRef, value); | 49 | set => this.Set((int)AppSearchSymbolFields.SignatureRef, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/AssemblyTuple.cs b/src/WixToolset.Data/Tuples/AssemblyTuple.cs index d1e5e1ce..192ca4eb 100644 --- a/src/WixToolset.Data/Tuples/AssemblyTuple.cs +++ b/src/WixToolset.Data/Tuples/AssemblyTuple.cs | |||
| @@ -2,28 +2,28 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Assembly = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Assembly = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Assembly, | 10 | SymbolDefinitionType.Assembly, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(AssemblyTupleFields.ComponentRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(AssemblySymbolFields.ComponentRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(AssemblyTupleFields.FeatureRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(AssemblySymbolFields.FeatureRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(AssemblyTupleFields.ManifestFileRef), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(AssemblySymbolFields.ManifestFileRef), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(AssemblyTupleFields.ApplicationFileRef), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(AssemblySymbolFields.ApplicationFileRef), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(AssemblyTupleFields.Type), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(AssemblySymbolFields.Type), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(AssemblyTupleFields.ProcessorArchitecture), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(AssemblySymbolFields.ProcessorArchitecture), IntermediateFieldType.String), |
| 19 | }, | 19 | }, |
| 20 | typeof(AssemblyTuple)); | 20 | typeof(AssemblySymbol)); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
| 25 | { | 25 | { |
| 26 | public enum AssemblyTupleFields | 26 | public enum AssemblySymbolFields |
| 27 | { | 27 | { |
| 28 | ComponentRef, | 28 | ComponentRef, |
| 29 | FeatureRef, | 29 | FeatureRef, |
| @@ -45,52 +45,52 @@ namespace WixToolset.Data.Tuples | |||
| 45 | Win32Assembly, | 45 | Win32Assembly, |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public class AssemblyTuple : IntermediateTuple | 48 | public class AssemblySymbol : IntermediateSymbol |
| 49 | { | 49 | { |
| 50 | public AssemblyTuple() : base(TupleDefinitions.Assembly, null, null) | 50 | public AssemblySymbol() : base(SymbolDefinitions.Assembly, null, null) |
| 51 | { | 51 | { |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public AssemblyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Assembly, sourceLineNumber, id) | 54 | public AssemblySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Assembly, sourceLineNumber, id) |
| 55 | { | 55 | { |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public IntermediateField this[AssemblyTupleFields index] => this.Fields[(int)index]; | 58 | public IntermediateField this[AssemblySymbolFields index] => this.Fields[(int)index]; |
| 59 | 59 | ||
| 60 | public string ComponentRef | 60 | public string ComponentRef |
| 61 | { | 61 | { |
| 62 | get => (string)this.Fields[(int)AssemblyTupleFields.ComponentRef]; | 62 | get => (string)this.Fields[(int)AssemblySymbolFields.ComponentRef]; |
| 63 | set => this.Set((int)AssemblyTupleFields.ComponentRef, value); | 63 | set => this.Set((int)AssemblySymbolFields.ComponentRef, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public string FeatureRef | 66 | public string FeatureRef |
| 67 | { | 67 | { |
| 68 | get => (string)this.Fields[(int)AssemblyTupleFields.FeatureRef]; | 68 | get => (string)this.Fields[(int)AssemblySymbolFields.FeatureRef]; |
| 69 | set => this.Set((int)AssemblyTupleFields.FeatureRef, value); | 69 | set => this.Set((int)AssemblySymbolFields.FeatureRef, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public string ManifestFileRef | 72 | public string ManifestFileRef |
| 73 | { | 73 | { |
| 74 | get => (string)this.Fields[(int)AssemblyTupleFields.ManifestFileRef]; | 74 | get => (string)this.Fields[(int)AssemblySymbolFields.ManifestFileRef]; |
| 75 | set => this.Set((int)AssemblyTupleFields.ManifestFileRef, value); | 75 | set => this.Set((int)AssemblySymbolFields.ManifestFileRef, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public string ApplicationFileRef | 78 | public string ApplicationFileRef |
| 79 | { | 79 | { |
| 80 | get => (string)this.Fields[(int)AssemblyTupleFields.ApplicationFileRef]; | 80 | get => (string)this.Fields[(int)AssemblySymbolFields.ApplicationFileRef]; |
| 81 | set => this.Set((int)AssemblyTupleFields.ApplicationFileRef, value); | 81 | set => this.Set((int)AssemblySymbolFields.ApplicationFileRef, value); |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | public AssemblyType Type | 84 | public AssemblyType Type |
| 85 | { | 85 | { |
| 86 | get => (AssemblyType)this.Fields[(int)AssemblyTupleFields.Type].AsNumber(); | 86 | get => (AssemblyType)this.Fields[(int)AssemblySymbolFields.Type].AsNumber(); |
| 87 | set => this.Set((int)AssemblyTupleFields.Type, (int)value); | 87 | set => this.Set((int)AssemblySymbolFields.Type, (int)value); |
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | public string ProcessorArchitecture | 90 | public string ProcessorArchitecture |
| 91 | { | 91 | { |
| 92 | get => (string)this.Fields[(int)AssemblyTupleFields.ProcessorArchitecture]; | 92 | get => (string)this.Fields[(int)AssemblySymbolFields.ProcessorArchitecture]; |
| 93 | set => this.Set((int)AssemblyTupleFields.ProcessorArchitecture, value); | 93 | set => this.Set((int)AssemblySymbolFields.ProcessorArchitecture, value); |
| 94 | } | 94 | } |
| 95 | } | 95 | } |
| 96 | } | 96 | } |
diff --git a/src/WixToolset.Data/Tuples/BBControlTuple.cs b/src/WixToolset.Data/Tuples/BBControlTuple.cs index cef525bf..277d1d85 100644 --- a/src/WixToolset.Data/Tuples/BBControlTuple.cs +++ b/src/WixToolset.Data/Tuples/BBControlTuple.cs | |||
| @@ -2,40 +2,40 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 BBControl = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition BBControl = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.BBControl, | 10 | SymbolDefinitionType.BBControl, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.BillboardRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.BillboardRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.BBControl), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.BBControl), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Type), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Type), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.X), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.X), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Y), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Y), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Width), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Width), IntermediateFieldType.Number), |
| 19 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Height), IntermediateFieldType.Number), | 19 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Height), IntermediateFieldType.Number), |
| 20 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Attributes), IntermediateFieldType.Number), | 20 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Attributes), IntermediateFieldType.Number), |
| 21 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Enabled), IntermediateFieldType.Bool), | 21 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Enabled), IntermediateFieldType.Bool), |
| 22 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Indirect), IntermediateFieldType.Bool), | 22 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Indirect), IntermediateFieldType.Bool), |
| 23 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Integer), IntermediateFieldType.Bool), | 23 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Integer), IntermediateFieldType.Bool), |
| 24 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.LeftScroll), IntermediateFieldType.Bool), | 24 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.LeftScroll), IntermediateFieldType.Bool), |
| 25 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.RightAligned), IntermediateFieldType.Bool), | 25 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.RightAligned), IntermediateFieldType.Bool), |
| 26 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.RightToLeft), IntermediateFieldType.Bool), | 26 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.RightToLeft), IntermediateFieldType.Bool), |
| 27 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Sunken), IntermediateFieldType.Bool), | 27 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Sunken), IntermediateFieldType.Bool), |
| 28 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Visible), IntermediateFieldType.Bool), | 28 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Visible), IntermediateFieldType.Bool), |
| 29 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Text), IntermediateFieldType.String), | 29 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.Text), IntermediateFieldType.String), |
| 30 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.SourceFile), IntermediateFieldType.Path), | 30 | new IntermediateFieldDefinition(nameof(BBControlSymbolFields.SourceFile), IntermediateFieldType.Path), |
| 31 | }, | 31 | }, |
| 32 | typeof(BBControlTuple)); | 32 | typeof(BBControlSymbol)); |
| 33 | } | 33 | } |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | namespace WixToolset.Data.Tuples | 36 | namespace WixToolset.Data.Symbols |
| 37 | { | 37 | { |
| 38 | public enum BBControlTupleFields | 38 | public enum BBControlSymbolFields |
| 39 | { | 39 | { |
| 40 | BillboardRef, | 40 | BillboardRef, |
| 41 | BBControl, | 41 | BBControl, |
| @@ -57,124 +57,124 @@ namespace WixToolset.Data.Tuples | |||
| 57 | SourceFile | 57 | SourceFile |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public class BBControlTuple : IntermediateTuple | 60 | public class BBControlSymbol : IntermediateSymbol |
| 61 | { | 61 | { |
| 62 | public BBControlTuple() : base(TupleDefinitions.BBControl, null, null) | 62 | public BBControlSymbol() : base(SymbolDefinitions.BBControl, null, null) |
| 63 | { | 63 | { |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public BBControlTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.BBControl, sourceLineNumber, id) | 66 | public BBControlSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.BBControl, sourceLineNumber, id) |
| 67 | { | 67 | { |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public IntermediateField this[BBControlTupleFields index] => this.Fields[(int)index]; | 70 | public IntermediateField this[BBControlSymbolFields index] => this.Fields[(int)index]; |
| 71 | 71 | ||
| 72 | public string BillboardRef | 72 | public string BillboardRef |
| 73 | { | 73 | { |
| 74 | get => (string)this.Fields[(int)BBControlTupleFields.BillboardRef]; | 74 | get => (string)this.Fields[(int)BBControlSymbolFields.BillboardRef]; |
| 75 | set => this.Set((int)BBControlTupleFields.BillboardRef, value); | 75 | set => this.Set((int)BBControlSymbolFields.BillboardRef, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public string BBControl | 78 | public string BBControl |
| 79 | { | 79 | { |
| 80 | get => (string)this.Fields[(int)BBControlTupleFields.BBControl]; | 80 | get => (string)this.Fields[(int)BBControlSymbolFields.BBControl]; |
| 81 | set => this.Set((int)BBControlTupleFields.BBControl, value); | 81 | set => this.Set((int)BBControlSymbolFields.BBControl, value); |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | public string Type | 84 | public string Type |
| 85 | { | 85 | { |
| 86 | get => (string)this.Fields[(int)BBControlTupleFields.Type]; | 86 | get => (string)this.Fields[(int)BBControlSymbolFields.Type]; |
| 87 | set => this.Set((int)BBControlTupleFields.Type, value); | 87 | set => this.Set((int)BBControlSymbolFields.Type, value); |
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | public int X | 90 | public int X |
| 91 | { | 91 | { |
| 92 | get => (int)this.Fields[(int)BBControlTupleFields.X]; | 92 | get => (int)this.Fields[(int)BBControlSymbolFields.X]; |
| 93 | set => this.Set((int)BBControlTupleFields.X, value); | 93 | set => this.Set((int)BBControlSymbolFields.X, value); |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | public int Y | 96 | public int Y |
| 97 | { | 97 | { |
| 98 | get => (int)this.Fields[(int)BBControlTupleFields.Y]; | 98 | get => (int)this.Fields[(int)BBControlSymbolFields.Y]; |
| 99 | set => this.Set((int)BBControlTupleFields.Y, value); | 99 | set => this.Set((int)BBControlSymbolFields.Y, value); |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | public int Width | 102 | public int Width |
| 103 | { | 103 | { |
| 104 | get => (int)this.Fields[(int)BBControlTupleFields.Width].AsNumber(); | 104 | get => (int)this.Fields[(int)BBControlSymbolFields.Width].AsNumber(); |
| 105 | set => this.Set((int)BBControlTupleFields.Width, value); | 105 | set => this.Set((int)BBControlSymbolFields.Width, value); |
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | public int Height | 108 | public int Height |
| 109 | { | 109 | { |
| 110 | get => (int)this.Fields[(int)BBControlTupleFields.Height]; | 110 | get => (int)this.Fields[(int)BBControlSymbolFields.Height]; |
| 111 | set => this.Set((int)BBControlTupleFields.Height, value); | 111 | set => this.Set((int)BBControlSymbolFields.Height, value); |
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | public int Attributes | 114 | public int Attributes |
| 115 | { | 115 | { |
| 116 | get => this.Fields[(int)BBControlTupleFields.Attributes].AsNumber(); | 116 | get => this.Fields[(int)BBControlSymbolFields.Attributes].AsNumber(); |
| 117 | set => this.Set((int)BBControlTupleFields.Attributes, value); | 117 | set => this.Set((int)BBControlSymbolFields.Attributes, value); |
| 118 | } | 118 | } |
| 119 | 119 | ||
| 120 | public bool Enabled | 120 | public bool Enabled |
| 121 | { | 121 | { |
| 122 | get => this.Fields[(int)BBControlTupleFields.Enabled].AsBool(); | 122 | get => this.Fields[(int)BBControlSymbolFields.Enabled].AsBool(); |
| 123 | set => this.Set((int)BBControlTupleFields.Enabled, value); | 123 | set => this.Set((int)BBControlSymbolFields.Enabled, value); |
| 124 | } | 124 | } |
| 125 | 125 | ||
| 126 | public bool Indirect | 126 | public bool Indirect |
| 127 | { | 127 | { |
| 128 | get => this.Fields[(int)BBControlTupleFields.Indirect].AsBool(); | 128 | get => this.Fields[(int)BBControlSymbolFields.Indirect].AsBool(); |
| 129 | set => this.Set((int)BBControlTupleFields.Indirect, value); | 129 | set => this.Set((int)BBControlSymbolFields.Indirect, value); |
| 130 | } | 130 | } |
| 131 | 131 | ||
| 132 | public bool Integer | 132 | public bool Integer |
| 133 | { | 133 | { |
| 134 | get => this.Fields[(int)BBControlTupleFields.Integer].AsBool(); | 134 | get => this.Fields[(int)BBControlSymbolFields.Integer].AsBool(); |
| 135 | set => this.Set((int)BBControlTupleFields.Integer, value); | 135 | set => this.Set((int)BBControlSymbolFields.Integer, value); |
| 136 | } | 136 | } |
| 137 | 137 | ||
| 138 | public bool LeftScroll | 138 | public bool LeftScroll |
| 139 | { | 139 | { |
| 140 | get => this.Fields[(int)BBControlTupleFields.LeftScroll].AsBool(); | 140 | get => this.Fields[(int)BBControlSymbolFields.LeftScroll].AsBool(); |
| 141 | set => this.Set((int)BBControlTupleFields.LeftScroll, value); | 141 | set => this.Set((int)BBControlSymbolFields.LeftScroll, value); |
| 142 | } | 142 | } |
| 143 | 143 | ||
| 144 | public bool RightAligned | 144 | public bool RightAligned |
| 145 | { | 145 | { |
| 146 | get => this.Fields[(int)BBControlTupleFields.RightAligned].AsBool(); | 146 | get => this.Fields[(int)BBControlSymbolFields.RightAligned].AsBool(); |
| 147 | set => this.Set((int)BBControlTupleFields.RightAligned, value); | 147 | set => this.Set((int)BBControlSymbolFields.RightAligned, value); |
| 148 | } | 148 | } |
| 149 | 149 | ||
| 150 | public bool RightToLeft | 150 | public bool RightToLeft |
| 151 | { | 151 | { |
| 152 | get => this.Fields[(int)BBControlTupleFields.RightToLeft].AsBool(); | 152 | get => this.Fields[(int)BBControlSymbolFields.RightToLeft].AsBool(); |
| 153 | set => this.Set((int)BBControlTupleFields.RightToLeft, value); | 153 | set => this.Set((int)BBControlSymbolFields.RightToLeft, value); |
| 154 | } | 154 | } |
| 155 | 155 | ||
| 156 | public bool Sunken | 156 | public bool Sunken |
| 157 | { | 157 | { |
| 158 | get => this.Fields[(int)BBControlTupleFields.Sunken].AsBool(); | 158 | get => this.Fields[(int)BBControlSymbolFields.Sunken].AsBool(); |
| 159 | set => this.Set((int)BBControlTupleFields.Sunken, value); | 159 | set => this.Set((int)BBControlSymbolFields.Sunken, value); |
| 160 | } | 160 | } |
| 161 | 161 | ||
| 162 | public bool Visible | 162 | public bool Visible |
| 163 | { | 163 | { |
| 164 | get => this.Fields[(int)BBControlTupleFields.Visible].AsBool(); | 164 | get => this.Fields[(int)BBControlSymbolFields.Visible].AsBool(); |
| 165 | set => this.Set((int)BBControlTupleFields.Visible, value); | 165 | set => this.Set((int)BBControlSymbolFields.Visible, value); |
| 166 | } | 166 | } |
| 167 | 167 | ||
| 168 | public string Text | 168 | public string Text |
| 169 | { | 169 | { |
| 170 | get => (string)this.Fields[(int)BBControlTupleFields.Text]; | 170 | get => (string)this.Fields[(int)BBControlSymbolFields.Text]; |
| 171 | set => this.Set((int)BBControlTupleFields.Text, value); | 171 | set => this.Set((int)BBControlSymbolFields.Text, value); |
| 172 | } | 172 | } |
| 173 | 173 | ||
| 174 | public IntermediateFieldPathValue SourceFile | 174 | public IntermediateFieldPathValue SourceFile |
| 175 | { | 175 | { |
| 176 | get => this.Fields[(int)BBControlTupleFields.SourceFile].AsPath(); | 176 | get => this.Fields[(int)BBControlSymbolFields.SourceFile].AsPath(); |
| 177 | set => this.Set((int)BBControlTupleFields.SourceFile, value); | 177 | set => this.Set((int)BBControlSymbolFields.SourceFile, value); |
| 178 | } | 178 | } |
| 179 | } | 179 | } |
| 180 | } \ No newline at end of file | 180 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/BillboardTuple.cs b/src/WixToolset.Data/Tuples/BillboardTuple.cs index c5242d33..77f60bcb 100644 --- a/src/WixToolset.Data/Tuples/BillboardTuple.cs +++ b/src/WixToolset.Data/Tuples/BillboardTuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Billboard = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Billboard = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Billboard, | 10 | SymbolDefinitionType.Billboard, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(BillboardTupleFields.FeatureRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(BillboardSymbolFields.FeatureRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(BillboardTupleFields.Action), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(BillboardSymbolFields.Action), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(BillboardTupleFields.Ordering), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(BillboardSymbolFields.Ordering), IntermediateFieldType.Number), |
| 16 | }, | 16 | }, |
| 17 | typeof(BillboardTuple)); | 17 | typeof(BillboardSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum BillboardTupleFields | 23 | public enum BillboardSymbolFields |
| 24 | { | 24 | { |
| 25 | FeatureRef, | 25 | FeatureRef, |
| 26 | Action, | 26 | Action, |
| 27 | Ordering, | 27 | Ordering, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class BillboardTuple : IntermediateTuple | 30 | public class BillboardSymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public BillboardTuple() : base(TupleDefinitions.Billboard, null, null) | 32 | public BillboardSymbol() : base(SymbolDefinitions.Billboard, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public BillboardTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Billboard, sourceLineNumber, id) | 36 | public BillboardSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Billboard, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[BillboardTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[BillboardSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string FeatureRef | 42 | public string FeatureRef |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)BillboardTupleFields.FeatureRef]; | 44 | get => (string)this.Fields[(int)BillboardSymbolFields.FeatureRef]; |
| 45 | set => this.Set((int)BillboardTupleFields.FeatureRef, value); | 45 | set => this.Set((int)BillboardSymbolFields.FeatureRef, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public string Action | 48 | public string Action |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)BillboardTupleFields.Action]; | 50 | get => (string)this.Fields[(int)BillboardSymbolFields.Action]; |
| 51 | set => this.Set((int)BillboardTupleFields.Action, value); | 51 | set => this.Set((int)BillboardSymbolFields.Action, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public int? Ordering | 54 | public int? Ordering |
| 55 | { | 55 | { |
| 56 | get => (int?)this.Fields[(int)BillboardTupleFields.Ordering]; | 56 | get => (int?)this.Fields[(int)BillboardSymbolFields.Ordering]; |
| 57 | set => this.Set((int)BillboardTupleFields.Ordering, value); | 57 | set => this.Set((int)BillboardSymbolFields.Ordering, value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/BinaryTuple.cs b/src/WixToolset.Data/Tuples/BinaryTuple.cs index 358f5bf6..ec26b01a 100644 --- a/src/WixToolset.Data/Tuples/BinaryTuple.cs +++ b/src/WixToolset.Data/Tuples/BinaryTuple.cs | |||
| @@ -2,43 +2,43 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Binary = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Binary = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Binary, | 10 | SymbolDefinitionType.Binary, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(BinaryTupleFields.Data), IntermediateFieldType.Path), | 13 | new IntermediateFieldDefinition(nameof(BinarySymbolFields.Data), IntermediateFieldType.Path), |
| 14 | }, | 14 | }, |
| 15 | typeof(BinaryTuple)); | 15 | typeof(BinarySymbol)); |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
| 20 | { | 20 | { |
| 21 | public enum BinaryTupleFields | 21 | public enum BinarySymbolFields |
| 22 | { | 22 | { |
| 23 | Data, | 23 | Data, |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | public class BinaryTuple : IntermediateTuple | 26 | public class BinarySymbol : IntermediateSymbol |
| 27 | { | 27 | { |
| 28 | public BinaryTuple() : base(TupleDefinitions.Binary, null, null) | 28 | public BinarySymbol() : base(SymbolDefinitions.Binary, null, null) |
| 29 | { | 29 | { |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public BinaryTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Binary, sourceLineNumber, id) | 32 | public BinarySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Binary, sourceLineNumber, id) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public IntermediateField this[BinaryTupleFields index] => this.Fields[(int)index]; | 36 | public IntermediateField this[BinarySymbolFields index] => this.Fields[(int)index]; |
| 37 | 37 | ||
| 38 | public IntermediateFieldPathValue Data | 38 | public IntermediateFieldPathValue Data |
| 39 | { | 39 | { |
| 40 | get => this.Fields[(int)BinaryTupleFields.Data].AsPath(); | 40 | get => this.Fields[(int)BinarySymbolFields.Data].AsPath(); |
| 41 | set => this.Set((int)BinaryTupleFields.Data, value); | 41 | set => this.Set((int)BinarySymbolFields.Data, value); |
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | } \ No newline at end of file | 44 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/CCPSearchTuple.cs b/src/WixToolset.Data/Tuples/CCPSearchTuple.cs index 63720d64..6f6227fd 100644 --- a/src/WixToolset.Data/Tuples/CCPSearchTuple.cs +++ b/src/WixToolset.Data/Tuples/CCPSearchTuple.cs | |||
| @@ -2,35 +2,35 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 CCPSearch = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition CCPSearch = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.CCPSearch, | 10 | SymbolDefinitionType.CCPSearch, |
| 11 | new IntermediateFieldDefinition[] | 11 | new IntermediateFieldDefinition[] |
| 12 | { | 12 | { |
| 13 | }, | 13 | }, |
| 14 | typeof(CCPSearchTuple)); | 14 | typeof(CCPSearchSymbol)); |
| 15 | } | 15 | } |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | namespace WixToolset.Data.Tuples | 18 | namespace WixToolset.Data.Symbols |
| 19 | { | 19 | { |
| 20 | public enum CCPSearchTupleFields | 20 | public enum CCPSearchSymbolFields |
| 21 | { | 21 | { |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | public class CCPSearchTuple : IntermediateTuple | 24 | public class CCPSearchSymbol : IntermediateSymbol |
| 25 | { | 25 | { |
| 26 | public CCPSearchTuple() : base(TupleDefinitions.CCPSearch, null, null) | 26 | public CCPSearchSymbol() : base(SymbolDefinitions.CCPSearch, null, null) |
| 27 | { | 27 | { |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public CCPSearchTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.CCPSearch, sourceLineNumber, id) | 30 | public CCPSearchSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.CCPSearch, sourceLineNumber, id) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public IntermediateField this[CCPSearchTupleFields index] => this.Fields[(int)index]; | 34 | public IntermediateField this[CCPSearchSymbolFields index] => this.Fields[(int)index]; |
| 35 | } | 35 | } |
| 36 | } \ No newline at end of file | 36 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/CheckBoxTuple.cs b/src/WixToolset.Data/Tuples/CheckBoxTuple.cs index b35ff1f0..cd6355c4 100644 --- a/src/WixToolset.Data/Tuples/CheckBoxTuple.cs +++ b/src/WixToolset.Data/Tuples/CheckBoxTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 CheckBox = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition CheckBox = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.CheckBox, | 10 | SymbolDefinitionType.CheckBox, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(CheckBoxTupleFields.Property), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(CheckBoxSymbolFields.Property), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(CheckBoxTupleFields.Value), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(CheckBoxSymbolFields.Value), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(CheckBoxTuple)); | 16 | typeof(CheckBoxSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum CheckBoxTupleFields | 22 | public enum CheckBoxSymbolFields |
| 23 | { | 23 | { |
| 24 | Property, | 24 | Property, |
| 25 | Value, | 25 | Value, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class CheckBoxTuple : IntermediateTuple | 28 | public class CheckBoxSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public CheckBoxTuple() : base(TupleDefinitions.CheckBox, null, null) | 30 | public CheckBoxSymbol() : base(SymbolDefinitions.CheckBox, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public CheckBoxTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.CheckBox, sourceLineNumber, id) | 34 | public CheckBoxSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.CheckBox, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[CheckBoxTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[CheckBoxSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string Property | 40 | public string Property |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)CheckBoxTupleFields.Property]; | 42 | get => (string)this.Fields[(int)CheckBoxSymbolFields.Property]; |
| 43 | set => this.Set((int)CheckBoxTupleFields.Property, value); | 43 | set => this.Set((int)CheckBoxSymbolFields.Property, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string Value | 46 | public string Value |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)CheckBoxTupleFields.Value]; | 48 | get => (string)this.Fields[(int)CheckBoxSymbolFields.Value]; |
| 49 | set => this.Set((int)CheckBoxTupleFields.Value, value); | 49 | set => this.Set((int)CheckBoxSymbolFields.Value, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ClassTuple.cs b/src/WixToolset.Data/Tuples/ClassTuple.cs index a5ff89e8..833867b1 100644 --- a/src/WixToolset.Data/Tuples/ClassTuple.cs +++ b/src/WixToolset.Data/Tuples/ClassTuple.cs | |||
| @@ -2,35 +2,35 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Class = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Class = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Class, | 10 | SymbolDefinitionType.Class, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ClassTupleFields.CLSID), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ClassSymbolFields.CLSID), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ClassTupleFields.Context), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ClassSymbolFields.Context), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ClassTupleFields.ComponentRef), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ClassSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ClassTupleFields.DefaultProgIdRef), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ClassSymbolFields.DefaultProgIdRef), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(ClassTupleFields.Description), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(ClassSymbolFields.Description), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(ClassTupleFields.AppIdRef), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(ClassSymbolFields.AppIdRef), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(ClassTupleFields.FileTypeMask), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(ClassSymbolFields.FileTypeMask), IntermediateFieldType.String), |
| 20 | new IntermediateFieldDefinition(nameof(ClassTupleFields.IconRef), IntermediateFieldType.String), | 20 | new IntermediateFieldDefinition(nameof(ClassSymbolFields.IconRef), IntermediateFieldType.String), |
| 21 | new IntermediateFieldDefinition(nameof(ClassTupleFields.IconIndex), IntermediateFieldType.Number), | 21 | new IntermediateFieldDefinition(nameof(ClassSymbolFields.IconIndex), IntermediateFieldType.Number), |
| 22 | new IntermediateFieldDefinition(nameof(ClassTupleFields.DefInprocHandler), IntermediateFieldType.String), | 22 | new IntermediateFieldDefinition(nameof(ClassSymbolFields.DefInprocHandler), IntermediateFieldType.String), |
| 23 | new IntermediateFieldDefinition(nameof(ClassTupleFields.Argument), IntermediateFieldType.String), | 23 | new IntermediateFieldDefinition(nameof(ClassSymbolFields.Argument), IntermediateFieldType.String), |
| 24 | new IntermediateFieldDefinition(nameof(ClassTupleFields.FeatureRef), IntermediateFieldType.String), | 24 | new IntermediateFieldDefinition(nameof(ClassSymbolFields.FeatureRef), IntermediateFieldType.String), |
| 25 | new IntermediateFieldDefinition(nameof(ClassTupleFields.RelativePath), IntermediateFieldType.Bool), | 25 | new IntermediateFieldDefinition(nameof(ClassSymbolFields.RelativePath), IntermediateFieldType.Bool), |
| 26 | }, | 26 | }, |
| 27 | typeof(ClassTuple)); | 27 | typeof(ClassSymbol)); |
| 28 | } | 28 | } |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | namespace WixToolset.Data.Tuples | 31 | namespace WixToolset.Data.Symbols |
| 32 | { | 32 | { |
| 33 | public enum ClassTupleFields | 33 | public enum ClassSymbolFields |
| 34 | { | 34 | { |
| 35 | CLSID, | 35 | CLSID, |
| 36 | Context, | 36 | Context, |
| @@ -47,94 +47,94 @@ namespace WixToolset.Data.Tuples | |||
| 47 | RelativePath, | 47 | RelativePath, |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public class ClassTuple : IntermediateTuple | 50 | public class ClassSymbol : IntermediateSymbol |
| 51 | { | 51 | { |
| 52 | public ClassTuple() : base(TupleDefinitions.Class, null, null) | 52 | public ClassSymbol() : base(SymbolDefinitions.Class, null, null) |
| 53 | { | 53 | { |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public ClassTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Class, sourceLineNumber, id) | 56 | public ClassSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Class, sourceLineNumber, id) |
| 57 | { | 57 | { |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public IntermediateField this[ClassTupleFields index] => this.Fields[(int)index]; | 60 | public IntermediateField this[ClassSymbolFields index] => this.Fields[(int)index]; |
| 61 | 61 | ||
| 62 | public string CLSID | 62 | public string CLSID |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)ClassTupleFields.CLSID]; | 64 | get => (string)this.Fields[(int)ClassSymbolFields.CLSID]; |
| 65 | set => this.Set((int)ClassTupleFields.CLSID, value); | 65 | set => this.Set((int)ClassSymbolFields.CLSID, value); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public string Context | 68 | public string Context |
| 69 | { | 69 | { |
| 70 | get => (string)this.Fields[(int)ClassTupleFields.Context]; | 70 | get => (string)this.Fields[(int)ClassSymbolFields.Context]; |
| 71 | set => this.Set((int)ClassTupleFields.Context, value); | 71 | set => this.Set((int)ClassSymbolFields.Context, value); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public string ComponentRef | 74 | public string ComponentRef |
| 75 | { | 75 | { |
| 76 | get => (string)this.Fields[(int)ClassTupleFields.ComponentRef]; | 76 | get => (string)this.Fields[(int)ClassSymbolFields.ComponentRef]; |
| 77 | set => this.Set((int)ClassTupleFields.ComponentRef, value); | 77 | set => this.Set((int)ClassSymbolFields.ComponentRef, value); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public string DefaultProgIdRef | 80 | public string DefaultProgIdRef |
| 81 | { | 81 | { |
| 82 | get => (string)this.Fields[(int)ClassTupleFields.DefaultProgIdRef]; | 82 | get => (string)this.Fields[(int)ClassSymbolFields.DefaultProgIdRef]; |
| 83 | set => this.Set((int)ClassTupleFields.DefaultProgIdRef, value); | 83 | set => this.Set((int)ClassSymbolFields.DefaultProgIdRef, value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public string Description | 86 | public string Description |
| 87 | { | 87 | { |
| 88 | get => (string)this.Fields[(int)ClassTupleFields.Description]; | 88 | get => (string)this.Fields[(int)ClassSymbolFields.Description]; |
| 89 | set => this.Set((int)ClassTupleFields.Description, value); | 89 | set => this.Set((int)ClassSymbolFields.Description, value); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | public string AppIdRef | 92 | public string AppIdRef |
| 93 | { | 93 | { |
| 94 | get => (string)this.Fields[(int)ClassTupleFields.AppIdRef]; | 94 | get => (string)this.Fields[(int)ClassSymbolFields.AppIdRef]; |
| 95 | set => this.Set((int)ClassTupleFields.AppIdRef, value); | 95 | set => this.Set((int)ClassSymbolFields.AppIdRef, value); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | public string FileTypeMask | 98 | public string FileTypeMask |
| 99 | { | 99 | { |
| 100 | get => (string)this.Fields[(int)ClassTupleFields.FileTypeMask]; | 100 | get => (string)this.Fields[(int)ClassSymbolFields.FileTypeMask]; |
| 101 | set => this.Set((int)ClassTupleFields.FileTypeMask, value); | 101 | set => this.Set((int)ClassSymbolFields.FileTypeMask, value); |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | public string IconRef | 104 | public string IconRef |
| 105 | { | 105 | { |
| 106 | get => (string)this.Fields[(int)ClassTupleFields.IconRef]; | 106 | get => (string)this.Fields[(int)ClassSymbolFields.IconRef]; |
| 107 | set => this.Set((int)ClassTupleFields.IconRef, value); | 107 | set => this.Set((int)ClassSymbolFields.IconRef, value); |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | public int? IconIndex | 110 | public int? IconIndex |
| 111 | { | 111 | { |
| 112 | get => (int?)this.Fields[(int)ClassTupleFields.IconIndex]; | 112 | get => (int?)this.Fields[(int)ClassSymbolFields.IconIndex]; |
| 113 | set => this.Set((int)ClassTupleFields.IconIndex, value); | 113 | set => this.Set((int)ClassSymbolFields.IconIndex, value); |
| 114 | } | 114 | } |
| 115 | 115 | ||
| 116 | public string DefInprocHandler | 116 | public string DefInprocHandler |
| 117 | { | 117 | { |
| 118 | get => (string)this.Fields[(int)ClassTupleFields.DefInprocHandler]; | 118 | get => (string)this.Fields[(int)ClassSymbolFields.DefInprocHandler]; |
| 119 | set => this.Set((int)ClassTupleFields.DefInprocHandler, value); | 119 | set => this.Set((int)ClassSymbolFields.DefInprocHandler, value); |
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | public string Argument | 122 | public string Argument |
| 123 | { | 123 | { |
| 124 | get => (string)this.Fields[(int)ClassTupleFields.Argument]; | 124 | get => (string)this.Fields[(int)ClassSymbolFields.Argument]; |
| 125 | set => this.Set((int)ClassTupleFields.Argument, value); | 125 | set => this.Set((int)ClassSymbolFields.Argument, value); |
| 126 | } | 126 | } |
| 127 | 127 | ||
| 128 | public string FeatureRef | 128 | public string FeatureRef |
| 129 | { | 129 | { |
| 130 | get => (string)this.Fields[(int)ClassTupleFields.FeatureRef]; | 130 | get => (string)this.Fields[(int)ClassSymbolFields.FeatureRef]; |
| 131 | set => this.Set((int)ClassTupleFields.FeatureRef, value); | 131 | set => this.Set((int)ClassSymbolFields.FeatureRef, value); |
| 132 | } | 132 | } |
| 133 | 133 | ||
| 134 | public bool RelativePath | 134 | public bool RelativePath |
| 135 | { | 135 | { |
| 136 | get => this.Fields[(int)ClassTupleFields.RelativePath].AsBool(); | 136 | get => this.Fields[(int)ClassSymbolFields.RelativePath].AsBool(); |
| 137 | set => this.Set((int)ClassTupleFields.RelativePath, value); | 137 | set => this.Set((int)ClassSymbolFields.RelativePath, value); |
| 138 | } | 138 | } |
| 139 | } | 139 | } |
| 140 | } \ No newline at end of file | 140 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ComboBoxTuple.cs b/src/WixToolset.Data/Tuples/ComboBoxTuple.cs index f3629c5f..c7d8d986 100644 --- a/src/WixToolset.Data/Tuples/ComboBoxTuple.cs +++ b/src/WixToolset.Data/Tuples/ComboBoxTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ComboBox = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ComboBox = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ComboBox, | 10 | SymbolDefinitionType.ComboBox, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ComboBoxTupleFields.Property), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ComboBoxSymbolFields.Property), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ComboBoxTupleFields.Order), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(ComboBoxSymbolFields.Order), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(ComboBoxTupleFields.Value), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ComboBoxSymbolFields.Value), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ComboBoxTupleFields.Text), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ComboBoxSymbolFields.Text), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(ComboBoxTuple)); | 18 | typeof(ComboBoxSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum ComboBoxTupleFields | 24 | public enum ComboBoxSymbolFields |
| 25 | { | 25 | { |
| 26 | Property, | 26 | Property, |
| 27 | Order, | 27 | Order, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Text, | 29 | Text, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class ComboBoxTuple : IntermediateTuple | 32 | public class ComboBoxSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public ComboBoxTuple() : base(TupleDefinitions.ComboBox, null, null) | 34 | public ComboBoxSymbol() : base(SymbolDefinitions.ComboBox, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public ComboBoxTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ComboBox, sourceLineNumber, id) | 38 | public ComboBoxSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ComboBox, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[ComboBoxTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[ComboBoxSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string Property | 44 | public string Property |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)ComboBoxTupleFields.Property]; | 46 | get => (string)this.Fields[(int)ComboBoxSymbolFields.Property]; |
| 47 | set => this.Set((int)ComboBoxTupleFields.Property, value); | 47 | set => this.Set((int)ComboBoxSymbolFields.Property, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public int Order | 50 | public int Order |
| 51 | { | 51 | { |
| 52 | get => (int)this.Fields[(int)ComboBoxTupleFields.Order]; | 52 | get => (int)this.Fields[(int)ComboBoxSymbolFields.Order]; |
| 53 | set => this.Set((int)ComboBoxTupleFields.Order, value); | 53 | set => this.Set((int)ComboBoxSymbolFields.Order, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string Value | 56 | public string Value |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)ComboBoxTupleFields.Value]; | 58 | get => (string)this.Fields[(int)ComboBoxSymbolFields.Value]; |
| 59 | set => this.Set((int)ComboBoxTupleFields.Value, value); | 59 | set => this.Set((int)ComboBoxSymbolFields.Value, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Text | 62 | public string Text |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)ComboBoxTupleFields.Text]; | 64 | get => (string)this.Fields[(int)ComboBoxSymbolFields.Text]; |
| 65 | set => this.Set((int)ComboBoxTupleFields.Text, value); | 65 | set => this.Set((int)ComboBoxSymbolFields.Text, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/CompLocatorTuple.cs b/src/WixToolset.Data/Tuples/CompLocatorTuple.cs index 58b32604..9004859c 100644 --- a/src/WixToolset.Data/Tuples/CompLocatorTuple.cs +++ b/src/WixToolset.Data/Tuples/CompLocatorTuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 CompLocator = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition CompLocator = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.CompLocator, | 10 | SymbolDefinitionType.CompLocator, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(CompLocatorTupleFields.SignatureRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(CompLocatorSymbolFields.SignatureRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(CompLocatorTupleFields.ComponentId), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(CompLocatorSymbolFields.ComponentId), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(CompLocatorTupleFields.Type), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(CompLocatorSymbolFields.Type), IntermediateFieldType.Number), |
| 16 | }, | 16 | }, |
| 17 | typeof(CompLocatorTuple)); | 17 | typeof(CompLocatorSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum CompLocatorTupleFields | 23 | public enum CompLocatorSymbolFields |
| 24 | { | 24 | { |
| 25 | SignatureRef, | 25 | SignatureRef, |
| 26 | ComponentId, | 26 | ComponentId, |
| 27 | Type, | 27 | Type, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class CompLocatorTuple : IntermediateTuple | 30 | public class CompLocatorSymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public CompLocatorTuple() : base(TupleDefinitions.CompLocator, null, null) | 32 | public CompLocatorSymbol() : base(SymbolDefinitions.CompLocator, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public CompLocatorTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.CompLocator, sourceLineNumber, id) | 36 | public CompLocatorSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.CompLocator, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[CompLocatorTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[CompLocatorSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string SignatureRef | 42 | public string SignatureRef |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)CompLocatorTupleFields.SignatureRef]; | 44 | get => (string)this.Fields[(int)CompLocatorSymbolFields.SignatureRef]; |
| 45 | set => this.Set((int)CompLocatorTupleFields.SignatureRef, value); | 45 | set => this.Set((int)CompLocatorSymbolFields.SignatureRef, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public string ComponentId | 48 | public string ComponentId |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)CompLocatorTupleFields.ComponentId]; | 50 | get => (string)this.Fields[(int)CompLocatorSymbolFields.ComponentId]; |
| 51 | set => this.Set((int)CompLocatorTupleFields.ComponentId, value); | 51 | set => this.Set((int)CompLocatorSymbolFields.ComponentId, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public LocatorType Type | 54 | public LocatorType Type |
| 55 | { | 55 | { |
| 56 | get => (LocatorType)this.Fields[(int)CompLocatorTupleFields.Type].AsNumber(); | 56 | get => (LocatorType)this.Fields[(int)CompLocatorSymbolFields.Type].AsNumber(); |
| 57 | set => this.Set((int)CompLocatorTupleFields.Type, (int)value); | 57 | set => this.Set((int)CompLocatorSymbolFields.Type, (int)value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ComplusTuple.cs b/src/WixToolset.Data/Tuples/ComplusTuple.cs index 428f3a8e..fa16af86 100644 --- a/src/WixToolset.Data/Tuples/ComplusTuple.cs +++ b/src/WixToolset.Data/Tuples/ComplusTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Complus = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Complus = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Complus, | 10 | SymbolDefinitionType.Complus, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ComplusTupleFields.ComponentRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ComplusSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ComplusTupleFields.ExpType), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(ComplusSymbolFields.ExpType), IntermediateFieldType.Number), |
| 15 | }, | 15 | }, |
| 16 | typeof(ComplusTuple)); | 16 | typeof(ComplusSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum ComplusTupleFields | 22 | public enum ComplusSymbolFields |
| 23 | { | 23 | { |
| 24 | ComponentRef, | 24 | ComponentRef, |
| 25 | ExpType, | 25 | ExpType, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class ComplusTuple : IntermediateTuple | 28 | public class ComplusSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public ComplusTuple() : base(TupleDefinitions.Complus, null, null) | 30 | public ComplusSymbol() : base(SymbolDefinitions.Complus, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public ComplusTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Complus, sourceLineNumber, id) | 34 | public ComplusSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Complus, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[ComplusTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[ComplusSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string ComponentRef | 40 | public string ComponentRef |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)ComplusTupleFields.ComponentRef]; | 42 | get => (string)this.Fields[(int)ComplusSymbolFields.ComponentRef]; |
| 43 | set => this.Set((int)ComplusTupleFields.ComponentRef, value); | 43 | set => this.Set((int)ComplusSymbolFields.ComponentRef, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public int? ExpType | 46 | public int? ExpType |
| 47 | { | 47 | { |
| 48 | get => (int?)this.Fields[(int)ComplusTupleFields.ExpType]; | 48 | get => (int?)this.Fields[(int)ComplusSymbolFields.ExpType]; |
| 49 | set => this.Set((int)ComplusTupleFields.ExpType, value); | 49 | set => this.Set((int)ComplusSymbolFields.ExpType, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ComponentTuple.cs b/src/WixToolset.Data/Tuples/ComponentTuple.cs index 51693b53..13d398b1 100644 --- a/src/WixToolset.Data/Tuples/ComponentTuple.cs +++ b/src/WixToolset.Data/Tuples/ComponentTuple.cs | |||
| @@ -2,36 +2,36 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Component = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Component = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Component, | 10 | SymbolDefinitionType.Component, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.ComponentId), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ComponentSymbolFields.ComponentId), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.DirectoryRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ComponentSymbolFields.DirectoryRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.Location), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(ComponentSymbolFields.Location), IntermediateFieldType.Number), |
| 16 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.DisableRegistryReflection), IntermediateFieldType.Bool), | 16 | new IntermediateFieldDefinition(nameof(ComponentSymbolFields.DisableRegistryReflection), IntermediateFieldType.Bool), |
| 17 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.NeverOverwrite), IntermediateFieldType.Bool), | 17 | new IntermediateFieldDefinition(nameof(ComponentSymbolFields.NeverOverwrite), IntermediateFieldType.Bool), |
| 18 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.Permanent), IntermediateFieldType.Bool), | 18 | new IntermediateFieldDefinition(nameof(ComponentSymbolFields.Permanent), IntermediateFieldType.Bool), |
| 19 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.SharedDllRefCount), IntermediateFieldType.Bool), | 19 | new IntermediateFieldDefinition(nameof(ComponentSymbolFields.SharedDllRefCount), IntermediateFieldType.Bool), |
| 20 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.Shared), IntermediateFieldType.Bool), | 20 | new IntermediateFieldDefinition(nameof(ComponentSymbolFields.Shared), IntermediateFieldType.Bool), |
| 21 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.Transitive), IntermediateFieldType.Bool), | 21 | new IntermediateFieldDefinition(nameof(ComponentSymbolFields.Transitive), IntermediateFieldType.Bool), |
| 22 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.UninstallWhenSuperseded), IntermediateFieldType.Bool), | 22 | new IntermediateFieldDefinition(nameof(ComponentSymbolFields.UninstallWhenSuperseded), IntermediateFieldType.Bool), |
| 23 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.Win64), IntermediateFieldType.Bool), | 23 | new IntermediateFieldDefinition(nameof(ComponentSymbolFields.Win64), IntermediateFieldType.Bool), |
| 24 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.Condition), IntermediateFieldType.String), | 24 | new IntermediateFieldDefinition(nameof(ComponentSymbolFields.Condition), IntermediateFieldType.String), |
| 25 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.KeyPath), IntermediateFieldType.String), | 25 | new IntermediateFieldDefinition(nameof(ComponentSymbolFields.KeyPath), IntermediateFieldType.String), |
| 26 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.KeyPathType), IntermediateFieldType.Number), | 26 | new IntermediateFieldDefinition(nameof(ComponentSymbolFields.KeyPathType), IntermediateFieldType.Number), |
| 27 | }, | 27 | }, |
| 28 | typeof(ComponentTuple)); | 28 | typeof(ComponentSymbol)); |
| 29 | } | 29 | } |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | namespace WixToolset.Data.Tuples | 32 | namespace WixToolset.Data.Symbols |
| 33 | { | 33 | { |
| 34 | public enum ComponentTupleFields | 34 | public enum ComponentSymbolFields |
| 35 | { | 35 | { |
| 36 | ComponentId, | 36 | ComponentId, |
| 37 | DirectoryRef, | 37 | DirectoryRef, |
| @@ -56,100 +56,100 @@ namespace WixToolset.Data.Tuples | |||
| 56 | Either | 56 | Either |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | public class ComponentTuple : IntermediateTuple | 59 | public class ComponentSymbol : IntermediateSymbol |
| 60 | { | 60 | { |
| 61 | public ComponentTuple() : base(TupleDefinitions.Component, null, null) | 61 | public ComponentSymbol() : base(SymbolDefinitions.Component, null, null) |
| 62 | { | 62 | { |
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | public ComponentTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Component, sourceLineNumber, id) | 65 | public ComponentSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Component, sourceLineNumber, id) |
| 66 | { | 66 | { |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | public IntermediateField this[ComponentTupleFields index] => this.Fields[(int)index]; | 69 | public IntermediateField this[ComponentSymbolFields index] => this.Fields[(int)index]; |
| 70 | 70 | ||
| 71 | public string ComponentId | 71 | public string ComponentId |
| 72 | { | 72 | { |
| 73 | get => (string)this.Fields[(int)ComponentTupleFields.ComponentId]; | 73 | get => (string)this.Fields[(int)ComponentSymbolFields.ComponentId]; |
| 74 | set => this.Set((int)ComponentTupleFields.ComponentId, value); | 74 | set => this.Set((int)ComponentSymbolFields.ComponentId, value); |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | public string DirectoryRef | 77 | public string DirectoryRef |
| 78 | { | 78 | { |
| 79 | get => (string)this.Fields[(int)ComponentTupleFields.DirectoryRef]; | 79 | get => (string)this.Fields[(int)ComponentSymbolFields.DirectoryRef]; |
| 80 | set => this.Set((int)ComponentTupleFields.DirectoryRef, value); | 80 | set => this.Set((int)ComponentSymbolFields.DirectoryRef, value); |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | public ComponentLocation Location | 83 | public ComponentLocation Location |
| 84 | { | 84 | { |
| 85 | get => (ComponentLocation)this.Fields[(int)ComponentTupleFields.Location].AsNumber(); | 85 | get => (ComponentLocation)this.Fields[(int)ComponentSymbolFields.Location].AsNumber(); |
| 86 | set => this.Set((int)ComponentTupleFields.Location, (int)value); | 86 | set => this.Set((int)ComponentSymbolFields.Location, (int)value); |
| 87 | } | 87 | } |
| 88 | 88 | ||
| 89 | public bool DisableRegistryReflection | 89 | public bool DisableRegistryReflection |
| 90 | { | 90 | { |
| 91 | get => this.Fields[(int)ComponentTupleFields.DisableRegistryReflection].AsBool(); | 91 | get => this.Fields[(int)ComponentSymbolFields.DisableRegistryReflection].AsBool(); |
| 92 | set => this.Set((int)ComponentTupleFields.DisableRegistryReflection, value); | 92 | set => this.Set((int)ComponentSymbolFields.DisableRegistryReflection, value); |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | public bool NeverOverwrite | 95 | public bool NeverOverwrite |
| 96 | { | 96 | { |
| 97 | get => this.Fields[(int)ComponentTupleFields.NeverOverwrite].AsBool(); | 97 | get => this.Fields[(int)ComponentSymbolFields.NeverOverwrite].AsBool(); |
| 98 | set => this.Set((int)ComponentTupleFields.NeverOverwrite, value); | 98 | set => this.Set((int)ComponentSymbolFields.NeverOverwrite, value); |
| 99 | } | 99 | } |
| 100 | 100 | ||
| 101 | public bool Permanent | 101 | public bool Permanent |
| 102 | { | 102 | { |
| 103 | get => this.Fields[(int)ComponentTupleFields.Permanent].AsBool(); | 103 | get => this.Fields[(int)ComponentSymbolFields.Permanent].AsBool(); |
| 104 | set => this.Set((int)ComponentTupleFields.Permanent, value); | 104 | set => this.Set((int)ComponentSymbolFields.Permanent, value); |
| 105 | } | 105 | } |
| 106 | 106 | ||
| 107 | public bool SharedDllRefCount | 107 | public bool SharedDllRefCount |
| 108 | { | 108 | { |
| 109 | get => this.Fields[(int)ComponentTupleFields.SharedDllRefCount].AsBool(); | 109 | get => this.Fields[(int)ComponentSymbolFields.SharedDllRefCount].AsBool(); |
| 110 | set => this.Set((int)ComponentTupleFields.SharedDllRefCount, value); | 110 | set => this.Set((int)ComponentSymbolFields.SharedDllRefCount, value); |
| 111 | } | 111 | } |
| 112 | 112 | ||
| 113 | public bool Shared | 113 | public bool Shared |
| 114 | { | 114 | { |
| 115 | get => this.Fields[(int)ComponentTupleFields.Shared].AsBool(); | 115 | get => this.Fields[(int)ComponentSymbolFields.Shared].AsBool(); |
| 116 | set => this.Set((int)ComponentTupleFields.Shared, value); | 116 | set => this.Set((int)ComponentSymbolFields.Shared, value); |
| 117 | } | 117 | } |
| 118 | 118 | ||
| 119 | public bool Transitive | 119 | public bool Transitive |
| 120 | { | 120 | { |
| 121 | get => this.Fields[(int)ComponentTupleFields.Transitive].AsBool(); | 121 | get => this.Fields[(int)ComponentSymbolFields.Transitive].AsBool(); |
| 122 | set => this.Set((int)ComponentTupleFields.Transitive, value); | 122 | set => this.Set((int)ComponentSymbolFields.Transitive, value); |
| 123 | } | 123 | } |
| 124 | 124 | ||
| 125 | public bool UninstallWhenSuperseded | 125 | public bool UninstallWhenSuperseded |
| 126 | { | 126 | { |
| 127 | get => this.Fields[(int)ComponentTupleFields.UninstallWhenSuperseded].AsBool(); | 127 | get => this.Fields[(int)ComponentSymbolFields.UninstallWhenSuperseded].AsBool(); |
| 128 | set => this.Set((int)ComponentTupleFields.UninstallWhenSuperseded, value); | 128 | set => this.Set((int)ComponentSymbolFields.UninstallWhenSuperseded, value); |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | public bool Win64 | 131 | public bool Win64 |
| 132 | { | 132 | { |
| 133 | get => this.Fields[(int)ComponentTupleFields.Win64].AsBool(); | 133 | get => this.Fields[(int)ComponentSymbolFields.Win64].AsBool(); |
| 134 | set => this.Set((int)ComponentTupleFields.Win64, value); | 134 | set => this.Set((int)ComponentSymbolFields.Win64, value); |
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | public string Condition | 137 | public string Condition |
| 138 | { | 138 | { |
| 139 | get => (string)this.Fields[(int)ComponentTupleFields.Condition]; | 139 | get => (string)this.Fields[(int)ComponentSymbolFields.Condition]; |
| 140 | set => this.Set((int)ComponentTupleFields.Condition, value); | 140 | set => this.Set((int)ComponentSymbolFields.Condition, value); |
| 141 | } | 141 | } |
| 142 | 142 | ||
| 143 | public string KeyPath | 143 | public string KeyPath |
| 144 | { | 144 | { |
| 145 | get => (string)this.Fields[(int)ComponentTupleFields.KeyPath]; | 145 | get => (string)this.Fields[(int)ComponentSymbolFields.KeyPath]; |
| 146 | set => this.Set((int)ComponentTupleFields.KeyPath, value); | 146 | set => this.Set((int)ComponentSymbolFields.KeyPath, value); |
| 147 | } | 147 | } |
| 148 | 148 | ||
| 149 | public ComponentKeyPathType KeyPathType | 149 | public ComponentKeyPathType KeyPathType |
| 150 | { | 150 | { |
| 151 | get => (ComponentKeyPathType)this.Fields[(int)ComponentTupleFields.KeyPathType].AsNumber(); | 151 | get => (ComponentKeyPathType)this.Fields[(int)ComponentSymbolFields.KeyPathType].AsNumber(); |
| 152 | set => this.Set((int)ComponentTupleFields.KeyPathType, (int)value); | 152 | set => this.Set((int)ComponentSymbolFields.KeyPathType, (int)value); |
| 153 | } | 153 | } |
| 154 | } | 154 | } |
| 155 | } \ No newline at end of file | 155 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ConditionTuple.cs b/src/WixToolset.Data/Tuples/ConditionTuple.cs index 9b2284a4..3a94ebb1 100644 --- a/src/WixToolset.Data/Tuples/ConditionTuple.cs +++ b/src/WixToolset.Data/Tuples/ConditionTuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Condition = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Condition = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Condition, | 10 | SymbolDefinitionType.Condition, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ConditionTupleFields.FeatureRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ConditionSymbolFields.FeatureRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ConditionTupleFields.Level), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(ConditionSymbolFields.Level), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(ConditionTupleFields.Condition), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ConditionSymbolFields.Condition), IntermediateFieldType.String), |
| 16 | }, | 16 | }, |
| 17 | typeof(ConditionTuple)); | 17 | typeof(ConditionSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum ConditionTupleFields | 23 | public enum ConditionSymbolFields |
| 24 | { | 24 | { |
| 25 | FeatureRef, | 25 | FeatureRef, |
| 26 | Level, | 26 | Level, |
| 27 | Condition, | 27 | Condition, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class ConditionTuple : IntermediateTuple | 30 | public class ConditionSymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public ConditionTuple() : base(TupleDefinitions.Condition, null, null) | 32 | public ConditionSymbol() : base(SymbolDefinitions.Condition, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public ConditionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Condition, sourceLineNumber, id) | 36 | public ConditionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Condition, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[ConditionTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[ConditionSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string FeatureRef | 42 | public string FeatureRef |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)ConditionTupleFields.FeatureRef]; | 44 | get => (string)this.Fields[(int)ConditionSymbolFields.FeatureRef]; |
| 45 | set => this.Set((int)ConditionTupleFields.FeatureRef, value); | 45 | set => this.Set((int)ConditionSymbolFields.FeatureRef, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public int Level | 48 | public int Level |
| 49 | { | 49 | { |
| 50 | get => (int)this.Fields[(int)ConditionTupleFields.Level]; | 50 | get => (int)this.Fields[(int)ConditionSymbolFields.Level]; |
| 51 | set => this.Set((int)ConditionTupleFields.Level, value); | 51 | set => this.Set((int)ConditionSymbolFields.Level, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string Condition | 54 | public string Condition |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)ConditionTupleFields.Condition]; | 56 | get => (string)this.Fields[(int)ConditionSymbolFields.Condition]; |
| 57 | set => this.Set((int)ConditionTupleFields.Condition, value); | 57 | set => this.Set((int)ConditionSymbolFields.Condition, value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ControlConditionTuple.cs b/src/WixToolset.Data/Tuples/ControlConditionTuple.cs index 2e5dbf77..cc5f2d74 100644 --- a/src/WixToolset.Data/Tuples/ControlConditionTuple.cs +++ b/src/WixToolset.Data/Tuples/ControlConditionTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ControlCondition = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ControlCondition = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ControlCondition, | 10 | SymbolDefinitionType.ControlCondition, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ControlConditionTupleFields.DialogRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ControlConditionSymbolFields.DialogRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ControlConditionTupleFields.ControlRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ControlConditionSymbolFields.ControlRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ControlConditionTupleFields.Action), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ControlConditionSymbolFields.Action), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ControlConditionTupleFields.Condition), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ControlConditionSymbolFields.Condition), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(ControlConditionTuple)); | 18 | typeof(ControlConditionSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum ControlConditionTupleFields | 24 | public enum ControlConditionSymbolFields |
| 25 | { | 25 | { |
| 26 | DialogRef, | 26 | DialogRef, |
| 27 | ControlRef, | 27 | ControlRef, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Condition, | 29 | Condition, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class ControlConditionTuple : IntermediateTuple | 32 | public class ControlConditionSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public ControlConditionTuple() : base(TupleDefinitions.ControlCondition, null, null) | 34 | public ControlConditionSymbol() : base(SymbolDefinitions.ControlCondition, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public ControlConditionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ControlCondition, sourceLineNumber, id) | 38 | public ControlConditionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ControlCondition, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[ControlConditionTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[ControlConditionSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string DialogRef | 44 | public string DialogRef |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)ControlConditionTupleFields.DialogRef]; | 46 | get => (string)this.Fields[(int)ControlConditionSymbolFields.DialogRef]; |
| 47 | set => this.Set((int)ControlConditionTupleFields.DialogRef, value); | 47 | set => this.Set((int)ControlConditionSymbolFields.DialogRef, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string ControlRef | 50 | public string ControlRef |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)ControlConditionTupleFields.ControlRef]; | 52 | get => (string)this.Fields[(int)ControlConditionSymbolFields.ControlRef]; |
| 53 | set => this.Set((int)ControlConditionTupleFields.ControlRef, value); | 53 | set => this.Set((int)ControlConditionSymbolFields.ControlRef, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string Action | 56 | public string Action |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)ControlConditionTupleFields.Action]; | 58 | get => (string)this.Fields[(int)ControlConditionSymbolFields.Action]; |
| 59 | set => this.Set((int)ControlConditionTupleFields.Action, value); | 59 | set => this.Set((int)ControlConditionSymbolFields.Action, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Condition | 62 | public string Condition |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)ControlConditionTupleFields.Condition]; | 64 | get => (string)this.Fields[(int)ControlConditionSymbolFields.Condition]; |
| 65 | set => this.Set((int)ControlConditionTupleFields.Condition, value); | 65 | set => this.Set((int)ControlConditionSymbolFields.Condition, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ControlEventTuple.cs b/src/WixToolset.Data/Tuples/ControlEventTuple.cs index 9c460353..3cf6da53 100644 --- a/src/WixToolset.Data/Tuples/ControlEventTuple.cs +++ b/src/WixToolset.Data/Tuples/ControlEventTuple.cs | |||
| @@ -2,28 +2,28 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ControlEvent = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ControlEvent = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ControlEvent, | 10 | SymbolDefinitionType.ControlEvent, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ControlEventTupleFields.DialogRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ControlEventSymbolFields.DialogRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ControlEventTupleFields.ControlRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ControlEventSymbolFields.ControlRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ControlEventTupleFields.Event), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ControlEventSymbolFields.Event), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ControlEventTupleFields.Argument), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ControlEventSymbolFields.Argument), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(ControlEventTupleFields.Condition), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(ControlEventSymbolFields.Condition), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(ControlEventTupleFields.Ordering), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(ControlEventSymbolFields.Ordering), IntermediateFieldType.Number), |
| 19 | }, | 19 | }, |
| 20 | typeof(ControlEventTuple)); | 20 | typeof(ControlEventSymbol)); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
| 25 | { | 25 | { |
| 26 | public enum ControlEventTupleFields | 26 | public enum ControlEventSymbolFields |
| 27 | { | 27 | { |
| 28 | DialogRef, | 28 | DialogRef, |
| 29 | ControlRef, | 29 | ControlRef, |
| @@ -33,52 +33,52 @@ namespace WixToolset.Data.Tuples | |||
| 33 | Ordering, | 33 | Ordering, |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public class ControlEventTuple : IntermediateTuple | 36 | public class ControlEventSymbol : IntermediateSymbol |
| 37 | { | 37 | { |
| 38 | public ControlEventTuple() : base(TupleDefinitions.ControlEvent, null, null) | 38 | public ControlEventSymbol() : base(SymbolDefinitions.ControlEvent, null, null) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public ControlEventTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ControlEvent, sourceLineNumber, id) | 42 | public ControlEventSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ControlEvent, sourceLineNumber, id) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public IntermediateField this[ControlEventTupleFields index] => this.Fields[(int)index]; | 46 | public IntermediateField this[ControlEventSymbolFields index] => this.Fields[(int)index]; |
| 47 | 47 | ||
| 48 | public string DialogRef | 48 | public string DialogRef |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)ControlEventTupleFields.DialogRef]; | 50 | get => (string)this.Fields[(int)ControlEventSymbolFields.DialogRef]; |
| 51 | set => this.Set((int)ControlEventTupleFields.DialogRef, value); | 51 | set => this.Set((int)ControlEventSymbolFields.DialogRef, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string ControlRef | 54 | public string ControlRef |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)ControlEventTupleFields.ControlRef]; | 56 | get => (string)this.Fields[(int)ControlEventSymbolFields.ControlRef]; |
| 57 | set => this.Set((int)ControlEventTupleFields.ControlRef, value); | 57 | set => this.Set((int)ControlEventSymbolFields.ControlRef, value); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public string Event | 60 | public string Event |
| 61 | { | 61 | { |
| 62 | get => (string)this.Fields[(int)ControlEventTupleFields.Event]; | 62 | get => (string)this.Fields[(int)ControlEventSymbolFields.Event]; |
| 63 | set => this.Set((int)ControlEventTupleFields.Event, value); | 63 | set => this.Set((int)ControlEventSymbolFields.Event, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public string Argument | 66 | public string Argument |
| 67 | { | 67 | { |
| 68 | get => (string)this.Fields[(int)ControlEventTupleFields.Argument]; | 68 | get => (string)this.Fields[(int)ControlEventSymbolFields.Argument]; |
| 69 | set => this.Set((int)ControlEventTupleFields.Argument, value); | 69 | set => this.Set((int)ControlEventSymbolFields.Argument, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public string Condition | 72 | public string Condition |
| 73 | { | 73 | { |
| 74 | get => (string)this.Fields[(int)ControlEventTupleFields.Condition]; | 74 | get => (string)this.Fields[(int)ControlEventSymbolFields.Condition]; |
| 75 | set => this.Set((int)ControlEventTupleFields.Condition, value); | 75 | set => this.Set((int)ControlEventSymbolFields.Condition, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public int? Ordering | 78 | public int? Ordering |
| 79 | { | 79 | { |
| 80 | get => (int?)this.Fields[(int)ControlEventTupleFields.Ordering]; | 80 | get => (int?)this.Fields[(int)ControlEventSymbolFields.Ordering]; |
| 81 | set => this.Set((int)ControlEventTupleFields.Ordering, value); | 81 | set => this.Set((int)ControlEventSymbolFields.Ordering, value); |
| 82 | } | 82 | } |
| 83 | } | 83 | } |
| 84 | } \ No newline at end of file | 84 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ControlTuple.cs b/src/WixToolset.Data/Tuples/ControlTuple.cs index 165e40e2..732566d5 100644 --- a/src/WixToolset.Data/Tuples/ControlTuple.cs +++ b/src/WixToolset.Data/Tuples/ControlTuple.cs | |||
| @@ -2,44 +2,44 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Control = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Control = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Control, | 10 | SymbolDefinitionType.Control, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ControlTupleFields.DialogRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.DialogRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Control), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.Control), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Type), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.Type), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ControlTupleFields.X), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.X), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Y), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.Y), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Width), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.Width), IntermediateFieldType.Number), |
| 19 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Height), IntermediateFieldType.Number), | 19 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.Height), IntermediateFieldType.Number), |
| 20 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Attributes), IntermediateFieldType.Number), | 20 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.Attributes), IntermediateFieldType.Number), |
| 21 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Enabled), IntermediateFieldType.Bool), | 21 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.Enabled), IntermediateFieldType.Bool), |
| 22 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Indirect), IntermediateFieldType.Bool), | 22 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.Indirect), IntermediateFieldType.Bool), |
| 23 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Integer), IntermediateFieldType.Bool), | 23 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.Integer), IntermediateFieldType.Bool), |
| 24 | new IntermediateFieldDefinition(nameof(ControlTupleFields.LeftScroll), IntermediateFieldType.Bool), | 24 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.LeftScroll), IntermediateFieldType.Bool), |
| 25 | new IntermediateFieldDefinition(nameof(ControlTupleFields.RightAligned), IntermediateFieldType.Bool), | 25 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.RightAligned), IntermediateFieldType.Bool), |
| 26 | new IntermediateFieldDefinition(nameof(ControlTupleFields.RightToLeft), IntermediateFieldType.Bool), | 26 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.RightToLeft), IntermediateFieldType.Bool), |
| 27 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Sunken), IntermediateFieldType.Bool), | 27 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.Sunken), IntermediateFieldType.Bool), |
| 28 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Visible), IntermediateFieldType.Bool), | 28 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.Visible), IntermediateFieldType.Bool), |
| 29 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Property), IntermediateFieldType.String), | 29 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.Property), IntermediateFieldType.String), |
| 30 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Text), IntermediateFieldType.String), | 30 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.Text), IntermediateFieldType.String), |
| 31 | new IntermediateFieldDefinition(nameof(ControlTupleFields.NextControlRef), IntermediateFieldType.String), | 31 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.NextControlRef), IntermediateFieldType.String), |
| 32 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Help), IntermediateFieldType.String), | 32 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.Help), IntermediateFieldType.String), |
| 33 | new IntermediateFieldDefinition(nameof(ControlTupleFields.TrackDiskSpace), IntermediateFieldType.Bool), | 33 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.TrackDiskSpace), IntermediateFieldType.Bool), |
| 34 | new IntermediateFieldDefinition(nameof(ControlTupleFields.SourceFile), IntermediateFieldType.Path), | 34 | new IntermediateFieldDefinition(nameof(ControlSymbolFields.SourceFile), IntermediateFieldType.Path), |
| 35 | }, | 35 | }, |
| 36 | typeof(ControlTuple)); | 36 | typeof(ControlSymbol)); |
| 37 | } | 37 | } |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | namespace WixToolset.Data.Tuples | 40 | namespace WixToolset.Data.Symbols |
| 41 | { | 41 | { |
| 42 | public enum ControlTupleFields | 42 | public enum ControlSymbolFields |
| 43 | { | 43 | { |
| 44 | DialogRef, | 44 | DialogRef, |
| 45 | Control, | 45 | Control, |
| @@ -65,239 +65,239 @@ namespace WixToolset.Data.Tuples | |||
| 65 | SourceFile, | 65 | SourceFile, |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public class ControlTuple : IntermediateTuple | 68 | public class ControlSymbol : IntermediateSymbol |
| 69 | { | 69 | { |
| 70 | public ControlTuple() : base(TupleDefinitions.Control, null, null) | 70 | public ControlSymbol() : base(SymbolDefinitions.Control, null, null) |
| 71 | { | 71 | { |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public ControlTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Control, sourceLineNumber, id) | 74 | public ControlSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Control, sourceLineNumber, id) |
| 75 | { | 75 | { |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public IntermediateField this[ControlTupleFields index] => this.Fields[(int)index]; | 78 | public IntermediateField this[ControlSymbolFields index] => this.Fields[(int)index]; |
| 79 | 79 | ||
| 80 | public string DialogRef | 80 | public string DialogRef |
| 81 | { | 81 | { |
| 82 | get => (string)this.Fields[(int)ControlTupleFields.DialogRef]; | 82 | get => (string)this.Fields[(int)ControlSymbolFields.DialogRef]; |
| 83 | set => this.Set((int)ControlTupleFields.DialogRef, value); | 83 | set => this.Set((int)ControlSymbolFields.DialogRef, value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public string Control | 86 | public string Control |
| 87 | { | 87 | { |
| 88 | get => (string)this.Fields[(int)ControlTupleFields.Control]; | 88 | get => (string)this.Fields[(int)ControlSymbolFields.Control]; |
| 89 | set => this.Set((int)ControlTupleFields.Control, value); | 89 | set => this.Set((int)ControlSymbolFields.Control, value); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | public string Type | 92 | public string Type |
| 93 | { | 93 | { |
| 94 | get => (string)this.Fields[(int)ControlTupleFields.Type]; | 94 | get => (string)this.Fields[(int)ControlSymbolFields.Type]; |
| 95 | set => this.Set((int)ControlTupleFields.Type, value); | 95 | set => this.Set((int)ControlSymbolFields.Type, value); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | public int X | 98 | public int X |
| 99 | { | 99 | { |
| 100 | get => (int)this.Fields[(int)ControlTupleFields.X]; | 100 | get => (int)this.Fields[(int)ControlSymbolFields.X]; |
| 101 | set => this.Set((int)ControlTupleFields.X, value); | 101 | set => this.Set((int)ControlSymbolFields.X, value); |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | public int Y | 104 | public int Y |
| 105 | { | 105 | { |
| 106 | get => (int)this.Fields[(int)ControlTupleFields.Y]; | 106 | get => (int)this.Fields[(int)ControlSymbolFields.Y]; |
| 107 | set => this.Set((int)ControlTupleFields.Y, value); | 107 | set => this.Set((int)ControlSymbolFields.Y, value); |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | public int Width | 110 | public int Width |
| 111 | { | 111 | { |
| 112 | get => (int)this.Fields[(int)ControlTupleFields.Width]; | 112 | get => (int)this.Fields[(int)ControlSymbolFields.Width]; |
| 113 | set => this.Set((int)ControlTupleFields.Width, value); | 113 | set => this.Set((int)ControlSymbolFields.Width, value); |
| 114 | } | 114 | } |
| 115 | 115 | ||
| 116 | public int Height | 116 | public int Height |
| 117 | { | 117 | { |
| 118 | get => (int)this.Fields[(int)ControlTupleFields.Height]; | 118 | get => (int)this.Fields[(int)ControlSymbolFields.Height]; |
| 119 | set => this.Set((int)ControlTupleFields.Height, value); | 119 | set => this.Set((int)ControlSymbolFields.Height, value); |
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | public int? Attributes | 122 | public int? Attributes |
| 123 | { | 123 | { |
| 124 | get => (int?)this.Fields[(int)ControlTupleFields.Attributes]; | 124 | get => (int?)this.Fields[(int)ControlSymbolFields.Attributes]; |
| 125 | set => this.Set((int)ControlTupleFields.Attributes, value); | 125 | set => this.Set((int)ControlSymbolFields.Attributes, value); |
| 126 | } | 126 | } |
| 127 | 127 | ||
| 128 | public bool Enabled | 128 | public bool Enabled |
| 129 | { | 129 | { |
| 130 | get => this.Fields[(int)ControlTupleFields.Enabled].AsBool(); | 130 | get => this.Fields[(int)ControlSymbolFields.Enabled].AsBool(); |
| 131 | set => this.Set((int)ControlTupleFields.Enabled, value); | 131 | set => this.Set((int)ControlSymbolFields.Enabled, value); |
| 132 | } | 132 | } |
| 133 | 133 | ||
| 134 | public bool Indirect | 134 | public bool Indirect |
| 135 | { | 135 | { |
| 136 | get => this.Fields[(int)ControlTupleFields.Indirect].AsBool(); | 136 | get => this.Fields[(int)ControlSymbolFields.Indirect].AsBool(); |
| 137 | set => this.Set((int)ControlTupleFields.Indirect, value); | 137 | set => this.Set((int)ControlSymbolFields.Indirect, value); |
| 138 | } | 138 | } |
| 139 | 139 | ||
| 140 | public bool Integer | 140 | public bool Integer |
| 141 | { | 141 | { |
| 142 | get => this.Fields[(int)ControlTupleFields.Integer].AsBool(); | 142 | get => this.Fields[(int)ControlSymbolFields.Integer].AsBool(); |
| 143 | set => this.Set((int)ControlTupleFields.Integer, value); | 143 | set => this.Set((int)ControlSymbolFields.Integer, value); |
| 144 | } | 144 | } |
| 145 | /* | 145 | /* |
| 146 | /// <summary>PictureButton control</summary> | 146 | /// <summary>PictureButton control</summary> |
| 147 | public bool Bitmap | 147 | public bool Bitmap |
| 148 | { | 148 | { |
| 149 | get => this.Fields[(int)ControlTupleFields.Bitmap].AsBool(); | 149 | get => this.Fields[(int)ControlSymbolFields.Bitmap].AsBool(); |
| 150 | set => this.Set((int)ControlTupleFields.Bitmap, value); | 150 | set => this.Set((int)ControlSymbolFields.Bitmap, value); |
| 151 | } | 151 | } |
| 152 | 152 | ||
| 153 | /// <summary>RadioButton control</summary> | 153 | /// <summary>RadioButton control</summary> |
| 154 | public bool Border | 154 | public bool Border |
| 155 | { | 155 | { |
| 156 | get => this.Fields[(int)ControlTupleFields.Border].AsBool(); | 156 | get => this.Fields[(int)ControlSymbolFields.Border].AsBool(); |
| 157 | set => this.Set((int)ControlTupleFields.Border, value); | 157 | set => this.Set((int)ControlSymbolFields.Border, value); |
| 158 | } | 158 | } |
| 159 | 159 | ||
| 160 | /// <summary>ListBox and ComboBox control</summary> | 160 | /// <summary>ListBox and ComboBox control</summary> |
| 161 | public bool ComboList | 161 | public bool ComboList |
| 162 | { | 162 | { |
| 163 | get => this.Fields[(int)ControlTupleFields.ComboList].AsBool(); | 163 | get => this.Fields[(int)ControlSymbolFields.ComboList].AsBool(); |
| 164 | set => this.Set((int)ControlTupleFields.ComboList, value); | 164 | set => this.Set((int)ControlSymbolFields.ComboList, value); |
| 165 | } | 165 | } |
| 166 | 166 | ||
| 167 | /// <summary>PushButton control</summary> | 167 | /// <summary>PushButton control</summary> |
| 168 | public bool ElevationShield | 168 | public bool ElevationShield |
| 169 | { | 169 | { |
| 170 | get => this.Fields[(int)ControlTupleFields.ElevationShield].AsBool(); | 170 | get => this.Fields[(int)ControlSymbolFields.ElevationShield].AsBool(); |
| 171 | set => this.Set((int)ControlTupleFields.ElevationShield, value); | 171 | set => this.Set((int)ControlSymbolFields.ElevationShield, value); |
| 172 | } | 172 | } |
| 173 | 173 | ||
| 174 | /// <summary>PictureButton control</summary> | 174 | /// <summary>PictureButton control</summary> |
| 175 | public bool FixedSize | 175 | public bool FixedSize |
| 176 | { | 176 | { |
| 177 | get => this.Fields[(int)ControlTupleFields.FixedSize].AsBool(); | 177 | get => this.Fields[(int)ControlSymbolFields.FixedSize].AsBool(); |
| 178 | set => this.Set((int)ControlTupleFields.FixedSize, value); | 178 | set => this.Set((int)ControlSymbolFields.FixedSize, value); |
| 179 | } | 179 | } |
| 180 | 180 | ||
| 181 | /// <summary>PictureButton control</summary> | 181 | /// <summary>PictureButton control</summary> |
| 182 | public bool Icon | 182 | public bool Icon |
| 183 | { | 183 | { |
| 184 | get => this.Fields[(int)ControlTupleFields.Icon].AsBool(); | 184 | get => this.Fields[(int)ControlSymbolFields.Icon].AsBool(); |
| 185 | set => this.Set((int)ControlTupleFields.Icon, value); | 185 | set => this.Set((int)ControlSymbolFields.Icon, value); |
| 186 | } | 186 | } |
| 187 | 187 | ||
| 188 | /// <summary>PictureButton control</summary> | 188 | /// <summary>PictureButton control</summary> |
| 189 | public bool Icon16 | 189 | public bool Icon16 |
| 190 | { | 190 | { |
| 191 | get => this.Fields[(int)ControlTupleFields.Icon16].AsBool(); | 191 | get => this.Fields[(int)ControlSymbolFields.Icon16].AsBool(); |
| 192 | set => this.Set((int)ControlTupleFields.Icon16, value); | 192 | set => this.Set((int)ControlSymbolFields.Icon16, value); |
| 193 | } | 193 | } |
| 194 | 194 | ||
| 195 | /// <summary>PictureButton control</summary> | 195 | /// <summary>PictureButton control</summary> |
| 196 | public bool Icon32 | 196 | public bool Icon32 |
| 197 | { | 197 | { |
| 198 | get => this.Fields[(int)ControlTupleFields.Icon32].AsBool(); | 198 | get => this.Fields[(int)ControlSymbolFields.Icon32].AsBool(); |
| 199 | set => this.Set((int)ControlTupleFields.Icon32, value); | 199 | set => this.Set((int)ControlSymbolFields.Icon32, value); |
| 200 | } | 200 | } |
| 201 | 201 | ||
| 202 | /// <summary>PictureButton control</summary> | 202 | /// <summary>PictureButton control</summary> |
| 203 | public bool Icon48 | 203 | public bool Icon48 |
| 204 | { | 204 | { |
| 205 | get => this.Fields[(int)ControlTupleFields.Icon48].AsBool(); | 205 | get => this.Fields[(int)ControlSymbolFields.Icon48].AsBool(); |
| 206 | set => this.Set((int)ControlTupleFields.Icon48, value); | 206 | set => this.Set((int)ControlSymbolFields.Icon48, value); |
| 207 | } | 207 | } |
| 208 | */ | 208 | */ |
| 209 | public bool LeftScroll | 209 | public bool LeftScroll |
| 210 | { | 210 | { |
| 211 | get => this.Fields[(int)ControlTupleFields.LeftScroll].AsBool(); | 211 | get => this.Fields[(int)ControlSymbolFields.LeftScroll].AsBool(); |
| 212 | set => this.Set((int)ControlTupleFields.LeftScroll, value); | 212 | set => this.Set((int)ControlSymbolFields.LeftScroll, value); |
| 213 | } | 213 | } |
| 214 | /* | 214 | /* |
| 215 | /// <summary>PictureButton control</summary> | 215 | /// <summary>PictureButton control</summary> |
| 216 | public bool PushLike | 216 | public bool PushLike |
| 217 | { | 217 | { |
| 218 | get => this.Fields[(int)ControlTupleFields.PushLike].AsBool(); | 218 | get => this.Fields[(int)ControlSymbolFields.PushLike].AsBool(); |
| 219 | set => this.Set((int)ControlTupleFields.PushLike, value); | 219 | set => this.Set((int)ControlSymbolFields.PushLike, value); |
| 220 | } | 220 | } |
| 221 | 221 | ||
| 222 | /// <summary>Edit control</summary> | 222 | /// <summary>Edit control</summary> |
| 223 | public bool Mulitline | 223 | public bool Mulitline |
| 224 | { | 224 | { |
| 225 | get => this.Fields[(int)ControlTupleFields.Mulitline].AsBool(); | 225 | get => this.Fields[(int)ControlSymbolFields.Mulitline].AsBool(); |
| 226 | set => this.Set((int)ControlTupleFields.Mulitline, value); | 226 | set => this.Set((int)ControlSymbolFields.Mulitline, value); |
| 227 | } | 227 | } |
| 228 | */ | 228 | */ |
| 229 | public bool RightAligned | 229 | public bool RightAligned |
| 230 | { | 230 | { |
| 231 | get => this.Fields[(int)ControlTupleFields.RightAligned].AsBool(); | 231 | get => this.Fields[(int)ControlSymbolFields.RightAligned].AsBool(); |
| 232 | set => this.Set((int)ControlTupleFields.RightAligned, value); | 232 | set => this.Set((int)ControlSymbolFields.RightAligned, value); |
| 233 | } | 233 | } |
| 234 | 234 | ||
| 235 | public bool RightToLeft | 235 | public bool RightToLeft |
| 236 | { | 236 | { |
| 237 | get => this.Fields[(int)ControlTupleFields.RightToLeft].AsBool(); | 237 | get => this.Fields[(int)ControlSymbolFields.RightToLeft].AsBool(); |
| 238 | set => this.Set((int)ControlTupleFields.RightToLeft, value); | 238 | set => this.Set((int)ControlSymbolFields.RightToLeft, value); |
| 239 | } | 239 | } |
| 240 | /* | 240 | /* |
| 241 | /// <summary>VolumeCostList control</summary> | 241 | /// <summary>VolumeCostList control</summary> |
| 242 | public bool ShowRollbackCost | 242 | public bool ShowRollbackCost |
| 243 | { | 243 | { |
| 244 | get => this.Fields[(int)ControlTupleFields.ShowRollbackCost].AsBool(); | 244 | get => this.Fields[(int)ControlSymbolFields.ShowRollbackCost].AsBool(); |
| 245 | set => this.Set((int)ControlTupleFields.ShowRollbackCost, value); | 245 | set => this.Set((int)ControlSymbolFields.ShowRollbackCost, value); |
| 246 | } | 246 | } |
| 247 | 247 | ||
| 248 | /// <summary>ListBox and ComboBox control</summary> | 248 | /// <summary>ListBox and ComboBox control</summary> |
| 249 | public bool Sorted | 249 | public bool Sorted |
| 250 | { | 250 | { |
| 251 | get => this.Fields[(int)ControlTupleFields.Sorted].AsBool(); | 251 | get => this.Fields[(int)ControlSymbolFields.Sorted].AsBool(); |
| 252 | set => this.Set((int)ControlTupleFields.Sorted, value); | 252 | set => this.Set((int)ControlSymbolFields.Sorted, value); |
| 253 | } | 253 | } |
| 254 | */ | 254 | */ |
| 255 | public bool Sunken | 255 | public bool Sunken |
| 256 | { | 256 | { |
| 257 | get => this.Fields[(int)ControlTupleFields.Sunken].AsBool(); | 257 | get => this.Fields[(int)ControlSymbolFields.Sunken].AsBool(); |
| 258 | set => this.Set((int)ControlTupleFields.Sunken, value); | 258 | set => this.Set((int)ControlSymbolFields.Sunken, value); |
| 259 | } | 259 | } |
| 260 | 260 | ||
| 261 | public bool Visible | 261 | public bool Visible |
| 262 | { | 262 | { |
| 263 | get => this.Fields[(int)ControlTupleFields.Visible].AsBool(); | 263 | get => this.Fields[(int)ControlSymbolFields.Visible].AsBool(); |
| 264 | set => this.Set((int)ControlTupleFields.Visible, value); | 264 | set => this.Set((int)ControlSymbolFields.Visible, value); |
| 265 | } | 265 | } |
| 266 | 266 | ||
| 267 | public string Property | 267 | public string Property |
| 268 | { | 268 | { |
| 269 | get => (string)this.Fields[(int)ControlTupleFields.Property]; | 269 | get => (string)this.Fields[(int)ControlSymbolFields.Property]; |
| 270 | set => this.Set((int)ControlTupleFields.Property, value); | 270 | set => this.Set((int)ControlSymbolFields.Property, value); |
| 271 | } | 271 | } |
| 272 | 272 | ||
| 273 | public string Text | 273 | public string Text |
| 274 | { | 274 | { |
| 275 | get => (string)this.Fields[(int)ControlTupleFields.Text]; | 275 | get => (string)this.Fields[(int)ControlSymbolFields.Text]; |
| 276 | set => this.Set((int)ControlTupleFields.Text, value); | 276 | set => this.Set((int)ControlSymbolFields.Text, value); |
| 277 | } | 277 | } |
| 278 | 278 | ||
| 279 | public string NextControlRef | 279 | public string NextControlRef |
| 280 | { | 280 | { |
| 281 | get => (string)this.Fields[(int)ControlTupleFields.NextControlRef]; | 281 | get => (string)this.Fields[(int)ControlSymbolFields.NextControlRef]; |
| 282 | set => this.Set((int)ControlTupleFields.NextControlRef, value); | 282 | set => this.Set((int)ControlSymbolFields.NextControlRef, value); |
| 283 | } | 283 | } |
| 284 | 284 | ||
| 285 | public string Help | 285 | public string Help |
| 286 | { | 286 | { |
| 287 | get => (string)this.Fields[(int)ControlTupleFields.Help]; | 287 | get => (string)this.Fields[(int)ControlSymbolFields.Help]; |
| 288 | set => this.Set((int)ControlTupleFields.Help, value); | 288 | set => this.Set((int)ControlSymbolFields.Help, value); |
| 289 | } | 289 | } |
| 290 | 290 | ||
| 291 | public bool TrackDiskSpace | 291 | public bool TrackDiskSpace |
| 292 | { | 292 | { |
| 293 | get => this.Fields[(int)ControlTupleFields.TrackDiskSpace].AsBool(); | 293 | get => this.Fields[(int)ControlSymbolFields.TrackDiskSpace].AsBool(); |
| 294 | set => this.Set((int)ControlTupleFields.TrackDiskSpace, value); | 294 | set => this.Set((int)ControlSymbolFields.TrackDiskSpace, value); |
| 295 | } | 295 | } |
| 296 | 296 | ||
| 297 | public IntermediateFieldPathValue SourceFile | 297 | public IntermediateFieldPathValue SourceFile |
| 298 | { | 298 | { |
| 299 | get => this.Fields[(int)ControlTupleFields.SourceFile].AsPath(); | 299 | get => this.Fields[(int)ControlSymbolFields.SourceFile].AsPath(); |
| 300 | set => this.Set((int)ControlTupleFields.SourceFile, value); | 300 | set => this.Set((int)ControlSymbolFields.SourceFile, value); |
| 301 | } | 301 | } |
| 302 | } | 302 | } |
| 303 | } \ No newline at end of file | 303 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/CreateFolderTuple.cs b/src/WixToolset.Data/Tuples/CreateFolderTuple.cs index d9d4763e..2b282266 100644 --- a/src/WixToolset.Data/Tuples/CreateFolderTuple.cs +++ b/src/WixToolset.Data/Tuples/CreateFolderTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 CreateFolder = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition CreateFolder = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.CreateFolder, | 10 | SymbolDefinitionType.CreateFolder, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(CreateFolderTupleFields.DirectoryRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(CreateFolderSymbolFields.DirectoryRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(CreateFolderTupleFields.ComponentRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(CreateFolderSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(CreateFolderTuple)); | 16 | typeof(CreateFolderSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum CreateFolderTupleFields | 22 | public enum CreateFolderSymbolFields |
| 23 | { | 23 | { |
| 24 | DirectoryRef, | 24 | DirectoryRef, |
| 25 | ComponentRef, | 25 | ComponentRef, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class CreateFolderTuple : IntermediateTuple | 28 | public class CreateFolderSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public CreateFolderTuple() : base(TupleDefinitions.CreateFolder, null, null) | 30 | public CreateFolderSymbol() : base(SymbolDefinitions.CreateFolder, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public CreateFolderTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.CreateFolder, sourceLineNumber, id) | 34 | public CreateFolderSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.CreateFolder, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[CreateFolderTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[CreateFolderSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string DirectoryRef | 40 | public string DirectoryRef |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)CreateFolderTupleFields.DirectoryRef]; | 42 | get => (string)this.Fields[(int)CreateFolderSymbolFields.DirectoryRef]; |
| 43 | set => this.Set((int)CreateFolderTupleFields.DirectoryRef, value); | 43 | set => this.Set((int)CreateFolderSymbolFields.DirectoryRef, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string ComponentRef | 46 | public string ComponentRef |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)CreateFolderTupleFields.ComponentRef]; | 48 | get => (string)this.Fields[(int)CreateFolderSymbolFields.ComponentRef]; |
| 49 | set => this.Set((int)CreateFolderTupleFields.ComponentRef, value); | 49 | set => this.Set((int)CreateFolderSymbolFields.ComponentRef, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/CustomActionTuple.cs b/src/WixToolset.Data/Tuples/CustomActionTuple.cs index b2b34df0..1180dab4 100644 --- a/src/WixToolset.Data/Tuples/CustomActionTuple.cs +++ b/src/WixToolset.Data/Tuples/CustomActionTuple.cs | |||
| @@ -2,35 +2,35 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 CustomAction = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition CustomAction = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.CustomAction, | 10 | SymbolDefinitionType.CustomAction, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.ExecutionType), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(CustomActionSymbolFields.ExecutionType), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.Source), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(CustomActionSymbolFields.Source), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.SourceType), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(CustomActionSymbolFields.SourceType), IntermediateFieldType.Number), |
| 16 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.Target), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(CustomActionSymbolFields.Target), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.TargetType), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(CustomActionSymbolFields.TargetType), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.Async), IntermediateFieldType.Bool), | 18 | new IntermediateFieldDefinition(nameof(CustomActionSymbolFields.Async), IntermediateFieldType.Bool), |
| 19 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.Hidden), IntermediateFieldType.Bool), | 19 | new IntermediateFieldDefinition(nameof(CustomActionSymbolFields.Hidden), IntermediateFieldType.Bool), |
| 20 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.IgnoreResult), IntermediateFieldType.Bool), | 20 | new IntermediateFieldDefinition(nameof(CustomActionSymbolFields.IgnoreResult), IntermediateFieldType.Bool), |
| 21 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.Impersonate), IntermediateFieldType.Bool), | 21 | new IntermediateFieldDefinition(nameof(CustomActionSymbolFields.Impersonate), IntermediateFieldType.Bool), |
| 22 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.PatchUninstall), IntermediateFieldType.Bool), | 22 | new IntermediateFieldDefinition(nameof(CustomActionSymbolFields.PatchUninstall), IntermediateFieldType.Bool), |
| 23 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.TSAware), IntermediateFieldType.Bool), | 23 | new IntermediateFieldDefinition(nameof(CustomActionSymbolFields.TSAware), IntermediateFieldType.Bool), |
| 24 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.Win64), IntermediateFieldType.Bool), | 24 | new IntermediateFieldDefinition(nameof(CustomActionSymbolFields.Win64), IntermediateFieldType.Bool), |
| 25 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.ScriptFile), IntermediateFieldType.Path), | 25 | new IntermediateFieldDefinition(nameof(CustomActionSymbolFields.ScriptFile), IntermediateFieldType.Path), |
| 26 | }, | 26 | }, |
| 27 | typeof(CustomActionTuple)); | 27 | typeof(CustomActionSymbol)); |
| 28 | } | 28 | } |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | namespace WixToolset.Data.Tuples | 31 | namespace WixToolset.Data.Symbols |
| 32 | { | 32 | { |
| 33 | public enum CustomActionTupleFields | 33 | public enum CustomActionSymbolFields |
| 34 | { | 34 | { |
| 35 | ExecutionType, | 35 | ExecutionType, |
| 36 | Source, | 36 | Source, |
| @@ -75,94 +75,94 @@ namespace WixToolset.Data.Tuples | |||
| 75 | VBScript = 6, | 75 | VBScript = 6, |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public class CustomActionTuple : IntermediateTuple | 78 | public class CustomActionSymbol : IntermediateSymbol |
| 79 | { | 79 | { |
| 80 | public CustomActionTuple() : base(TupleDefinitions.CustomAction, null, null) | 80 | public CustomActionSymbol() : base(SymbolDefinitions.CustomAction, null, null) |
| 81 | { | 81 | { |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | public CustomActionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.CustomAction, sourceLineNumber, id) | 84 | public CustomActionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.CustomAction, sourceLineNumber, id) |
| 85 | { | 85 | { |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | public IntermediateField this[CustomActionTupleFields index] => this.Fields[(int)index]; | 88 | public IntermediateField this[CustomActionSymbolFields index] => this.Fields[(int)index]; |
| 89 | 89 | ||
| 90 | public CustomActionExecutionType ExecutionType | 90 | public CustomActionExecutionType ExecutionType |
| 91 | { | 91 | { |
| 92 | get => (CustomActionExecutionType)this.Fields[(int)CustomActionTupleFields.ExecutionType].AsNumber(); | 92 | get => (CustomActionExecutionType)this.Fields[(int)CustomActionSymbolFields.ExecutionType].AsNumber(); |
| 93 | set => this.Set((int)CustomActionTupleFields.ExecutionType, (int)value); | 93 | set => this.Set((int)CustomActionSymbolFields.ExecutionType, (int)value); |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | public string Source | 96 | public string Source |
| 97 | { | 97 | { |
| 98 | get => (string)this.Fields[(int)CustomActionTupleFields.Source]; | 98 | get => (string)this.Fields[(int)CustomActionSymbolFields.Source]; |
| 99 | set => this.Set((int)CustomActionTupleFields.Source, value); | 99 | set => this.Set((int)CustomActionSymbolFields.Source, value); |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | public CustomActionSourceType SourceType | 102 | public CustomActionSourceType SourceType |
| 103 | { | 103 | { |
| 104 | get => (CustomActionSourceType)this.Fields[(int)CustomActionTupleFields.SourceType].AsNumber(); | 104 | get => (CustomActionSourceType)this.Fields[(int)CustomActionSymbolFields.SourceType].AsNumber(); |
| 105 | set => this.Set((int)CustomActionTupleFields.SourceType, (int)value); | 105 | set => this.Set((int)CustomActionSymbolFields.SourceType, (int)value); |
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | public string Target | 108 | public string Target |
| 109 | { | 109 | { |
| 110 | get => (string)this.Fields[(int)CustomActionTupleFields.Target]; | 110 | get => (string)this.Fields[(int)CustomActionSymbolFields.Target]; |
| 111 | set => this.Set((int)CustomActionTupleFields.Target, value); | 111 | set => this.Set((int)CustomActionSymbolFields.Target, value); |
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | public CustomActionTargetType TargetType | 114 | public CustomActionTargetType TargetType |
| 115 | { | 115 | { |
| 116 | get => (CustomActionTargetType)this.Fields[(int)CustomActionTupleFields.TargetType].AsNumber(); | 116 | get => (CustomActionTargetType)this.Fields[(int)CustomActionSymbolFields.TargetType].AsNumber(); |
| 117 | set => this.Set((int)CustomActionTupleFields.TargetType, (int)value); | 117 | set => this.Set((int)CustomActionSymbolFields.TargetType, (int)value); |
| 118 | } | 118 | } |
| 119 | 119 | ||
| 120 | public bool Async | 120 | public bool Async |
| 121 | { | 121 | { |
| 122 | get => this.Fields[(int)CustomActionTupleFields.Async].AsBool(); | 122 | get => this.Fields[(int)CustomActionSymbolFields.Async].AsBool(); |
| 123 | set => this.Set((int)CustomActionTupleFields.Async, value); | 123 | set => this.Set((int)CustomActionSymbolFields.Async, value); |
| 124 | } | 124 | } |
| 125 | 125 | ||
| 126 | public bool Hidden | 126 | public bool Hidden |
| 127 | { | 127 | { |
| 128 | get => this.Fields[(int)CustomActionTupleFields.Hidden].AsBool(); | 128 | get => this.Fields[(int)CustomActionSymbolFields.Hidden].AsBool(); |
| 129 | set => this.Set((int)CustomActionTupleFields.Hidden, value); | 129 | set => this.Set((int)CustomActionSymbolFields.Hidden, value); |
| 130 | } | 130 | } |
| 131 | 131 | ||
| 132 | public bool IgnoreResult | 132 | public bool IgnoreResult |
| 133 | { | 133 | { |
| 134 | get => this.Fields[(int)CustomActionTupleFields.IgnoreResult].AsBool(); | 134 | get => this.Fields[(int)CustomActionSymbolFields.IgnoreResult].AsBool(); |
| 135 | set => this.Set((int)CustomActionTupleFields.IgnoreResult, value); | 135 | set => this.Set((int)CustomActionSymbolFields.IgnoreResult, value); |
| 136 | } | 136 | } |
| 137 | 137 | ||
| 138 | public bool Impersonate | 138 | public bool Impersonate |
| 139 | { | 139 | { |
| 140 | get => this.Fields[(int)CustomActionTupleFields.Impersonate].AsBool(); | 140 | get => this.Fields[(int)CustomActionSymbolFields.Impersonate].AsBool(); |
| 141 | set => this.Set((int)CustomActionTupleFields.Impersonate, value); | 141 | set => this.Set((int)CustomActionSymbolFields.Impersonate, value); |
| 142 | } | 142 | } |
| 143 | 143 | ||
| 144 | public bool PatchUninstall | 144 | public bool PatchUninstall |
| 145 | { | 145 | { |
| 146 | get => this.Fields[(int)CustomActionTupleFields.PatchUninstall].AsBool(); | 146 | get => this.Fields[(int)CustomActionSymbolFields.PatchUninstall].AsBool(); |
| 147 | set => this.Set((int)CustomActionTupleFields.PatchUninstall, value); | 147 | set => this.Set((int)CustomActionSymbolFields.PatchUninstall, value); |
| 148 | } | 148 | } |
| 149 | 149 | ||
| 150 | public bool TSAware | 150 | public bool TSAware |
| 151 | { | 151 | { |
| 152 | get => this.Fields[(int)CustomActionTupleFields.TSAware].AsBool(); | 152 | get => this.Fields[(int)CustomActionSymbolFields.TSAware].AsBool(); |
| 153 | set => this.Set((int)CustomActionTupleFields.TSAware, value); | 153 | set => this.Set((int)CustomActionSymbolFields.TSAware, value); |
| 154 | } | 154 | } |
| 155 | 155 | ||
| 156 | public bool Win64 | 156 | public bool Win64 |
| 157 | { | 157 | { |
| 158 | get => this.Fields[(int)CustomActionTupleFields.Win64].AsBool(); | 158 | get => this.Fields[(int)CustomActionSymbolFields.Win64].AsBool(); |
| 159 | set => this.Set((int)CustomActionTupleFields.Win64, value); | 159 | set => this.Set((int)CustomActionSymbolFields.Win64, value); |
| 160 | } | 160 | } |
| 161 | 161 | ||
| 162 | public IntermediateFieldPathValue ScriptFile | 162 | public IntermediateFieldPathValue ScriptFile |
| 163 | { | 163 | { |
| 164 | get => this.Fields[(int)CustomActionTupleFields.ScriptFile].AsPath(); | 164 | get => this.Fields[(int)CustomActionSymbolFields.ScriptFile].AsPath(); |
| 165 | set => this.Set((int)CustomActionTupleFields.ScriptFile, value); | 165 | set => this.Set((int)CustomActionSymbolFields.ScriptFile, value); |
| 166 | } | 166 | } |
| 167 | } | 167 | } |
| 168 | } | 168 | } |
diff --git a/src/WixToolset.Data/Tuples/DialogTuple.cs b/src/WixToolset.Data/Tuples/DialogTuple.cs index 492d2fb1..ee030405 100644 --- a/src/WixToolset.Data/Tuples/DialogTuple.cs +++ b/src/WixToolset.Data/Tuples/DialogTuple.cs | |||
| @@ -2,41 +2,41 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Dialog = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Dialog = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Dialog, | 10 | SymbolDefinitionType.Dialog, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(DialogTupleFields.HCentering), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.HCentering), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(DialogTupleFields.VCentering), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.VCentering), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Width), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.Width), IntermediateFieldType.Number), |
| 16 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Height), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.Height), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(DialogTupleFields.CustomPalette), IntermediateFieldType.Bool), | 17 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.CustomPalette), IntermediateFieldType.Bool), |
| 18 | new IntermediateFieldDefinition(nameof(DialogTupleFields.ErrorDialog), IntermediateFieldType.Bool), | 18 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.ErrorDialog), IntermediateFieldType.Bool), |
| 19 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Visible), IntermediateFieldType.Bool), | 19 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.Visible), IntermediateFieldType.Bool), |
| 20 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Modal), IntermediateFieldType.Bool), | 20 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.Modal), IntermediateFieldType.Bool), |
| 21 | new IntermediateFieldDefinition(nameof(DialogTupleFields.KeepModeless), IntermediateFieldType.Bool), | 21 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.KeepModeless), IntermediateFieldType.Bool), |
| 22 | new IntermediateFieldDefinition(nameof(DialogTupleFields.LeftScroll), IntermediateFieldType.Bool), | 22 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.LeftScroll), IntermediateFieldType.Bool), |
| 23 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Minimize), IntermediateFieldType.Bool), | 23 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.Minimize), IntermediateFieldType.Bool), |
| 24 | new IntermediateFieldDefinition(nameof(DialogTupleFields.RightAligned), IntermediateFieldType.Bool), | 24 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.RightAligned), IntermediateFieldType.Bool), |
| 25 | new IntermediateFieldDefinition(nameof(DialogTupleFields.RightToLeft), IntermediateFieldType.Bool), | 25 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.RightToLeft), IntermediateFieldType.Bool), |
| 26 | new IntermediateFieldDefinition(nameof(DialogTupleFields.SystemModal), IntermediateFieldType.Bool), | 26 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.SystemModal), IntermediateFieldType.Bool), |
| 27 | new IntermediateFieldDefinition(nameof(DialogTupleFields.TrackDiskSpace), IntermediateFieldType.Bool), | 27 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.TrackDiskSpace), IntermediateFieldType.Bool), |
| 28 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Title), IntermediateFieldType.String), | 28 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.Title), IntermediateFieldType.String), |
| 29 | new IntermediateFieldDefinition(nameof(DialogTupleFields.FirstControlRef), IntermediateFieldType.String), | 29 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.FirstControlRef), IntermediateFieldType.String), |
| 30 | new IntermediateFieldDefinition(nameof(DialogTupleFields.DefaultControlRef), IntermediateFieldType.String), | 30 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.DefaultControlRef), IntermediateFieldType.String), |
| 31 | new IntermediateFieldDefinition(nameof(DialogTupleFields.CancelControlRef), IntermediateFieldType.String), | 31 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.CancelControlRef), IntermediateFieldType.String), |
| 32 | }, | 32 | }, |
| 33 | typeof(DialogTuple)); | 33 | typeof(DialogSymbol)); |
| 34 | } | 34 | } |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | namespace WixToolset.Data.Tuples | 37 | namespace WixToolset.Data.Symbols |
| 38 | { | 38 | { |
| 39 | public enum DialogTupleFields | 39 | public enum DialogSymbolFields |
| 40 | { | 40 | { |
| 41 | HCentering, | 41 | HCentering, |
| 42 | VCentering, | 42 | VCentering, |
| @@ -59,130 +59,130 @@ namespace WixToolset.Data.Tuples | |||
| 59 | CancelControlRef, | 59 | CancelControlRef, |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public class DialogTuple : IntermediateTuple | 62 | public class DialogSymbol : IntermediateSymbol |
| 63 | { | 63 | { |
| 64 | public DialogTuple() : base(TupleDefinitions.Dialog, null, null) | 64 | public DialogSymbol() : base(SymbolDefinitions.Dialog, null, null) |
| 65 | { | 65 | { |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public DialogTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Dialog, sourceLineNumber, id) | 68 | public DialogSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Dialog, sourceLineNumber, id) |
| 69 | { | 69 | { |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public IntermediateField this[DialogTupleFields index] => this.Fields[(int)index]; | 72 | public IntermediateField this[DialogSymbolFields index] => this.Fields[(int)index]; |
| 73 | 73 | ||
| 74 | public int HCentering | 74 | public int HCentering |
| 75 | { | 75 | { |
| 76 | get => (int)this.Fields[(int)DialogTupleFields.HCentering]; | 76 | get => (int)this.Fields[(int)DialogSymbolFields.HCentering]; |
| 77 | set => this.Set((int)DialogTupleFields.HCentering, value); | 77 | set => this.Set((int)DialogSymbolFields.HCentering, value); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public int VCentering | 80 | public int VCentering |
| 81 | { | 81 | { |
| 82 | get => (int)this.Fields[(int)DialogTupleFields.VCentering]; | 82 | get => (int)this.Fields[(int)DialogSymbolFields.VCentering]; |
| 83 | set => this.Set((int)DialogTupleFields.VCentering, value); | 83 | set => this.Set((int)DialogSymbolFields.VCentering, value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public int Width | 86 | public int Width |
| 87 | { | 87 | { |
| 88 | get => (int)this.Fields[(int)DialogTupleFields.Width]; | 88 | get => (int)this.Fields[(int)DialogSymbolFields.Width]; |
| 89 | set => this.Set((int)DialogTupleFields.Width, value); | 89 | set => this.Set((int)DialogSymbolFields.Width, value); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | public int Height | 92 | public int Height |
| 93 | { | 93 | { |
| 94 | get => (int)this.Fields[(int)DialogTupleFields.Height]; | 94 | get => (int)this.Fields[(int)DialogSymbolFields.Height]; |
| 95 | set => this.Set((int)DialogTupleFields.Height, value); | 95 | set => this.Set((int)DialogSymbolFields.Height, value); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | public bool CustomPalette | 98 | public bool CustomPalette |
| 99 | { | 99 | { |
| 100 | get => this.Fields[(int)DialogTupleFields.CustomPalette].AsBool(); | 100 | get => this.Fields[(int)DialogSymbolFields.CustomPalette].AsBool(); |
| 101 | set => this.Set((int)DialogTupleFields.CustomPalette, value); | 101 | set => this.Set((int)DialogSymbolFields.CustomPalette, value); |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | public bool ErrorDialog | 104 | public bool ErrorDialog |
| 105 | { | 105 | { |
| 106 | get => this.Fields[(int)DialogTupleFields.ErrorDialog].AsBool(); | 106 | get => this.Fields[(int)DialogSymbolFields.ErrorDialog].AsBool(); |
| 107 | set => this.Set((int)DialogTupleFields.ErrorDialog, value); | 107 | set => this.Set((int)DialogSymbolFields.ErrorDialog, value); |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | public bool Visible | 110 | public bool Visible |
| 111 | { | 111 | { |
| 112 | get => this.Fields[(int)DialogTupleFields.Visible].AsBool(); | 112 | get => this.Fields[(int)DialogSymbolFields.Visible].AsBool(); |
| 113 | set => this.Set((int)DialogTupleFields.Visible, value); | 113 | set => this.Set((int)DialogSymbolFields.Visible, value); |
| 114 | } | 114 | } |
| 115 | 115 | ||
| 116 | public bool Modal | 116 | public bool Modal |
| 117 | { | 117 | { |
| 118 | get => this.Fields[(int)DialogTupleFields.Modal].AsBool(); | 118 | get => this.Fields[(int)DialogSymbolFields.Modal].AsBool(); |
| 119 | set => this.Set((int)DialogTupleFields.Modal, value); | 119 | set => this.Set((int)DialogSymbolFields.Modal, value); |
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | public bool KeepModeless | 122 | public bool KeepModeless |
| 123 | { | 123 | { |
| 124 | get => this.Fields[(int)DialogTupleFields.KeepModeless].AsBool(); | 124 | get => this.Fields[(int)DialogSymbolFields.KeepModeless].AsBool(); |
| 125 | set => this.Set((int)DialogTupleFields.KeepModeless, value); | 125 | set => this.Set((int)DialogSymbolFields.KeepModeless, value); |
| 126 | } | 126 | } |
| 127 | 127 | ||
| 128 | public bool LeftScroll | 128 | public bool LeftScroll |
| 129 | { | 129 | { |
| 130 | get => this.Fields[(int)DialogTupleFields.LeftScroll].AsBool(); | 130 | get => this.Fields[(int)DialogSymbolFields.LeftScroll].AsBool(); |
| 131 | set => this.Set((int)DialogTupleFields.LeftScroll, value); | 131 | set => this.Set((int)DialogSymbolFields.LeftScroll, value); |
| 132 | } | 132 | } |
| 133 | 133 | ||
| 134 | public bool Minimize | 134 | public bool Minimize |
| 135 | { | 135 | { |
| 136 | get => this.Fields[(int)DialogTupleFields.Minimize].AsBool(); | 136 | get => this.Fields[(int)DialogSymbolFields.Minimize].AsBool(); |
| 137 | set => this.Set((int)DialogTupleFields.Minimize, value); | 137 | set => this.Set((int)DialogSymbolFields.Minimize, value); |
| 138 | } | 138 | } |
| 139 | 139 | ||
| 140 | public bool RightAligned | 140 | public bool RightAligned |
| 141 | { | 141 | { |
| 142 | get => this.Fields[(int)DialogTupleFields.RightAligned].AsBool(); | 142 | get => this.Fields[(int)DialogSymbolFields.RightAligned].AsBool(); |
| 143 | set => this.Set((int)DialogTupleFields.RightAligned, value); | 143 | set => this.Set((int)DialogSymbolFields.RightAligned, value); |
| 144 | } | 144 | } |
| 145 | 145 | ||
| 146 | public bool RightToLeft | 146 | public bool RightToLeft |
| 147 | { | 147 | { |
| 148 | get => this.Fields[(int)DialogTupleFields.RightToLeft].AsBool(); | 148 | get => this.Fields[(int)DialogSymbolFields.RightToLeft].AsBool(); |
| 149 | set => this.Set((int)DialogTupleFields.RightToLeft, value); | 149 | set => this.Set((int)DialogSymbolFields.RightToLeft, value); |
| 150 | } | 150 | } |
| 151 | 151 | ||
| 152 | public bool TrackDiskSpace | 152 | public bool TrackDiskSpace |
| 153 | { | 153 | { |
| 154 | get => this.Fields[(int)DialogTupleFields.TrackDiskSpace].AsBool(); | 154 | get => this.Fields[(int)DialogSymbolFields.TrackDiskSpace].AsBool(); |
| 155 | set => this.Set((int)DialogTupleFields.TrackDiskSpace, value); | 155 | set => this.Set((int)DialogSymbolFields.TrackDiskSpace, value); |
| 156 | } | 156 | } |
| 157 | 157 | ||
| 158 | public bool SystemModal | 158 | public bool SystemModal |
| 159 | { | 159 | { |
| 160 | get => this.Fields[(int)DialogTupleFields.SystemModal].AsBool(); | 160 | get => this.Fields[(int)DialogSymbolFields.SystemModal].AsBool(); |
| 161 | set => this.Set((int)DialogTupleFields.SystemModal, value); | 161 | set => this.Set((int)DialogSymbolFields.SystemModal, value); |
| 162 | } | 162 | } |
| 163 | 163 | ||
| 164 | public string Title | 164 | public string Title |
| 165 | { | 165 | { |
| 166 | get => (string)this.Fields[(int)DialogTupleFields.Title]; | 166 | get => (string)this.Fields[(int)DialogSymbolFields.Title]; |
| 167 | set => this.Set((int)DialogTupleFields.Title, value); | 167 | set => this.Set((int)DialogSymbolFields.Title, value); |
| 168 | } | 168 | } |
| 169 | 169 | ||
| 170 | public string FirstControlRef | 170 | public string FirstControlRef |
| 171 | { | 171 | { |
| 172 | get => (string)this.Fields[(int)DialogTupleFields.FirstControlRef]; | 172 | get => (string)this.Fields[(int)DialogSymbolFields.FirstControlRef]; |
| 173 | set => this.Set((int)DialogTupleFields.FirstControlRef, value); | 173 | set => this.Set((int)DialogSymbolFields.FirstControlRef, value); |
| 174 | } | 174 | } |
| 175 | 175 | ||
| 176 | public string DefaultControlRef | 176 | public string DefaultControlRef |
| 177 | { | 177 | { |
| 178 | get => (string)this.Fields[(int)DialogTupleFields.DefaultControlRef]; | 178 | get => (string)this.Fields[(int)DialogSymbolFields.DefaultControlRef]; |
| 179 | set => this.Set((int)DialogTupleFields.DefaultControlRef, value); | 179 | set => this.Set((int)DialogSymbolFields.DefaultControlRef, value); |
| 180 | } | 180 | } |
| 181 | 181 | ||
| 182 | public string CancelControlRef | 182 | public string CancelControlRef |
| 183 | { | 183 | { |
| 184 | get => (string)this.Fields[(int)DialogTupleFields.CancelControlRef]; | 184 | get => (string)this.Fields[(int)DialogSymbolFields.CancelControlRef]; |
| 185 | set => this.Set((int)DialogTupleFields.CancelControlRef, value); | 185 | set => this.Set((int)DialogSymbolFields.CancelControlRef, value); |
| 186 | } | 186 | } |
| 187 | } | 187 | } |
| 188 | } \ No newline at end of file | 188 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/DirectoryTuple.cs b/src/WixToolset.Data/Tuples/DirectoryTuple.cs index 51f559aa..209f5ca1 100644 --- a/src/WixToolset.Data/Tuples/DirectoryTuple.cs +++ b/src/WixToolset.Data/Tuples/DirectoryTuple.cs | |||
| @@ -2,28 +2,28 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Directory = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Directory = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Directory, | 10 | SymbolDefinitionType.Directory, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(DirectoryTupleFields.ParentDirectoryRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(DirectorySymbolFields.ParentDirectoryRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(DirectoryTupleFields.Name), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(DirectorySymbolFields.Name), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(DirectoryTupleFields.ShortName), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(DirectorySymbolFields.ShortName), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(DirectoryTupleFields.SourceName), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(DirectorySymbolFields.SourceName), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(DirectoryTupleFields.SourceShortName), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(DirectorySymbolFields.SourceShortName), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(DirectoryTupleFields.ComponentGuidGenerationSeed), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(DirectorySymbolFields.ComponentGuidGenerationSeed), IntermediateFieldType.String), |
| 19 | }, | 19 | }, |
| 20 | typeof(DirectoryTuple)); | 20 | typeof(DirectorySymbol)); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
| 25 | { | 25 | { |
| 26 | public enum DirectoryTupleFields | 26 | public enum DirectorySymbolFields |
| 27 | { | 27 | { |
| 28 | ParentDirectoryRef, | 28 | ParentDirectoryRef, |
| 29 | Name, | 29 | Name, |
| @@ -33,52 +33,52 @@ namespace WixToolset.Data.Tuples | |||
| 33 | ComponentGuidGenerationSeed, | 33 | ComponentGuidGenerationSeed, |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public class DirectoryTuple : IntermediateTuple | 36 | public class DirectorySymbol : IntermediateSymbol |
| 37 | { | 37 | { |
| 38 | public DirectoryTuple() : base(TupleDefinitions.Directory, null, null) | 38 | public DirectorySymbol() : base(SymbolDefinitions.Directory, null, null) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public DirectoryTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Directory, sourceLineNumber, id) | 42 | public DirectorySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Directory, sourceLineNumber, id) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public IntermediateField this[DirectoryTupleFields index] => this.Fields[(int)index]; | 46 | public IntermediateField this[DirectorySymbolFields index] => this.Fields[(int)index]; |
| 47 | 47 | ||
| 48 | public string ParentDirectoryRef | 48 | public string ParentDirectoryRef |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)DirectoryTupleFields.ParentDirectoryRef]; | 50 | get => (string)this.Fields[(int)DirectorySymbolFields.ParentDirectoryRef]; |
| 51 | set => this.Set((int)DirectoryTupleFields.ParentDirectoryRef, value); | 51 | set => this.Set((int)DirectorySymbolFields.ParentDirectoryRef, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string Name | 54 | public string Name |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)DirectoryTupleFields.Name]; | 56 | get => (string)this.Fields[(int)DirectorySymbolFields.Name]; |
| 57 | set => this.Set((int)DirectoryTupleFields.Name, value); | 57 | set => this.Set((int)DirectorySymbolFields.Name, value); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public string ShortName | 60 | public string ShortName |
| 61 | { | 61 | { |
| 62 | get => (string)this.Fields[(int)DirectoryTupleFields.ShortName]; | 62 | get => (string)this.Fields[(int)DirectorySymbolFields.ShortName]; |
| 63 | set => this.Set((int)DirectoryTupleFields.ShortName, value); | 63 | set => this.Set((int)DirectorySymbolFields.ShortName, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public string SourceName | 66 | public string SourceName |
| 67 | { | 67 | { |
| 68 | get => (string)this.Fields[(int)DirectoryTupleFields.SourceName]; | 68 | get => (string)this.Fields[(int)DirectorySymbolFields.SourceName]; |
| 69 | set => this.Set((int)DirectoryTupleFields.SourceName, value); | 69 | set => this.Set((int)DirectorySymbolFields.SourceName, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public string SourceShortName | 72 | public string SourceShortName |
| 73 | { | 73 | { |
| 74 | get => (string)this.Fields[(int)DirectoryTupleFields.SourceShortName]; | 74 | get => (string)this.Fields[(int)DirectorySymbolFields.SourceShortName]; |
| 75 | set => this.Set((int)DirectoryTupleFields.SourceShortName, value); | 75 | set => this.Set((int)DirectorySymbolFields.SourceShortName, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public string ComponentGuidGenerationSeed | 78 | public string ComponentGuidGenerationSeed |
| 79 | { | 79 | { |
| 80 | get => (string)this.Fields[(int)DirectoryTupleFields.ComponentGuidGenerationSeed]; | 80 | get => (string)this.Fields[(int)DirectorySymbolFields.ComponentGuidGenerationSeed]; |
| 81 | set => this.Set((int)DirectoryTupleFields.ComponentGuidGenerationSeed, value); | 81 | set => this.Set((int)DirectorySymbolFields.ComponentGuidGenerationSeed, value); |
| 82 | } | 82 | } |
| 83 | } | 83 | } |
| 84 | } | 84 | } |
diff --git a/src/WixToolset.Data/Tuples/DrLocatorTuple.cs b/src/WixToolset.Data/Tuples/DrLocatorTuple.cs index 667ffda1..e403c61c 100644 --- a/src/WixToolset.Data/Tuples/DrLocatorTuple.cs +++ b/src/WixToolset.Data/Tuples/DrLocatorTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 DrLocator = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition DrLocator = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.DrLocator, | 10 | SymbolDefinitionType.DrLocator, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(DrLocatorTupleFields.SignatureRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(DrLocatorSymbolFields.SignatureRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(DrLocatorTupleFields.Parent), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(DrLocatorSymbolFields.Parent), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(DrLocatorTupleFields.Path), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(DrLocatorSymbolFields.Path), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(DrLocatorTupleFields.Depth), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(DrLocatorSymbolFields.Depth), IntermediateFieldType.Number), |
| 17 | }, | 17 | }, |
| 18 | typeof(DrLocatorTuple)); | 18 | typeof(DrLocatorSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum DrLocatorTupleFields | 24 | public enum DrLocatorSymbolFields |
| 25 | { | 25 | { |
| 26 | SignatureRef, | 26 | SignatureRef, |
| 27 | Parent, | 27 | Parent, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Depth, | 29 | Depth, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class DrLocatorTuple : IntermediateTuple | 32 | public class DrLocatorSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public DrLocatorTuple() : base(TupleDefinitions.DrLocator, null, null) | 34 | public DrLocatorSymbol() : base(SymbolDefinitions.DrLocator, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public DrLocatorTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.DrLocator, sourceLineNumber, id) | 38 | public DrLocatorSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.DrLocator, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[DrLocatorTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[DrLocatorSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string SignatureRef | 44 | public string SignatureRef |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)DrLocatorTupleFields.SignatureRef]; | 46 | get => (string)this.Fields[(int)DrLocatorSymbolFields.SignatureRef]; |
| 47 | set => this.Set((int)DrLocatorTupleFields.SignatureRef, value); | 47 | set => this.Set((int)DrLocatorSymbolFields.SignatureRef, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string Parent | 50 | public string Parent |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)DrLocatorTupleFields.Parent]; | 52 | get => (string)this.Fields[(int)DrLocatorSymbolFields.Parent]; |
| 53 | set => this.Set((int)DrLocatorTupleFields.Parent, value); | 53 | set => this.Set((int)DrLocatorSymbolFields.Parent, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string Path | 56 | public string Path |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)DrLocatorTupleFields.Path]; | 58 | get => (string)this.Fields[(int)DrLocatorSymbolFields.Path]; |
| 59 | set => this.Set((int)DrLocatorTupleFields.Path, value); | 59 | set => this.Set((int)DrLocatorSymbolFields.Path, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public int? Depth | 62 | public int? Depth |
| 63 | { | 63 | { |
| 64 | get => (int?)this.Fields[(int)DrLocatorTupleFields.Depth]; | 64 | get => (int?)this.Fields[(int)DrLocatorSymbolFields.Depth]; |
| 65 | set => this.Set((int)DrLocatorTupleFields.Depth, value); | 65 | set => this.Set((int)DrLocatorSymbolFields.Depth, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/DuplicateFileTuple.cs b/src/WixToolset.Data/Tuples/DuplicateFileTuple.cs index 87220e80..1344ced4 100644 --- a/src/WixToolset.Data/Tuples/DuplicateFileTuple.cs +++ b/src/WixToolset.Data/Tuples/DuplicateFileTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 DuplicateFile = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition DuplicateFile = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.DuplicateFile, | 10 | SymbolDefinitionType.DuplicateFile, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(DuplicateFileTupleFields.ComponentRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(DuplicateFileSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(DuplicateFileTupleFields.FileRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(DuplicateFileSymbolFields.FileRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(DuplicateFileTupleFields.DestinationName), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(DuplicateFileSymbolFields.DestinationName), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(DuplicateFileTupleFields.DestinationFolder), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(DuplicateFileSymbolFields.DestinationFolder), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(DuplicateFileTuple)); | 18 | typeof(DuplicateFileSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum DuplicateFileTupleFields | 24 | public enum DuplicateFileSymbolFields |
| 25 | { | 25 | { |
| 26 | ComponentRef, | 26 | ComponentRef, |
| 27 | FileRef, | 27 | FileRef, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | DestinationFolder, | 29 | DestinationFolder, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class DuplicateFileTuple : IntermediateTuple | 32 | public class DuplicateFileSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public DuplicateFileTuple() : base(TupleDefinitions.DuplicateFile, null, null) | 34 | public DuplicateFileSymbol() : base(SymbolDefinitions.DuplicateFile, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public DuplicateFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.DuplicateFile, sourceLineNumber, id) | 38 | public DuplicateFileSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.DuplicateFile, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[DuplicateFileTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[DuplicateFileSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string ComponentRef | 44 | public string ComponentRef |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)DuplicateFileTupleFields.ComponentRef]; | 46 | get => (string)this.Fields[(int)DuplicateFileSymbolFields.ComponentRef]; |
| 47 | set => this.Set((int)DuplicateFileTupleFields.ComponentRef, value); | 47 | set => this.Set((int)DuplicateFileSymbolFields.ComponentRef, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string FileRef | 50 | public string FileRef |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)DuplicateFileTupleFields.FileRef]; | 52 | get => (string)this.Fields[(int)DuplicateFileSymbolFields.FileRef]; |
| 53 | set => this.Set((int)DuplicateFileTupleFields.FileRef, value); | 53 | set => this.Set((int)DuplicateFileSymbolFields.FileRef, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string DestinationName | 56 | public string DestinationName |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)DuplicateFileTupleFields.DestinationName]; | 58 | get => (string)this.Fields[(int)DuplicateFileSymbolFields.DestinationName]; |
| 59 | set => this.Set((int)DuplicateFileTupleFields.DestinationName, value); | 59 | set => this.Set((int)DuplicateFileSymbolFields.DestinationName, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string DestinationFolder | 62 | public string DestinationFolder |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)DuplicateFileTupleFields.DestinationFolder]; | 64 | get => (string)this.Fields[(int)DuplicateFileSymbolFields.DestinationFolder]; |
| 65 | set => this.Set((int)DuplicateFileTupleFields.DestinationFolder, value); | 65 | set => this.Set((int)DuplicateFileSymbolFields.DestinationFolder, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/EnvironmentTuple.cs b/src/WixToolset.Data/Tuples/EnvironmentTuple.cs index 98c51f4d..3fe12d4b 100644 --- a/src/WixToolset.Data/Tuples/EnvironmentTuple.cs +++ b/src/WixToolset.Data/Tuples/EnvironmentTuple.cs | |||
| @@ -2,30 +2,30 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Environment = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Environment = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Environment, | 10 | SymbolDefinitionType.Environment, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(EnvironmentTupleFields.Name), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(EnvironmentSymbolFields.Name), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(EnvironmentTupleFields.Value), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(EnvironmentSymbolFields.Value), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(EnvironmentTupleFields.Separator), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(EnvironmentSymbolFields.Separator), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(EnvironmentTupleFields.Action), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(EnvironmentSymbolFields.Action), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(EnvironmentTupleFields.Part), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(EnvironmentSymbolFields.Part), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(EnvironmentTupleFields.Permanent), IntermediateFieldType.Bool), | 18 | new IntermediateFieldDefinition(nameof(EnvironmentSymbolFields.Permanent), IntermediateFieldType.Bool), |
| 19 | new IntermediateFieldDefinition(nameof(EnvironmentTupleFields.System), IntermediateFieldType.Bool), | 19 | new IntermediateFieldDefinition(nameof(EnvironmentSymbolFields.System), IntermediateFieldType.Bool), |
| 20 | new IntermediateFieldDefinition(nameof(EnvironmentTupleFields.ComponentRef), IntermediateFieldType.String), | 20 | new IntermediateFieldDefinition(nameof(EnvironmentSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 21 | }, | 21 | }, |
| 22 | typeof(EnvironmentTuple)); | 22 | typeof(EnvironmentSymbol)); |
| 23 | } | 23 | } |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | namespace WixToolset.Data.Tuples | 26 | namespace WixToolset.Data.Symbols |
| 27 | { | 27 | { |
| 28 | public enum EnvironmentTupleFields | 28 | public enum EnvironmentSymbolFields |
| 29 | { | 29 | { |
| 30 | Name, | 30 | Name, |
| 31 | Value, | 31 | Value, |
| @@ -51,64 +51,64 @@ namespace WixToolset.Data.Tuples | |||
| 51 | Last | 51 | Last |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public class EnvironmentTuple : IntermediateTuple | 54 | public class EnvironmentSymbol : IntermediateSymbol |
| 55 | { | 55 | { |
| 56 | public EnvironmentTuple() : base(TupleDefinitions.Environment, null, null) | 56 | public EnvironmentSymbol() : base(SymbolDefinitions.Environment, null, null) |
| 57 | { | 57 | { |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public EnvironmentTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Environment, sourceLineNumber, id) | 60 | public EnvironmentSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Environment, sourceLineNumber, id) |
| 61 | { | 61 | { |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public IntermediateField this[EnvironmentTupleFields index] => this.Fields[(int)index]; | 64 | public IntermediateField this[EnvironmentSymbolFields index] => this.Fields[(int)index]; |
| 65 | 65 | ||
| 66 | public string Name | 66 | public string Name |
| 67 | { | 67 | { |
| 68 | get => (string)this.Fields[(int)EnvironmentTupleFields.Name]; | 68 | get => (string)this.Fields[(int)EnvironmentSymbolFields.Name]; |
| 69 | set => this.Set((int)EnvironmentTupleFields.Name, value); | 69 | set => this.Set((int)EnvironmentSymbolFields.Name, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public string Value | 72 | public string Value |
| 73 | { | 73 | { |
| 74 | get => (string)this.Fields[(int)EnvironmentTupleFields.Value]; | 74 | get => (string)this.Fields[(int)EnvironmentSymbolFields.Value]; |
| 75 | set => this.Set((int)EnvironmentTupleFields.Value, value); | 75 | set => this.Set((int)EnvironmentSymbolFields.Value, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public string Separator | 78 | public string Separator |
| 79 | { | 79 | { |
| 80 | get => (string)this.Fields[(int)EnvironmentTupleFields.Separator]; | 80 | get => (string)this.Fields[(int)EnvironmentSymbolFields.Separator]; |
| 81 | set => this.Set((int)EnvironmentTupleFields.Separator, value); | 81 | set => this.Set((int)EnvironmentSymbolFields.Separator, value); |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | public EnvironmentActionType? Action | 84 | public EnvironmentActionType? Action |
| 85 | { | 85 | { |
| 86 | get => (EnvironmentActionType?)this.Fields[(int)EnvironmentTupleFields.Action].AsNullableNumber(); | 86 | get => (EnvironmentActionType?)this.Fields[(int)EnvironmentSymbolFields.Action].AsNullableNumber(); |
| 87 | set => this.Set((int)EnvironmentTupleFields.Action, (int?)value); | 87 | set => this.Set((int)EnvironmentSymbolFields.Action, (int?)value); |
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | public EnvironmentPartType? Part | 90 | public EnvironmentPartType? Part |
| 91 | { | 91 | { |
| 92 | get => (EnvironmentPartType?)this.Fields[(int)EnvironmentTupleFields.Part].AsNullableNumber(); | 92 | get => (EnvironmentPartType?)this.Fields[(int)EnvironmentSymbolFields.Part].AsNullableNumber(); |
| 93 | set => this.Set((int)EnvironmentTupleFields.Part, (int?)value); | 93 | set => this.Set((int)EnvironmentSymbolFields.Part, (int?)value); |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | public bool Permanent | 96 | public bool Permanent |
| 97 | { | 97 | { |
| 98 | get => this.Fields[(int)EnvironmentTupleFields.Permanent].AsBool(); | 98 | get => this.Fields[(int)EnvironmentSymbolFields.Permanent].AsBool(); |
| 99 | set => this.Set((int)EnvironmentTupleFields.Permanent, value); | 99 | set => this.Set((int)EnvironmentSymbolFields.Permanent, value); |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | public bool System | 102 | public bool System |
| 103 | { | 103 | { |
| 104 | get => this.Fields[(int)EnvironmentTupleFields.System].AsBool(); | 104 | get => this.Fields[(int)EnvironmentSymbolFields.System].AsBool(); |
| 105 | set => this.Set((int)EnvironmentTupleFields.System, value); | 105 | set => this.Set((int)EnvironmentSymbolFields.System, value); |
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | public string ComponentRef | 108 | public string ComponentRef |
| 109 | { | 109 | { |
| 110 | get => (string)this.Fields[(int)EnvironmentTupleFields.ComponentRef]; | 110 | get => (string)this.Fields[(int)EnvironmentSymbolFields.ComponentRef]; |
| 111 | set => this.Set((int)EnvironmentTupleFields.ComponentRef, value); | 111 | set => this.Set((int)EnvironmentSymbolFields.ComponentRef, value); |
| 112 | } | 112 | } |
| 113 | } | 113 | } |
| 114 | } \ No newline at end of file | 114 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ErrorTuple.cs b/src/WixToolset.Data/Tuples/ErrorTuple.cs index 89968283..d2994598 100644 --- a/src/WixToolset.Data/Tuples/ErrorTuple.cs +++ b/src/WixToolset.Data/Tuples/ErrorTuple.cs | |||
| @@ -2,43 +2,43 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Error = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Error = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Error, | 10 | SymbolDefinitionType.Error, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ErrorTupleFields.Message), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ErrorSymbolFields.Message), IntermediateFieldType.String), |
| 14 | }, | 14 | }, |
| 15 | typeof(ErrorTuple)); | 15 | typeof(ErrorSymbol)); |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
| 20 | { | 20 | { |
| 21 | public enum ErrorTupleFields | 21 | public enum ErrorSymbolFields |
| 22 | { | 22 | { |
| 23 | Message, | 23 | Message, |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | public class ErrorTuple : IntermediateTuple | 26 | public class ErrorSymbol : IntermediateSymbol |
| 27 | { | 27 | { |
| 28 | public ErrorTuple() : base(TupleDefinitions.Error, null, null) | 28 | public ErrorSymbol() : base(SymbolDefinitions.Error, null, null) |
| 29 | { | 29 | { |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public ErrorTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Error, sourceLineNumber, id) | 32 | public ErrorSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Error, sourceLineNumber, id) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public IntermediateField this[ErrorTupleFields index] => this.Fields[(int)index]; | 36 | public IntermediateField this[ErrorSymbolFields index] => this.Fields[(int)index]; |
| 37 | 37 | ||
| 38 | public string Message | 38 | public string Message |
| 39 | { | 39 | { |
| 40 | get => (string)this.Fields[(int)ErrorTupleFields.Message]; | 40 | get => (string)this.Fields[(int)ErrorSymbolFields.Message]; |
| 41 | set => this.Set((int)ErrorTupleFields.Message, value); | 41 | set => this.Set((int)ErrorSymbolFields.Message, value); |
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | } \ No newline at end of file | 44 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/EventMappingTuple.cs b/src/WixToolset.Data/Tuples/EventMappingTuple.cs index d172d4ce..fec7be3b 100644 --- a/src/WixToolset.Data/Tuples/EventMappingTuple.cs +++ b/src/WixToolset.Data/Tuples/EventMappingTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 EventMapping = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition EventMapping = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.EventMapping, | 10 | SymbolDefinitionType.EventMapping, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(EventMappingTupleFields.DialogRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(EventMappingSymbolFields.DialogRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(EventMappingTupleFields.ControlRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(EventMappingSymbolFields.ControlRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(EventMappingTupleFields.Event), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(EventMappingSymbolFields.Event), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(EventMappingTupleFields.Attribute), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(EventMappingSymbolFields.Attribute), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(EventMappingTuple)); | 18 | typeof(EventMappingSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum EventMappingTupleFields | 24 | public enum EventMappingSymbolFields |
| 25 | { | 25 | { |
| 26 | DialogRef, | 26 | DialogRef, |
| 27 | ControlRef, | 27 | ControlRef, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Attribute, | 29 | Attribute, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class EventMappingTuple : IntermediateTuple | 32 | public class EventMappingSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public EventMappingTuple() : base(TupleDefinitions.EventMapping, null, null) | 34 | public EventMappingSymbol() : base(SymbolDefinitions.EventMapping, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public EventMappingTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.EventMapping, sourceLineNumber, id) | 38 | public EventMappingSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.EventMapping, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[EventMappingTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[EventMappingSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string DialogRef | 44 | public string DialogRef |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)EventMappingTupleFields.DialogRef]; | 46 | get => (string)this.Fields[(int)EventMappingSymbolFields.DialogRef]; |
| 47 | set => this.Set((int)EventMappingTupleFields.DialogRef, value); | 47 | set => this.Set((int)EventMappingSymbolFields.DialogRef, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string ControlRef | 50 | public string ControlRef |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)EventMappingTupleFields.ControlRef]; | 52 | get => (string)this.Fields[(int)EventMappingSymbolFields.ControlRef]; |
| 53 | set => this.Set((int)EventMappingTupleFields.ControlRef, value); | 53 | set => this.Set((int)EventMappingSymbolFields.ControlRef, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string Event | 56 | public string Event |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)EventMappingTupleFields.Event]; | 58 | get => (string)this.Fields[(int)EventMappingSymbolFields.Event]; |
| 59 | set => this.Set((int)EventMappingTupleFields.Event, value); | 59 | set => this.Set((int)EventMappingSymbolFields.Event, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Attribute | 62 | public string Attribute |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)EventMappingTupleFields.Attribute]; | 64 | get => (string)this.Fields[(int)EventMappingSymbolFields.Attribute]; |
| 65 | set => this.Set((int)EventMappingTupleFields.Attribute, value); | 65 | set => this.Set((int)EventMappingSymbolFields.Attribute, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ExtensionTuple.cs b/src/WixToolset.Data/Tuples/ExtensionTuple.cs index 8d817079..b8806971 100644 --- a/src/WixToolset.Data/Tuples/ExtensionTuple.cs +++ b/src/WixToolset.Data/Tuples/ExtensionTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Extension = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Extension = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Extension, | 10 | SymbolDefinitionType.Extension, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ExtensionTupleFields.Extension), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ExtensionSymbolFields.Extension), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ExtensionTupleFields.ComponentRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ExtensionSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ExtensionTupleFields.ProgIdRef), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ExtensionSymbolFields.ProgIdRef), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ExtensionTupleFields.MimeRef), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ExtensionSymbolFields.MimeRef), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(ExtensionTupleFields.FeatureRef), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(ExtensionSymbolFields.FeatureRef), IntermediateFieldType.String), |
| 18 | }, | 18 | }, |
| 19 | typeof(ExtensionTuple)); | 19 | typeof(ExtensionSymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | public enum ExtensionTupleFields | 25 | public enum ExtensionSymbolFields |
| 26 | { | 26 | { |
| 27 | Extension, | 27 | Extension, |
| 28 | ComponentRef, | 28 | ComponentRef, |
| @@ -31,46 +31,46 @@ namespace WixToolset.Data.Tuples | |||
| 31 | FeatureRef, | 31 | FeatureRef, |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public class ExtensionTuple : IntermediateTuple | 34 | public class ExtensionSymbol : IntermediateSymbol |
| 35 | { | 35 | { |
| 36 | public ExtensionTuple() : base(TupleDefinitions.Extension, null, null) | 36 | public ExtensionSymbol() : base(SymbolDefinitions.Extension, null, null) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public ExtensionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Extension, sourceLineNumber, id) | 40 | public ExtensionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Extension, sourceLineNumber, id) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public IntermediateField this[ExtensionTupleFields index] => this.Fields[(int)index]; | 44 | public IntermediateField this[ExtensionSymbolFields index] => this.Fields[(int)index]; |
| 45 | 45 | ||
| 46 | public string Extension | 46 | public string Extension |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)ExtensionTupleFields.Extension]; | 48 | get => (string)this.Fields[(int)ExtensionSymbolFields.Extension]; |
| 49 | set => this.Set((int)ExtensionTupleFields.Extension, value); | 49 | set => this.Set((int)ExtensionSymbolFields.Extension, value); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | public string ComponentRef | 52 | public string ComponentRef |
| 53 | { | 53 | { |
| 54 | get => (string)this.Fields[(int)ExtensionTupleFields.ComponentRef]; | 54 | get => (string)this.Fields[(int)ExtensionSymbolFields.ComponentRef]; |
| 55 | set => this.Set((int)ExtensionTupleFields.ComponentRef, value); | 55 | set => this.Set((int)ExtensionSymbolFields.ComponentRef, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public string ProgIdRef | 58 | public string ProgIdRef |
| 59 | { | 59 | { |
| 60 | get => (string)this.Fields[(int)ExtensionTupleFields.ProgIdRef]; | 60 | get => (string)this.Fields[(int)ExtensionSymbolFields.ProgIdRef]; |
| 61 | set => this.Set((int)ExtensionTupleFields.ProgIdRef, value); | 61 | set => this.Set((int)ExtensionSymbolFields.ProgIdRef, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public string MimeRef | 64 | public string MimeRef |
| 65 | { | 65 | { |
| 66 | get => (string)this.Fields[(int)ExtensionTupleFields.MimeRef]; | 66 | get => (string)this.Fields[(int)ExtensionSymbolFields.MimeRef]; |
| 67 | set => this.Set((int)ExtensionTupleFields.MimeRef, value); | 67 | set => this.Set((int)ExtensionSymbolFields.MimeRef, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public string FeatureRef | 70 | public string FeatureRef |
| 71 | { | 71 | { |
| 72 | get => (string)this.Fields[(int)ExtensionTupleFields.FeatureRef]; | 72 | get => (string)this.Fields[(int)ExtensionSymbolFields.FeatureRef]; |
| 73 | set => this.Set((int)ExtensionTupleFields.FeatureRef, value); | 73 | set => this.Set((int)ExtensionSymbolFields.FeatureRef, value); |
| 74 | } | 74 | } |
| 75 | } | 75 | } |
| 76 | } \ No newline at end of file | 76 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ExternalFilesTuple.cs b/src/WixToolset.Data/Tuples/ExternalFilesTuple.cs index c3352c13..87888f0b 100644 --- a/src/WixToolset.Data/Tuples/ExternalFilesTuple.cs +++ b/src/WixToolset.Data/Tuples/ExternalFilesTuple.cs | |||
| @@ -2,30 +2,30 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ExternalFiles = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ExternalFiles = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ExternalFiles, | 10 | SymbolDefinitionType.ExternalFiles, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ExternalFilesTupleFields.Family), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ExternalFilesSymbolFields.Family), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ExternalFilesTupleFields.FTK), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ExternalFilesSymbolFields.FTK), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ExternalFilesTupleFields.FilePath), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ExternalFilesSymbolFields.FilePath), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ExternalFilesTupleFields.SymbolPaths), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ExternalFilesSymbolFields.SymbolPaths), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(ExternalFilesTupleFields.IgnoreOffsets), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(ExternalFilesSymbolFields.IgnoreOffsets), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(ExternalFilesTupleFields.IgnoreLengths), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(ExternalFilesSymbolFields.IgnoreLengths), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(ExternalFilesTupleFields.RetainOffsets), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(ExternalFilesSymbolFields.RetainOffsets), IntermediateFieldType.String), |
| 20 | new IntermediateFieldDefinition(nameof(ExternalFilesTupleFields.Order), IntermediateFieldType.Number), | 20 | new IntermediateFieldDefinition(nameof(ExternalFilesSymbolFields.Order), IntermediateFieldType.Number), |
| 21 | }, | 21 | }, |
| 22 | typeof(ExternalFilesTuple)); | 22 | typeof(ExternalFilesSymbol)); |
| 23 | } | 23 | } |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | namespace WixToolset.Data.Tuples | 26 | namespace WixToolset.Data.Symbols |
| 27 | { | 27 | { |
| 28 | public enum ExternalFilesTupleFields | 28 | public enum ExternalFilesSymbolFields |
| 29 | { | 29 | { |
| 30 | Family, | 30 | Family, |
| 31 | FTK, | 31 | FTK, |
| @@ -37,64 +37,64 @@ namespace WixToolset.Data.Tuples | |||
| 37 | Order, | 37 | Order, |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public class ExternalFilesTuple : IntermediateTuple | 40 | public class ExternalFilesSymbol : IntermediateSymbol |
| 41 | { | 41 | { |
| 42 | public ExternalFilesTuple() : base(TupleDefinitions.ExternalFiles, null, null) | 42 | public ExternalFilesSymbol() : base(SymbolDefinitions.ExternalFiles, null, null) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public ExternalFilesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ExternalFiles, sourceLineNumber, id) | 46 | public ExternalFilesSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ExternalFiles, sourceLineNumber, id) |
| 47 | { | 47 | { |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public IntermediateField this[ExternalFilesTupleFields index] => this.Fields[(int)index]; | 50 | public IntermediateField this[ExternalFilesSymbolFields index] => this.Fields[(int)index]; |
| 51 | 51 | ||
| 52 | public string Family | 52 | public string Family |
| 53 | { | 53 | { |
| 54 | get => (string)this.Fields[(int)ExternalFilesTupleFields.Family]; | 54 | get => (string)this.Fields[(int)ExternalFilesSymbolFields.Family]; |
| 55 | set => this.Set((int)ExternalFilesTupleFields.Family, value); | 55 | set => this.Set((int)ExternalFilesSymbolFields.Family, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public string FTK | 58 | public string FTK |
| 59 | { | 59 | { |
| 60 | get => (string)this.Fields[(int)ExternalFilesTupleFields.FTK]; | 60 | get => (string)this.Fields[(int)ExternalFilesSymbolFields.FTK]; |
| 61 | set => this.Set((int)ExternalFilesTupleFields.FTK, value); | 61 | set => this.Set((int)ExternalFilesSymbolFields.FTK, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public string FilePath | 64 | public string FilePath |
| 65 | { | 65 | { |
| 66 | get => (string)this.Fields[(int)ExternalFilesTupleFields.FilePath]; | 66 | get => (string)this.Fields[(int)ExternalFilesSymbolFields.FilePath]; |
| 67 | set => this.Set((int)ExternalFilesTupleFields.FilePath, value); | 67 | set => this.Set((int)ExternalFilesSymbolFields.FilePath, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public string SymbolPaths | 70 | public string SymbolPaths |
| 71 | { | 71 | { |
| 72 | get => (string)this.Fields[(int)ExternalFilesTupleFields.SymbolPaths]; | 72 | get => (string)this.Fields[(int)ExternalFilesSymbolFields.SymbolPaths]; |
| 73 | set => this.Set((int)ExternalFilesTupleFields.SymbolPaths, value); | 73 | set => this.Set((int)ExternalFilesSymbolFields.SymbolPaths, value); |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | public string IgnoreOffsets | 76 | public string IgnoreOffsets |
| 77 | { | 77 | { |
| 78 | get => (string)this.Fields[(int)ExternalFilesTupleFields.IgnoreOffsets]; | 78 | get => (string)this.Fields[(int)ExternalFilesSymbolFields.IgnoreOffsets]; |
| 79 | set => this.Set((int)ExternalFilesTupleFields.IgnoreOffsets, value); | 79 | set => this.Set((int)ExternalFilesSymbolFields.IgnoreOffsets, value); |
| 80 | } | 80 | } |
| 81 | 81 | ||
| 82 | public string IgnoreLengths | 82 | public string IgnoreLengths |
| 83 | { | 83 | { |
| 84 | get => (string)this.Fields[(int)ExternalFilesTupleFields.IgnoreLengths]; | 84 | get => (string)this.Fields[(int)ExternalFilesSymbolFields.IgnoreLengths]; |
| 85 | set => this.Set((int)ExternalFilesTupleFields.IgnoreLengths, value); | 85 | set => this.Set((int)ExternalFilesSymbolFields.IgnoreLengths, value); |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | public string RetainOffsets | 88 | public string RetainOffsets |
| 89 | { | 89 | { |
| 90 | get => (string)this.Fields[(int)ExternalFilesTupleFields.RetainOffsets]; | 90 | get => (string)this.Fields[(int)ExternalFilesSymbolFields.RetainOffsets]; |
| 91 | set => this.Set((int)ExternalFilesTupleFields.RetainOffsets, value); | 91 | set => this.Set((int)ExternalFilesSymbolFields.RetainOffsets, value); |
| 92 | } | 92 | } |
| 93 | 93 | ||
| 94 | public int Order | 94 | public int Order |
| 95 | { | 95 | { |
| 96 | get => (int)this.Fields[(int)ExternalFilesTupleFields.Order]; | 96 | get => (int)this.Fields[(int)ExternalFilesSymbolFields.Order]; |
| 97 | set => this.Set((int)ExternalFilesTupleFields.Order, value); | 97 | set => this.Set((int)ExternalFilesSymbolFields.Order, value); |
| 98 | } | 98 | } |
| 99 | } | 99 | } |
| 100 | } \ No newline at end of file | 100 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/FamilyFileRangesTuple.cs b/src/WixToolset.Data/Tuples/FamilyFileRangesTuple.cs index ea2e1993..84cd5b4b 100644 --- a/src/WixToolset.Data/Tuples/FamilyFileRangesTuple.cs +++ b/src/WixToolset.Data/Tuples/FamilyFileRangesTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 FamilyFileRanges = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition FamilyFileRanges = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.FamilyFileRanges, | 10 | SymbolDefinitionType.FamilyFileRanges, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(FamilyFileRangesTupleFields.Family), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(FamilyFileRangesSymbolFields.Family), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(FamilyFileRangesTupleFields.FTK), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(FamilyFileRangesSymbolFields.FTK), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(FamilyFileRangesTupleFields.RetainOffsets), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(FamilyFileRangesSymbolFields.RetainOffsets), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(FamilyFileRangesTupleFields.RetainLengths), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(FamilyFileRangesSymbolFields.RetainLengths), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(FamilyFileRangesTuple)); | 18 | typeof(FamilyFileRangesSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum FamilyFileRangesTupleFields | 24 | public enum FamilyFileRangesSymbolFields |
| 25 | { | 25 | { |
| 26 | Family, | 26 | Family, |
| 27 | FTK, | 27 | FTK, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | RetainLengths, | 29 | RetainLengths, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class FamilyFileRangesTuple : IntermediateTuple | 32 | public class FamilyFileRangesSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public FamilyFileRangesTuple() : base(TupleDefinitions.FamilyFileRanges, null, null) | 34 | public FamilyFileRangesSymbol() : base(SymbolDefinitions.FamilyFileRanges, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public FamilyFileRangesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.FamilyFileRanges, sourceLineNumber, id) | 38 | public FamilyFileRangesSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.FamilyFileRanges, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[FamilyFileRangesTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[FamilyFileRangesSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string Family | 44 | public string Family |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)FamilyFileRangesTupleFields.Family]; | 46 | get => (string)this.Fields[(int)FamilyFileRangesSymbolFields.Family]; |
| 47 | set => this.Set((int)FamilyFileRangesTupleFields.Family, value); | 47 | set => this.Set((int)FamilyFileRangesSymbolFields.Family, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string FTK | 50 | public string FTK |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)FamilyFileRangesTupleFields.FTK]; | 52 | get => (string)this.Fields[(int)FamilyFileRangesSymbolFields.FTK]; |
| 53 | set => this.Set((int)FamilyFileRangesTupleFields.FTK, value); | 53 | set => this.Set((int)FamilyFileRangesSymbolFields.FTK, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string RetainOffsets | 56 | public string RetainOffsets |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)FamilyFileRangesTupleFields.RetainOffsets]; | 58 | get => (string)this.Fields[(int)FamilyFileRangesSymbolFields.RetainOffsets]; |
| 59 | set => this.Set((int)FamilyFileRangesTupleFields.RetainOffsets, value); | 59 | set => this.Set((int)FamilyFileRangesSymbolFields.RetainOffsets, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string RetainLengths | 62 | public string RetainLengths |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)FamilyFileRangesTupleFields.RetainLengths]; | 64 | get => (string)this.Fields[(int)FamilyFileRangesSymbolFields.RetainLengths]; |
| 65 | set => this.Set((int)FamilyFileRangesTupleFields.RetainLengths, value); | 65 | set => this.Set((int)FamilyFileRangesSymbolFields.RetainLengths, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/FeatureComponentsTuple.cs b/src/WixToolset.Data/Tuples/FeatureComponentsTuple.cs index 1bda9c4c..af51daed 100644 --- a/src/WixToolset.Data/Tuples/FeatureComponentsTuple.cs +++ b/src/WixToolset.Data/Tuples/FeatureComponentsTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 FeatureComponents = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition FeatureComponents = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.FeatureComponents, | 10 | SymbolDefinitionType.FeatureComponents, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(FeatureComponentsTupleFields.FeatureRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(FeatureComponentsSymbolFields.FeatureRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(FeatureComponentsTupleFields.ComponentRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(FeatureComponentsSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(FeatureComponentsTuple)); | 16 | typeof(FeatureComponentsSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum FeatureComponentsTupleFields | 22 | public enum FeatureComponentsSymbolFields |
| 23 | { | 23 | { |
| 24 | FeatureRef, | 24 | FeatureRef, |
| 25 | ComponentRef, | 25 | ComponentRef, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class FeatureComponentsTuple : IntermediateTuple | 28 | public class FeatureComponentsSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public FeatureComponentsTuple() : base(TupleDefinitions.FeatureComponents, null, null) | 30 | public FeatureComponentsSymbol() : base(SymbolDefinitions.FeatureComponents, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public FeatureComponentsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.FeatureComponents, sourceLineNumber, id) | 34 | public FeatureComponentsSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.FeatureComponents, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[FeatureComponentsTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[FeatureComponentsSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string FeatureRef | 40 | public string FeatureRef |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)FeatureComponentsTupleFields.FeatureRef]; | 42 | get => (string)this.Fields[(int)FeatureComponentsSymbolFields.FeatureRef]; |
| 43 | set => this.Set((int)FeatureComponentsTupleFields.FeatureRef, value); | 43 | set => this.Set((int)FeatureComponentsSymbolFields.FeatureRef, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string ComponentRef | 46 | public string ComponentRef |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)FeatureComponentsTupleFields.ComponentRef]; | 48 | get => (string)this.Fields[(int)FeatureComponentsSymbolFields.ComponentRef]; |
| 49 | set => this.Set((int)FeatureComponentsTupleFields.ComponentRef, value); | 49 | set => this.Set((int)FeatureComponentsSymbolFields.ComponentRef, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/FeatureTuple.cs b/src/WixToolset.Data/Tuples/FeatureTuple.cs index b057d079..67972b63 100644 --- a/src/WixToolset.Data/Tuples/FeatureTuple.cs +++ b/src/WixToolset.Data/Tuples/FeatureTuple.cs | |||
| @@ -2,32 +2,32 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Feature = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Feature = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Feature, | 10 | SymbolDefinitionType.Feature, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.ParentFeatureRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(FeatureSymbolFields.ParentFeatureRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.Title), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(FeatureSymbolFields.Title), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.Description), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(FeatureSymbolFields.Description), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.Display), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(FeatureSymbolFields.Display), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.Level), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(FeatureSymbolFields.Level), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.DirectoryRef), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(FeatureSymbolFields.DirectoryRef), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.DisallowAbsent), IntermediateFieldType.Bool), | 19 | new IntermediateFieldDefinition(nameof(FeatureSymbolFields.DisallowAbsent), IntermediateFieldType.Bool), |
| 20 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.DisallowAdvertise), IntermediateFieldType.Bool), | 20 | new IntermediateFieldDefinition(nameof(FeatureSymbolFields.DisallowAdvertise), IntermediateFieldType.Bool), |
| 21 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.InstallDefault), IntermediateFieldType.Number), | 21 | new IntermediateFieldDefinition(nameof(FeatureSymbolFields.InstallDefault), IntermediateFieldType.Number), |
| 22 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.TypicalDefault), IntermediateFieldType.Number), | 22 | new IntermediateFieldDefinition(nameof(FeatureSymbolFields.TypicalDefault), IntermediateFieldType.Number), |
| 23 | }, | 23 | }, |
| 24 | typeof(FeatureTuple)); | 24 | typeof(FeatureSymbol)); |
| 25 | } | 25 | } |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | namespace WixToolset.Data.Tuples | 28 | namespace WixToolset.Data.Symbols |
| 29 | { | 29 | { |
| 30 | public enum FeatureTupleFields | 30 | public enum FeatureSymbolFields |
| 31 | { | 31 | { |
| 32 | ParentFeatureRef, | 32 | ParentFeatureRef, |
| 33 | Title, | 33 | Title, |
| @@ -54,76 +54,76 @@ namespace WixToolset.Data.Tuples | |||
| 54 | Advertise | 54 | Advertise |
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | public class FeatureTuple : IntermediateTuple | 57 | public class FeatureSymbol : IntermediateSymbol |
| 58 | { | 58 | { |
| 59 | public FeatureTuple() : base(TupleDefinitions.Feature, null, null) | 59 | public FeatureSymbol() : base(SymbolDefinitions.Feature, null, null) |
| 60 | { | 60 | { |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | public FeatureTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Feature, sourceLineNumber, id) | 63 | public FeatureSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Feature, sourceLineNumber, id) |
| 64 | { | 64 | { |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | public IntermediateField this[FeatureTupleFields index] => this.Fields[(int)index]; | 67 | public IntermediateField this[FeatureSymbolFields index] => this.Fields[(int)index]; |
| 68 | 68 | ||
| 69 | public string ParentFeatureRef | 69 | public string ParentFeatureRef |
| 70 | { | 70 | { |
| 71 | get => (string)this.Fields[(int)FeatureTupleFields.ParentFeatureRef]; | 71 | get => (string)this.Fields[(int)FeatureSymbolFields.ParentFeatureRef]; |
| 72 | set => this.Set((int)FeatureTupleFields.ParentFeatureRef, value); | 72 | set => this.Set((int)FeatureSymbolFields.ParentFeatureRef, value); |
| 73 | } | 73 | } |
| 74 | 74 | ||
| 75 | public string Title | 75 | public string Title |
| 76 | { | 76 | { |
| 77 | get => (string)this.Fields[(int)FeatureTupleFields.Title]; | 77 | get => (string)this.Fields[(int)FeatureSymbolFields.Title]; |
| 78 | set => this.Set((int)FeatureTupleFields.Title, value); | 78 | set => this.Set((int)FeatureSymbolFields.Title, value); |
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | public string Description | 81 | public string Description |
| 82 | { | 82 | { |
| 83 | get => (string)this.Fields[(int)FeatureTupleFields.Description]; | 83 | get => (string)this.Fields[(int)FeatureSymbolFields.Description]; |
| 84 | set => this.Set((int)FeatureTupleFields.Description, value); | 84 | set => this.Set((int)FeatureSymbolFields.Description, value); |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | public int Display | 87 | public int Display |
| 88 | { | 88 | { |
| 89 | get => (int)this.Fields[(int)FeatureTupleFields.Display]; | 89 | get => (int)this.Fields[(int)FeatureSymbolFields.Display]; |
| 90 | set => this.Set((int)FeatureTupleFields.Display, value); | 90 | set => this.Set((int)FeatureSymbolFields.Display, value); |
| 91 | } | 91 | } |
| 92 | 92 | ||
| 93 | public int Level | 93 | public int Level |
| 94 | { | 94 | { |
| 95 | get => (int)this.Fields[(int)FeatureTupleFields.Level]; | 95 | get => (int)this.Fields[(int)FeatureSymbolFields.Level]; |
| 96 | set => this.Set((int)FeatureTupleFields.Level, value); | 96 | set => this.Set((int)FeatureSymbolFields.Level, value); |
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | public string DirectoryRef | 99 | public string DirectoryRef |
| 100 | { | 100 | { |
| 101 | get => (string)this.Fields[(int)FeatureTupleFields.DirectoryRef]; | 101 | get => (string)this.Fields[(int)FeatureSymbolFields.DirectoryRef]; |
| 102 | set => this.Set((int)FeatureTupleFields.DirectoryRef, value); | 102 | set => this.Set((int)FeatureSymbolFields.DirectoryRef, value); |
| 103 | } | 103 | } |
| 104 | 104 | ||
| 105 | public bool DisallowAbsent | 105 | public bool DisallowAbsent |
| 106 | { | 106 | { |
| 107 | get => this.Fields[(int)FeatureTupleFields.DisallowAbsent].AsBool(); | 107 | get => this.Fields[(int)FeatureSymbolFields.DisallowAbsent].AsBool(); |
| 108 | set => this.Set((int)FeatureTupleFields.DisallowAbsent, value); | 108 | set => this.Set((int)FeatureSymbolFields.DisallowAbsent, value); |
| 109 | } | 109 | } |
| 110 | 110 | ||
| 111 | public bool DisallowAdvertise | 111 | public bool DisallowAdvertise |
| 112 | { | 112 | { |
| 113 | get => this.Fields[(int)FeatureTupleFields.DisallowAdvertise].AsBool(); | 113 | get => this.Fields[(int)FeatureSymbolFields.DisallowAdvertise].AsBool(); |
| 114 | set => this.Set((int)FeatureTupleFields.DisallowAdvertise, value); | 114 | set => this.Set((int)FeatureSymbolFields.DisallowAdvertise, value); |
| 115 | } | 115 | } |
| 116 | 116 | ||
| 117 | public FeatureInstallDefault InstallDefault | 117 | public FeatureInstallDefault InstallDefault |
| 118 | { | 118 | { |
| 119 | get => (FeatureInstallDefault)this.Fields[(int)FeatureTupleFields.InstallDefault].AsNumber(); | 119 | get => (FeatureInstallDefault)this.Fields[(int)FeatureSymbolFields.InstallDefault].AsNumber(); |
| 120 | set => this.Set((int)FeatureTupleFields.InstallDefault, (int)value); | 120 | set => this.Set((int)FeatureSymbolFields.InstallDefault, (int)value); |
| 121 | } | 121 | } |
| 122 | 122 | ||
| 123 | public FeatureTypicalDefault TypicalDefault | 123 | public FeatureTypicalDefault TypicalDefault |
| 124 | { | 124 | { |
| 125 | get => (FeatureTypicalDefault)this.Fields[(int)FeatureTupleFields.TypicalDefault].AsNumber(); | 125 | get => (FeatureTypicalDefault)this.Fields[(int)FeatureSymbolFields.TypicalDefault].AsNumber(); |
| 126 | set => this.Set((int)FeatureTupleFields.TypicalDefault, (int)value); | 126 | set => this.Set((int)FeatureSymbolFields.TypicalDefault, (int)value); |
| 127 | } | 127 | } |
| 128 | } | 128 | } |
| 129 | } \ No newline at end of file | 129 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/FileSFPCatalogTuple.cs b/src/WixToolset.Data/Tuples/FileSFPCatalogTuple.cs index fcf77d70..3abf2915 100644 --- a/src/WixToolset.Data/Tuples/FileSFPCatalogTuple.cs +++ b/src/WixToolset.Data/Tuples/FileSFPCatalogTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 FileSFPCatalog = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition FileSFPCatalog = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.FileSFPCatalog, | 10 | SymbolDefinitionType.FileSFPCatalog, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(FileSFPCatalogTupleFields.FileRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(FileSFPCatalogSymbolFields.FileRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(FileSFPCatalogTupleFields.SFPCatalogRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(FileSFPCatalogSymbolFields.SFPCatalogRef), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(FileSFPCatalogTuple)); | 16 | typeof(FileSFPCatalogSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum FileSFPCatalogTupleFields | 22 | public enum FileSFPCatalogSymbolFields |
| 23 | { | 23 | { |
| 24 | FileRef, | 24 | FileRef, |
| 25 | SFPCatalogRef, | 25 | SFPCatalogRef, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class FileSFPCatalogTuple : IntermediateTuple | 28 | public class FileSFPCatalogSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public FileSFPCatalogTuple() : base(TupleDefinitions.FileSFPCatalog, null, null) | 30 | public FileSFPCatalogSymbol() : base(SymbolDefinitions.FileSFPCatalog, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public FileSFPCatalogTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.FileSFPCatalog, sourceLineNumber, id) | 34 | public FileSFPCatalogSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.FileSFPCatalog, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[FileSFPCatalogTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[FileSFPCatalogSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string FileRef | 40 | public string FileRef |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)FileSFPCatalogTupleFields.FileRef]; | 42 | get => (string)this.Fields[(int)FileSFPCatalogSymbolFields.FileRef]; |
| 43 | set => this.Set((int)FileSFPCatalogTupleFields.FileRef, value); | 43 | set => this.Set((int)FileSFPCatalogSymbolFields.FileRef, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string SFPCatalogRef | 46 | public string SFPCatalogRef |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)FileSFPCatalogTupleFields.SFPCatalogRef]; | 48 | get => (string)this.Fields[(int)FileSFPCatalogSymbolFields.SFPCatalogRef]; |
| 49 | set => this.Set((int)FileSFPCatalogTupleFields.SFPCatalogRef, value); | 49 | set => this.Set((int)FileSFPCatalogSymbolFields.SFPCatalogRef, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/FileTuple.cs b/src/WixToolset.Data/Tuples/FileTuple.cs index 95776257..7d1afdb7 100644 --- a/src/WixToolset.Data/Tuples/FileTuple.cs +++ b/src/WixToolset.Data/Tuples/FileTuple.cs | |||
| @@ -2,50 +2,50 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 File = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition File = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.File, | 10 | SymbolDefinitionType.File, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(FileTupleFields.ComponentRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(FileSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(FileTupleFields.Name), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(FileSymbolFields.Name), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(FileTupleFields.ShortName), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(FileSymbolFields.ShortName), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(FileTupleFields.FileSize), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(FileSymbolFields.FileSize), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(FileTupleFields.Version), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(FileSymbolFields.Version), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(FileTupleFields.Language), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(FileSymbolFields.Language), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(FileTupleFields.Attributes), IntermediateFieldType.Number), | 19 | new IntermediateFieldDefinition(nameof(FileSymbolFields.Attributes), IntermediateFieldType.Number), |
| 20 | new IntermediateFieldDefinition(nameof(FileTupleFields.DirectoryRef), IntermediateFieldType.String), | 20 | new IntermediateFieldDefinition(nameof(FileSymbolFields.DirectoryRef), IntermediateFieldType.String), |
| 21 | new IntermediateFieldDefinition(nameof(FileTupleFields.DiskId), IntermediateFieldType.Number), | 21 | new IntermediateFieldDefinition(nameof(FileSymbolFields.DiskId), IntermediateFieldType.Number), |
| 22 | new IntermediateFieldDefinition(nameof(FileTupleFields.Source), IntermediateFieldType.Path), | 22 | new IntermediateFieldDefinition(nameof(FileSymbolFields.Source), IntermediateFieldType.Path), |
| 23 | 23 | ||
| 24 | new IntermediateFieldDefinition(nameof(FileTupleFields.FontTitle), IntermediateFieldType.String), | 24 | new IntermediateFieldDefinition(nameof(FileSymbolFields.FontTitle), IntermediateFieldType.String), |
| 25 | new IntermediateFieldDefinition(nameof(FileTupleFields.SelfRegCost), IntermediateFieldType.Number), | 25 | new IntermediateFieldDefinition(nameof(FileSymbolFields.SelfRegCost), IntermediateFieldType.Number), |
| 26 | new IntermediateFieldDefinition(nameof(FileTupleFields.BindPath), IntermediateFieldType.String), | 26 | new IntermediateFieldDefinition(nameof(FileSymbolFields.BindPath), IntermediateFieldType.String), |
| 27 | 27 | ||
| 28 | new IntermediateFieldDefinition(nameof(FileTupleFields.Sequence), IntermediateFieldType.Number), | 28 | new IntermediateFieldDefinition(nameof(FileSymbolFields.Sequence), IntermediateFieldType.Number), |
| 29 | 29 | ||
| 30 | new IntermediateFieldDefinition(nameof(FileTupleFields.PatchGroup), IntermediateFieldType.Number), | 30 | new IntermediateFieldDefinition(nameof(FileSymbolFields.PatchGroup), IntermediateFieldType.Number), |
| 31 | new IntermediateFieldDefinition(nameof(FileTupleFields.PatchAttributes), IntermediateFieldType.Number), | 31 | new IntermediateFieldDefinition(nameof(FileSymbolFields.PatchAttributes), IntermediateFieldType.Number), |
| 32 | new IntermediateFieldDefinition(nameof(FileTupleFields.DeltaPatchHeaderSource), IntermediateFieldType.String), | 32 | new IntermediateFieldDefinition(nameof(FileSymbolFields.DeltaPatchHeaderSource), IntermediateFieldType.String), |
| 33 | 33 | ||
| 34 | new IntermediateFieldDefinition(nameof(FileTupleFields.RetainLengths), IntermediateFieldType.String), | 34 | new IntermediateFieldDefinition(nameof(FileSymbolFields.RetainLengths), IntermediateFieldType.String), |
| 35 | new IntermediateFieldDefinition(nameof(FileTupleFields.IgnoreOffsets), IntermediateFieldType.String), | 35 | new IntermediateFieldDefinition(nameof(FileSymbolFields.IgnoreOffsets), IntermediateFieldType.String), |
| 36 | new IntermediateFieldDefinition(nameof(FileTupleFields.IgnoreLengths), IntermediateFieldType.String), | 36 | new IntermediateFieldDefinition(nameof(FileSymbolFields.IgnoreLengths), IntermediateFieldType.String), |
| 37 | new IntermediateFieldDefinition(nameof(FileTupleFields.RetainOffsets), IntermediateFieldType.String), | 37 | new IntermediateFieldDefinition(nameof(FileSymbolFields.RetainOffsets), IntermediateFieldType.String), |
| 38 | new IntermediateFieldDefinition(nameof(FileTupleFields.SymbolPaths), IntermediateFieldType.String), | 38 | new IntermediateFieldDefinition(nameof(FileSymbolFields.SymbolPaths), IntermediateFieldType.String), |
| 39 | }, | 39 | }, |
| 40 | typeof(FileTuple)); | 40 | typeof(FileSymbol)); |
| 41 | } | 41 | } |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | namespace WixToolset.Data.Tuples | 44 | namespace WixToolset.Data.Symbols |
| 45 | { | 45 | { |
| 46 | using System; | 46 | using System; |
| 47 | 47 | ||
| 48 | public enum FileTupleFields | 48 | public enum FileSymbolFields |
| 49 | { | 49 | { |
| 50 | ComponentRef, | 50 | ComponentRef, |
| 51 | Name, | 51 | Name, |
| @@ -76,7 +76,7 @@ namespace WixToolset.Data.Tuples | |||
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | [Flags] | 78 | [Flags] |
| 79 | public enum FileTupleAttributes : int | 79 | public enum FileSymbolAttributes : int |
| 80 | { | 80 | { |
| 81 | None = 0x0, | 81 | None = 0x0, |
| 82 | ReadOnly = 0x1, | 82 | ReadOnly = 0x1, |
| @@ -110,148 +110,148 @@ namespace WixToolset.Data.Tuples | |||
| 110 | Defined = Ignore | IncludeWholeFile | AllowIgnoreOnError | 110 | Defined = Ignore | IncludeWholeFile | AllowIgnoreOnError |
| 111 | } | 111 | } |
| 112 | 112 | ||
| 113 | public class FileTuple : IntermediateTuple | 113 | public class FileSymbol : IntermediateSymbol |
| 114 | { | 114 | { |
| 115 | public FileTuple() : base(TupleDefinitions.File, null, null) | 115 | public FileSymbol() : base(SymbolDefinitions.File, null, null) |
| 116 | { | 116 | { |
| 117 | } | 117 | } |
| 118 | 118 | ||
| 119 | public FileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.File, sourceLineNumber, id) | 119 | public FileSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.File, sourceLineNumber, id) |
| 120 | { | 120 | { |
| 121 | } | 121 | } |
| 122 | 122 | ||
| 123 | public IntermediateField this[FileTupleFields index] => this.Fields[(int)index]; | 123 | public IntermediateField this[FileSymbolFields index] => this.Fields[(int)index]; |
| 124 | 124 | ||
| 125 | public string ComponentRef | 125 | public string ComponentRef |
| 126 | { | 126 | { |
| 127 | get => (string)this.Fields[(int)FileTupleFields.ComponentRef]; | 127 | get => (string)this.Fields[(int)FileSymbolFields.ComponentRef]; |
| 128 | set => this.Set((int)FileTupleFields.ComponentRef, value); | 128 | set => this.Set((int)FileSymbolFields.ComponentRef, value); |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | public string Name | 131 | public string Name |
| 132 | { | 132 | { |
| 133 | get => (string)this.Fields[(int)FileTupleFields.Name]; | 133 | get => (string)this.Fields[(int)FileSymbolFields.Name]; |
| 134 | set => this.Set((int)FileTupleFields.Name, value); | 134 | set => this.Set((int)FileSymbolFields.Name, value); |
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | public string ShortName | 137 | public string ShortName |
| 138 | { | 138 | { |
| 139 | get => (string)this.Fields[(int)FileTupleFields.ShortName]; | 139 | get => (string)this.Fields[(int)FileSymbolFields.ShortName]; |
| 140 | set => this.Set((int)FileTupleFields.ShortName, value); | 140 | set => this.Set((int)FileSymbolFields.ShortName, value); |
| 141 | } | 141 | } |
| 142 | 142 | ||
| 143 | public int FileSize | 143 | public int FileSize |
| 144 | { | 144 | { |
| 145 | get => (int)this.Fields[(int)FileTupleFields.FileSize]; | 145 | get => (int)this.Fields[(int)FileSymbolFields.FileSize]; |
| 146 | set => this.Set((int)FileTupleFields.FileSize, value); | 146 | set => this.Set((int)FileSymbolFields.FileSize, value); |
| 147 | } | 147 | } |
| 148 | 148 | ||
| 149 | public string Version | 149 | public string Version |
| 150 | { | 150 | { |
| 151 | get => (string)this.Fields[(int)FileTupleFields.Version]; | 151 | get => (string)this.Fields[(int)FileSymbolFields.Version]; |
| 152 | set => this.Set((int)FileTupleFields.Version, value); | 152 | set => this.Set((int)FileSymbolFields.Version, value); |
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | public string Language | 155 | public string Language |
| 156 | { | 156 | { |
| 157 | get => (string)this.Fields[(int)FileTupleFields.Language]; | 157 | get => (string)this.Fields[(int)FileSymbolFields.Language]; |
| 158 | set => this.Set((int)FileTupleFields.Language, value); | 158 | set => this.Set((int)FileSymbolFields.Language, value); |
| 159 | } | 159 | } |
| 160 | 160 | ||
| 161 | public FileTupleAttributes Attributes | 161 | public FileSymbolAttributes Attributes |
| 162 | { | 162 | { |
| 163 | get => (FileTupleAttributes)this.Fields[(int)FileTupleFields.Attributes].AsNumber(); | 163 | get => (FileSymbolAttributes)this.Fields[(int)FileSymbolFields.Attributes].AsNumber(); |
| 164 | set => this.Set((int)FileTupleFields.Attributes, (int)value); | 164 | set => this.Set((int)FileSymbolFields.Attributes, (int)value); |
| 165 | } | 165 | } |
| 166 | 166 | ||
| 167 | public string DirectoryRef | 167 | public string DirectoryRef |
| 168 | { | 168 | { |
| 169 | get => (string)this.Fields[(int)FileTupleFields.DirectoryRef]; | 169 | get => (string)this.Fields[(int)FileSymbolFields.DirectoryRef]; |
| 170 | set => this.Set((int)FileTupleFields.DirectoryRef, value); | 170 | set => this.Set((int)FileSymbolFields.DirectoryRef, value); |
| 171 | } | 171 | } |
| 172 | 172 | ||
| 173 | public int? DiskId | 173 | public int? DiskId |
| 174 | { | 174 | { |
| 175 | get => (int?)this.Fields[(int)FileTupleFields.DiskId]; | 175 | get => (int?)this.Fields[(int)FileSymbolFields.DiskId]; |
| 176 | set => this.Set((int)FileTupleFields.DiskId, value); | 176 | set => this.Set((int)FileSymbolFields.DiskId, value); |
| 177 | } | 177 | } |
| 178 | 178 | ||
| 179 | public IntermediateFieldPathValue Source | 179 | public IntermediateFieldPathValue Source |
| 180 | { | 180 | { |
| 181 | get => this.Fields[(int)FileTupleFields.Source].AsPath(); | 181 | get => this.Fields[(int)FileSymbolFields.Source].AsPath(); |
| 182 | set => this.Set((int)FileTupleFields.Source, value); | 182 | set => this.Set((int)FileSymbolFields.Source, value); |
| 183 | } | 183 | } |
| 184 | 184 | ||
| 185 | public string FontTitle | 185 | public string FontTitle |
| 186 | { | 186 | { |
| 187 | get => (string)this.Fields[(int)FileTupleFields.FontTitle]; | 187 | get => (string)this.Fields[(int)FileSymbolFields.FontTitle]; |
| 188 | set => this.Set((int)FileTupleFields.FontTitle, value); | 188 | set => this.Set((int)FileSymbolFields.FontTitle, value); |
| 189 | } | 189 | } |
| 190 | 190 | ||
| 191 | public int? SelfRegCost | 191 | public int? SelfRegCost |
| 192 | { | 192 | { |
| 193 | get => (int?)this.Fields[(int)FileTupleFields.SelfRegCost]; | 193 | get => (int?)this.Fields[(int)FileSymbolFields.SelfRegCost]; |
| 194 | set => this.Set((int)FileTupleFields.SelfRegCost, value); | 194 | set => this.Set((int)FileSymbolFields.SelfRegCost, value); |
| 195 | } | 195 | } |
| 196 | 196 | ||
| 197 | public string BindPath | 197 | public string BindPath |
| 198 | { | 198 | { |
| 199 | get => (string)this.Fields[(int)FileTupleFields.BindPath]; | 199 | get => (string)this.Fields[(int)FileSymbolFields.BindPath]; |
| 200 | set => this.Set((int)FileTupleFields.BindPath, value); | 200 | set => this.Set((int)FileSymbolFields.BindPath, value); |
| 201 | } | 201 | } |
| 202 | 202 | ||
| 203 | public int Sequence | 203 | public int Sequence |
| 204 | { | 204 | { |
| 205 | get => (int)this.Fields[(int)FileTupleFields.Sequence]; | 205 | get => (int)this.Fields[(int)FileSymbolFields.Sequence]; |
| 206 | set => this.Set((int)FileTupleFields.Sequence, value); | 206 | set => this.Set((int)FileSymbolFields.Sequence, value); |
| 207 | } | 207 | } |
| 208 | 208 | ||
| 209 | public int? PatchGroup | 209 | public int? PatchGroup |
| 210 | { | 210 | { |
| 211 | get => (int?)this.Fields[(int)FileTupleFields.PatchGroup]; | 211 | get => (int?)this.Fields[(int)FileSymbolFields.PatchGroup]; |
| 212 | set => this.Set((int)FileTupleFields.PatchGroup, value); | 212 | set => this.Set((int)FileSymbolFields.PatchGroup, value); |
| 213 | } | 213 | } |
| 214 | 214 | ||
| 215 | public PatchAttributeType? PatchAttributes | 215 | public PatchAttributeType? PatchAttributes |
| 216 | { | 216 | { |
| 217 | get => (PatchAttributeType?)this.Fields[(int)FileTupleFields.PatchAttributes].AsNullableNumber(); | 217 | get => (PatchAttributeType?)this.Fields[(int)FileSymbolFields.PatchAttributes].AsNullableNumber(); |
| 218 | set => this.Set((int)FileTupleFields.PatchAttributes, (int?)value); | 218 | set => this.Set((int)FileSymbolFields.PatchAttributes, (int?)value); |
| 219 | } | 219 | } |
| 220 | 220 | ||
| 221 | public string DeltaPatchHeaderSource | 221 | public string DeltaPatchHeaderSource |
| 222 | { | 222 | { |
| 223 | get => (string)this.Fields[(int)FileTupleFields.DeltaPatchHeaderSource]; | 223 | get => (string)this.Fields[(int)FileSymbolFields.DeltaPatchHeaderSource]; |
| 224 | set => this.Set((int)FileTupleFields.DeltaPatchHeaderSource, value); | 224 | set => this.Set((int)FileSymbolFields.DeltaPatchHeaderSource, value); |
| 225 | } | 225 | } |
| 226 | 226 | ||
| 227 | public string RetainLengths | 227 | public string RetainLengths |
| 228 | { | 228 | { |
| 229 | get => (string)this.Fields[(int)FileTupleFields.RetainLengths]; | 229 | get => (string)this.Fields[(int)FileSymbolFields.RetainLengths]; |
| 230 | set => this.Set((int)FileTupleFields.RetainLengths, value); | 230 | set => this.Set((int)FileSymbolFields.RetainLengths, value); |
| 231 | } | 231 | } |
| 232 | 232 | ||
| 233 | public string IgnoreOffsets | 233 | public string IgnoreOffsets |
| 234 | { | 234 | { |
| 235 | get => (string)this.Fields[(int)FileTupleFields.IgnoreOffsets]; | 235 | get => (string)this.Fields[(int)FileSymbolFields.IgnoreOffsets]; |
| 236 | set => this.Set((int)FileTupleFields.IgnoreOffsets, value); | 236 | set => this.Set((int)FileSymbolFields.IgnoreOffsets, value); |
| 237 | } | 237 | } |
| 238 | 238 | ||
| 239 | public string IgnoreLengths | 239 | public string IgnoreLengths |
| 240 | { | 240 | { |
| 241 | get => (string)this.Fields[(int)FileTupleFields.IgnoreLengths]; | 241 | get => (string)this.Fields[(int)FileSymbolFields.IgnoreLengths]; |
| 242 | set => this.Set((int)FileTupleFields.IgnoreLengths, value); | 242 | set => this.Set((int)FileSymbolFields.IgnoreLengths, value); |
| 243 | } | 243 | } |
| 244 | 244 | ||
| 245 | public string RetainOffsets | 245 | public string RetainOffsets |
| 246 | { | 246 | { |
| 247 | get => (string)this.Fields[(int)FileTupleFields.RetainOffsets]; | 247 | get => (string)this.Fields[(int)FileSymbolFields.RetainOffsets]; |
| 248 | set => this.Set((int)FileTupleFields.RetainOffsets, value); | 248 | set => this.Set((int)FileSymbolFields.RetainOffsets, value); |
| 249 | } | 249 | } |
| 250 | 250 | ||
| 251 | public string SymbolPaths | 251 | public string SymbolPaths |
| 252 | { | 252 | { |
| 253 | get => (string)this.Fields[(int)FileTupleFields.SymbolPaths]; | 253 | get => (string)this.Fields[(int)FileSymbolFields.SymbolPaths]; |
| 254 | set => this.Set((int)FileTupleFields.SymbolPaths, value); | 254 | set => this.Set((int)FileSymbolFields.SymbolPaths, value); |
| 255 | } | 255 | } |
| 256 | } | 256 | } |
| 257 | } | 257 | } |
diff --git a/src/WixToolset.Data/Tuples/IconTuple.cs b/src/WixToolset.Data/Tuples/IconTuple.cs index e9ed93b2..f3c825ec 100644 --- a/src/WixToolset.Data/Tuples/IconTuple.cs +++ b/src/WixToolset.Data/Tuples/IconTuple.cs | |||
| @@ -2,43 +2,43 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Icon = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Icon = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Icon, | 10 | SymbolDefinitionType.Icon, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(IconTupleFields.Data), IntermediateFieldType.Path), | 13 | new IntermediateFieldDefinition(nameof(IconSymbolFields.Data), IntermediateFieldType.Path), |
| 14 | }, | 14 | }, |
| 15 | typeof(IconTuple)); | 15 | typeof(IconSymbol)); |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
| 20 | { | 20 | { |
| 21 | public enum IconTupleFields | 21 | public enum IconSymbolFields |
| 22 | { | 22 | { |
| 23 | Data, | 23 | Data, |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | public class IconTuple : IntermediateTuple | 26 | public class IconSymbol : IntermediateSymbol |
| 27 | { | 27 | { |
| 28 | public IconTuple() : base(TupleDefinitions.Icon, null, null) | 28 | public IconSymbol() : base(SymbolDefinitions.Icon, null, null) |
| 29 | { | 29 | { |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public IconTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Icon, sourceLineNumber, id) | 32 | public IconSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Icon, sourceLineNumber, id) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public IntermediateField this[IconTupleFields index] => this.Fields[(int)index]; | 36 | public IntermediateField this[IconSymbolFields index] => this.Fields[(int)index]; |
| 37 | 37 | ||
| 38 | public IntermediateFieldPathValue Data | 38 | public IntermediateFieldPathValue Data |
| 39 | { | 39 | { |
| 40 | get => this.Fields[(int)IconTupleFields.Data].AsPath(); | 40 | get => this.Fields[(int)IconSymbolFields.Data].AsPath(); |
| 41 | set => this.Set((int)IconTupleFields.Data, value); | 41 | set => this.Set((int)IconSymbolFields.Data, value); |
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | } \ No newline at end of file | 44 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ImageFamiliesTuple.cs b/src/WixToolset.Data/Tuples/ImageFamiliesTuple.cs index 4538b88c..090628ef 100644 --- a/src/WixToolset.Data/Tuples/ImageFamiliesTuple.cs +++ b/src/WixToolset.Data/Tuples/ImageFamiliesTuple.cs | |||
| @@ -2,28 +2,28 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ImageFamilies = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ImageFamilies = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ImageFamilies, | 10 | SymbolDefinitionType.ImageFamilies, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ImageFamiliesTupleFields.Family), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ImageFamiliesSymbolFields.Family), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ImageFamiliesTupleFields.MediaSrcPropName), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ImageFamiliesSymbolFields.MediaSrcPropName), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ImageFamiliesTupleFields.MediaDiskId), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(ImageFamiliesSymbolFields.MediaDiskId), IntermediateFieldType.Number), |
| 16 | new IntermediateFieldDefinition(nameof(ImageFamiliesTupleFields.FileSequenceStart), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(ImageFamiliesSymbolFields.FileSequenceStart), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(ImageFamiliesTupleFields.DiskPrompt), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(ImageFamiliesSymbolFields.DiskPrompt), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(ImageFamiliesTupleFields.VolumeLabel), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(ImageFamiliesSymbolFields.VolumeLabel), IntermediateFieldType.String), |
| 19 | }, | 19 | }, |
| 20 | typeof(ImageFamiliesTuple)); | 20 | typeof(ImageFamiliesSymbol)); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
| 25 | { | 25 | { |
| 26 | public enum ImageFamiliesTupleFields | 26 | public enum ImageFamiliesSymbolFields |
| 27 | { | 27 | { |
| 28 | Family, | 28 | Family, |
| 29 | MediaSrcPropName, | 29 | MediaSrcPropName, |
| @@ -33,52 +33,52 @@ namespace WixToolset.Data.Tuples | |||
| 33 | VolumeLabel, | 33 | VolumeLabel, |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public class ImageFamiliesTuple : IntermediateTuple | 36 | public class ImageFamiliesSymbol : IntermediateSymbol |
| 37 | { | 37 | { |
| 38 | public ImageFamiliesTuple() : base(TupleDefinitions.ImageFamilies, null, null) | 38 | public ImageFamiliesSymbol() : base(SymbolDefinitions.ImageFamilies, null, null) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public ImageFamiliesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ImageFamilies, sourceLineNumber, id) | 42 | public ImageFamiliesSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ImageFamilies, sourceLineNumber, id) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public IntermediateField this[ImageFamiliesTupleFields index] => this.Fields[(int)index]; | 46 | public IntermediateField this[ImageFamiliesSymbolFields index] => this.Fields[(int)index]; |
| 47 | 47 | ||
| 48 | public string Family | 48 | public string Family |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)ImageFamiliesTupleFields.Family]; | 50 | get => (string)this.Fields[(int)ImageFamiliesSymbolFields.Family]; |
| 51 | set => this.Set((int)ImageFamiliesTupleFields.Family, value); | 51 | set => this.Set((int)ImageFamiliesSymbolFields.Family, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string MediaSrcPropName | 54 | public string MediaSrcPropName |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)ImageFamiliesTupleFields.MediaSrcPropName]; | 56 | get => (string)this.Fields[(int)ImageFamiliesSymbolFields.MediaSrcPropName]; |
| 57 | set => this.Set((int)ImageFamiliesTupleFields.MediaSrcPropName, value); | 57 | set => this.Set((int)ImageFamiliesSymbolFields.MediaSrcPropName, value); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public int? MediaDiskId | 60 | public int? MediaDiskId |
| 61 | { | 61 | { |
| 62 | get => (int?)this.Fields[(int)ImageFamiliesTupleFields.MediaDiskId]; | 62 | get => (int?)this.Fields[(int)ImageFamiliesSymbolFields.MediaDiskId]; |
| 63 | set => this.Set((int)ImageFamiliesTupleFields.MediaDiskId, value); | 63 | set => this.Set((int)ImageFamiliesSymbolFields.MediaDiskId, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public int? FileSequenceStart | 66 | public int? FileSequenceStart |
| 67 | { | 67 | { |
| 68 | get => (int?)this.Fields[(int)ImageFamiliesTupleFields.FileSequenceStart]; | 68 | get => (int?)this.Fields[(int)ImageFamiliesSymbolFields.FileSequenceStart]; |
| 69 | set => this.Set((int)ImageFamiliesTupleFields.FileSequenceStart, value); | 69 | set => this.Set((int)ImageFamiliesSymbolFields.FileSequenceStart, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public string DiskPrompt | 72 | public string DiskPrompt |
| 73 | { | 73 | { |
| 74 | get => (string)this.Fields[(int)ImageFamiliesTupleFields.DiskPrompt]; | 74 | get => (string)this.Fields[(int)ImageFamiliesSymbolFields.DiskPrompt]; |
| 75 | set => this.Set((int)ImageFamiliesTupleFields.DiskPrompt, value); | 75 | set => this.Set((int)ImageFamiliesSymbolFields.DiskPrompt, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public string VolumeLabel | 78 | public string VolumeLabel |
| 79 | { | 79 | { |
| 80 | get => (string)this.Fields[(int)ImageFamiliesTupleFields.VolumeLabel]; | 80 | get => (string)this.Fields[(int)ImageFamiliesSymbolFields.VolumeLabel]; |
| 81 | set => this.Set((int)ImageFamiliesTupleFields.VolumeLabel, value); | 81 | set => this.Set((int)ImageFamiliesSymbolFields.VolumeLabel, value); |
| 82 | } | 82 | } |
| 83 | } | 83 | } |
| 84 | } \ No newline at end of file | 84 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/IniFileTuple.cs b/src/WixToolset.Data/Tuples/IniFileTuple.cs index 6aaa98c6..e23f6039 100644 --- a/src/WixToolset.Data/Tuples/IniFileTuple.cs +++ b/src/WixToolset.Data/Tuples/IniFileTuple.cs | |||
| @@ -2,29 +2,29 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 IniFile = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition IniFile = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.IniFile, | 10 | SymbolDefinitionType.IniFile, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(IniFileTupleFields.FileName), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(IniFileSymbolFields.FileName), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(IniFileTupleFields.DirProperty), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(IniFileSymbolFields.DirProperty), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(IniFileTupleFields.Section), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(IniFileSymbolFields.Section), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(IniFileTupleFields.Key), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(IniFileSymbolFields.Key), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(IniFileTupleFields.Value), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(IniFileSymbolFields.Value), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(IniFileTupleFields.Action), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(IniFileSymbolFields.Action), IntermediateFieldType.Number), |
| 19 | new IntermediateFieldDefinition(nameof(IniFileTupleFields.ComponentRef), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(IniFileSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 20 | }, | 20 | }, |
| 21 | typeof(IniFileTuple)); | 21 | typeof(IniFileSymbol)); |
| 22 | } | 22 | } |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | namespace WixToolset.Data.Tuples | 25 | namespace WixToolset.Data.Symbols |
| 26 | { | 26 | { |
| 27 | public enum IniFileTupleFields | 27 | public enum IniFileSymbolFields |
| 28 | { | 28 | { |
| 29 | FileName, | 29 | FileName, |
| 30 | DirProperty, | 30 | DirProperty, |
| @@ -35,58 +35,58 @@ namespace WixToolset.Data.Tuples | |||
| 35 | ComponentRef, | 35 | ComponentRef, |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public class IniFileTuple : IntermediateTuple | 38 | public class IniFileSymbol : IntermediateSymbol |
| 39 | { | 39 | { |
| 40 | public IniFileTuple() : base(TupleDefinitions.IniFile, null, null) | 40 | public IniFileSymbol() : base(SymbolDefinitions.IniFile, null, null) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public IniFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.IniFile, sourceLineNumber, id) | 44 | public IniFileSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.IniFile, sourceLineNumber, id) |
| 45 | { | 45 | { |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public IntermediateField this[IniFileTupleFields index] => this.Fields[(int)index]; | 48 | public IntermediateField this[IniFileSymbolFields index] => this.Fields[(int)index]; |
| 49 | 49 | ||
| 50 | public string FileName | 50 | public string FileName |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)IniFileTupleFields.FileName]; | 52 | get => (string)this.Fields[(int)IniFileSymbolFields.FileName]; |
| 53 | set => this.Set((int)IniFileTupleFields.FileName, value); | 53 | set => this.Set((int)IniFileSymbolFields.FileName, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string DirProperty | 56 | public string DirProperty |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)IniFileTupleFields.DirProperty]; | 58 | get => (string)this.Fields[(int)IniFileSymbolFields.DirProperty]; |
| 59 | set => this.Set((int)IniFileTupleFields.DirProperty, value); | 59 | set => this.Set((int)IniFileSymbolFields.DirProperty, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Section | 62 | public string Section |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)IniFileTupleFields.Section]; | 64 | get => (string)this.Fields[(int)IniFileSymbolFields.Section]; |
| 65 | set => this.Set((int)IniFileTupleFields.Section, value); | 65 | set => this.Set((int)IniFileSymbolFields.Section, value); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public string Key | 68 | public string Key |
| 69 | { | 69 | { |
| 70 | get => (string)this.Fields[(int)IniFileTupleFields.Key]; | 70 | get => (string)this.Fields[(int)IniFileSymbolFields.Key]; |
| 71 | set => this.Set((int)IniFileTupleFields.Key, value); | 71 | set => this.Set((int)IniFileSymbolFields.Key, value); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public string Value | 74 | public string Value |
| 75 | { | 75 | { |
| 76 | get => (string)this.Fields[(int)IniFileTupleFields.Value]; | 76 | get => (string)this.Fields[(int)IniFileSymbolFields.Value]; |
| 77 | set => this.Set((int)IniFileTupleFields.Value, value); | 77 | set => this.Set((int)IniFileSymbolFields.Value, value); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public InifFileActionType Action | 80 | public InifFileActionType Action |
| 81 | { | 81 | { |
| 82 | get => (InifFileActionType)this.Fields[(int)IniFileTupleFields.Action]?.AsNumber(); | 82 | get => (InifFileActionType)this.Fields[(int)IniFileSymbolFields.Action]?.AsNumber(); |
| 83 | set => this.Set((int)IniFileTupleFields.Action, (int)value); | 83 | set => this.Set((int)IniFileSymbolFields.Action, (int)value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public string ComponentRef | 86 | public string ComponentRef |
| 87 | { | 87 | { |
| 88 | get => (string)this.Fields[(int)IniFileTupleFields.ComponentRef]; | 88 | get => (string)this.Fields[(int)IniFileSymbolFields.ComponentRef]; |
| 89 | set => this.Set((int)IniFileTupleFields.ComponentRef, value); | 89 | set => this.Set((int)IniFileSymbolFields.ComponentRef, value); |
| 90 | } | 90 | } |
| 91 | } | 91 | } |
| 92 | } \ No newline at end of file | 92 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/IniLocatorTuple.cs b/src/WixToolset.Data/Tuples/IniLocatorTuple.cs index 1a52715d..64351681 100644 --- a/src/WixToolset.Data/Tuples/IniLocatorTuple.cs +++ b/src/WixToolset.Data/Tuples/IniLocatorTuple.cs | |||
| @@ -2,28 +2,28 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 IniLocator = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition IniLocator = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.IniLocator, | 10 | SymbolDefinitionType.IniLocator, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.SignatureRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(IniLocatorSymbolFields.SignatureRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.FileName), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(IniLocatorSymbolFields.FileName), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.Section), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(IniLocatorSymbolFields.Section), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.Key), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(IniLocatorSymbolFields.Key), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.Field), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(IniLocatorSymbolFields.Field), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.Type), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(IniLocatorSymbolFields.Type), IntermediateFieldType.Number), |
| 19 | }, | 19 | }, |
| 20 | typeof(IniLocatorTuple)); | 20 | typeof(IniLocatorSymbol)); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
| 25 | { | 25 | { |
| 26 | public enum IniLocatorTupleFields | 26 | public enum IniLocatorSymbolFields |
| 27 | { | 27 | { |
| 28 | SignatureRef, | 28 | SignatureRef, |
| 29 | FileName, | 29 | FileName, |
| @@ -33,52 +33,52 @@ namespace WixToolset.Data.Tuples | |||
| 33 | Type, | 33 | Type, |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public class IniLocatorTuple : IntermediateTuple | 36 | public class IniLocatorSymbol : IntermediateSymbol |
| 37 | { | 37 | { |
| 38 | public IniLocatorTuple() : base(TupleDefinitions.IniLocator, null, null) | 38 | public IniLocatorSymbol() : base(SymbolDefinitions.IniLocator, null, null) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IniLocatorTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.IniLocator, sourceLineNumber, id) | 42 | public IniLocatorSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.IniLocator, sourceLineNumber, id) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public IntermediateField this[IniLocatorTupleFields index] => this.Fields[(int)index]; | 46 | public IntermediateField this[IniLocatorSymbolFields index] => this.Fields[(int)index]; |
| 47 | 47 | ||
| 48 | public string SignatureRef | 48 | public string SignatureRef |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)IniLocatorTupleFields.SignatureRef]; | 50 | get => (string)this.Fields[(int)IniLocatorSymbolFields.SignatureRef]; |
| 51 | set => this.Set((int)IniLocatorTupleFields.SignatureRef, value); | 51 | set => this.Set((int)IniLocatorSymbolFields.SignatureRef, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string FileName | 54 | public string FileName |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)IniLocatorTupleFields.FileName]; | 56 | get => (string)this.Fields[(int)IniLocatorSymbolFields.FileName]; |
| 57 | set => this.Set((int)IniLocatorTupleFields.FileName, value); | 57 | set => this.Set((int)IniLocatorSymbolFields.FileName, value); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public string Section | 60 | public string Section |
| 61 | { | 61 | { |
| 62 | get => (string)this.Fields[(int)IniLocatorTupleFields.Section]; | 62 | get => (string)this.Fields[(int)IniLocatorSymbolFields.Section]; |
| 63 | set => this.Set((int)IniLocatorTupleFields.Section, value); | 63 | set => this.Set((int)IniLocatorSymbolFields.Section, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public string Key | 66 | public string Key |
| 67 | { | 67 | { |
| 68 | get => (string)this.Fields[(int)IniLocatorTupleFields.Key]; | 68 | get => (string)this.Fields[(int)IniLocatorSymbolFields.Key]; |
| 69 | set => this.Set((int)IniLocatorTupleFields.Key, value); | 69 | set => this.Set((int)IniLocatorSymbolFields.Key, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public int? Field | 72 | public int? Field |
| 73 | { | 73 | { |
| 74 | get => (int?)this.Fields[(int)IniLocatorTupleFields.Field]; | 74 | get => (int?)this.Fields[(int)IniLocatorSymbolFields.Field]; |
| 75 | set => this.Set((int)IniLocatorTupleFields.Field, value); | 75 | set => this.Set((int)IniLocatorSymbolFields.Field, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public int? Type | 78 | public int? Type |
| 79 | { | 79 | { |
| 80 | get => (int?)this.Fields[(int)IniLocatorTupleFields.Type]; | 80 | get => (int?)this.Fields[(int)IniLocatorSymbolFields.Type]; |
| 81 | set => this.Set((int)IniLocatorTupleFields.Type, value); | 81 | set => this.Set((int)IniLocatorSymbolFields.Type, value); |
| 82 | } | 82 | } |
| 83 | } | 83 | } |
| 84 | } \ No newline at end of file | 84 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/InifFileActionType.cs b/src/WixToolset.Data/Tuples/InifFileActionType.cs index 94172f47..8b642323 100644 --- a/src/WixToolset.Data/Tuples/InifFileActionType.cs +++ b/src/WixToolset.Data/Tuples/InifFileActionType.cs | |||
| @@ -1,6 +1,6 @@ | |||
| 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 | ||
| 3 | namespace WixToolset.Data.Tuples | 3 | namespace WixToolset.Data.Symbols |
| 4 | { | 4 | { |
| 5 | public enum InifFileActionType | 5 | public enum InifFileActionType |
| 6 | { | 6 | { |
diff --git a/src/WixToolset.Data/Tuples/IsolatedComponentTuple.cs b/src/WixToolset.Data/Tuples/IsolatedComponentTuple.cs index afd9891b..681f1030 100644 --- a/src/WixToolset.Data/Tuples/IsolatedComponentTuple.cs +++ b/src/WixToolset.Data/Tuples/IsolatedComponentTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 IsolatedComponent = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition IsolatedComponent = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.IsolatedComponent, | 10 | SymbolDefinitionType.IsolatedComponent, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(IsolatedComponentTupleFields.SharedComponentRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(IsolatedComponentSymbolFields.SharedComponentRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(IsolatedComponentTupleFields.ApplicationComponentRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(IsolatedComponentSymbolFields.ApplicationComponentRef), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(IsolatedComponentTuple)); | 16 | typeof(IsolatedComponentSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum IsolatedComponentTupleFields | 22 | public enum IsolatedComponentSymbolFields |
| 23 | { | 23 | { |
| 24 | SharedComponentRef, | 24 | SharedComponentRef, |
| 25 | ApplicationComponentRef, | 25 | ApplicationComponentRef, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class IsolatedComponentTuple : IntermediateTuple | 28 | public class IsolatedComponentSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public IsolatedComponentTuple() : base(TupleDefinitions.IsolatedComponent, null, null) | 30 | public IsolatedComponentSymbol() : base(SymbolDefinitions.IsolatedComponent, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public IsolatedComponentTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.IsolatedComponent, sourceLineNumber, id) | 34 | public IsolatedComponentSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.IsolatedComponent, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[IsolatedComponentTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[IsolatedComponentSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string SharedComponentRef | 40 | public string SharedComponentRef |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)IsolatedComponentTupleFields.SharedComponentRef]; | 42 | get => (string)this.Fields[(int)IsolatedComponentSymbolFields.SharedComponentRef]; |
| 43 | set => this.Set((int)IsolatedComponentTupleFields.SharedComponentRef, value); | 43 | set => this.Set((int)IsolatedComponentSymbolFields.SharedComponentRef, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string ApplicationComponentRef | 46 | public string ApplicationComponentRef |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)IsolatedComponentTupleFields.ApplicationComponentRef]; | 48 | get => (string)this.Fields[(int)IsolatedComponentSymbolFields.ApplicationComponentRef]; |
| 49 | set => this.Set((int)IsolatedComponentTupleFields.ApplicationComponentRef, value); | 49 | set => this.Set((int)IsolatedComponentSymbolFields.ApplicationComponentRef, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } | 52 | } |
diff --git a/src/WixToolset.Data/Tuples/LaunchConditionTuple.cs b/src/WixToolset.Data/Tuples/LaunchConditionTuple.cs index c895ea35..a160f25f 100644 --- a/src/WixToolset.Data/Tuples/LaunchConditionTuple.cs +++ b/src/WixToolset.Data/Tuples/LaunchConditionTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 LaunchCondition = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition LaunchCondition = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.LaunchCondition, | 10 | SymbolDefinitionType.LaunchCondition, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(LaunchConditionTupleFields.Condition), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(LaunchConditionSymbolFields.Condition), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(LaunchConditionTupleFields.Description), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(LaunchConditionSymbolFields.Description), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(LaunchConditionTuple)); | 16 | typeof(LaunchConditionSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum LaunchConditionTupleFields | 22 | public enum LaunchConditionSymbolFields |
| 23 | { | 23 | { |
| 24 | Condition, | 24 | Condition, |
| 25 | Description, | 25 | Description, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class LaunchConditionTuple : IntermediateTuple | 28 | public class LaunchConditionSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public LaunchConditionTuple() : base(TupleDefinitions.LaunchCondition, null, null) | 30 | public LaunchConditionSymbol() : base(SymbolDefinitions.LaunchCondition, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public LaunchConditionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.LaunchCondition, sourceLineNumber, id) | 34 | public LaunchConditionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.LaunchCondition, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[LaunchConditionTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[LaunchConditionSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string Condition | 40 | public string Condition |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)LaunchConditionTupleFields.Condition]; | 42 | get => (string)this.Fields[(int)LaunchConditionSymbolFields.Condition]; |
| 43 | set => this.Set((int)LaunchConditionTupleFields.Condition, value); | 43 | set => this.Set((int)LaunchConditionSymbolFields.Condition, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string Description | 46 | public string Description |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)LaunchConditionTupleFields.Description]; | 48 | get => (string)this.Fields[(int)LaunchConditionSymbolFields.Description]; |
| 49 | set => this.Set((int)LaunchConditionTupleFields.Description, value); | 49 | set => this.Set((int)LaunchConditionSymbolFields.Description, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ListBoxTuple.cs b/src/WixToolset.Data/Tuples/ListBoxTuple.cs index c25f1728..174327d1 100644 --- a/src/WixToolset.Data/Tuples/ListBoxTuple.cs +++ b/src/WixToolset.Data/Tuples/ListBoxTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ListBox = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ListBox = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ListBox, | 10 | SymbolDefinitionType.ListBox, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ListBoxTupleFields.Property), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ListBoxSymbolFields.Property), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ListBoxTupleFields.Order), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(ListBoxSymbolFields.Order), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(ListBoxTupleFields.Value), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ListBoxSymbolFields.Value), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ListBoxTupleFields.Text), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ListBoxSymbolFields.Text), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(ListBoxTuple)); | 18 | typeof(ListBoxSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum ListBoxTupleFields | 24 | public enum ListBoxSymbolFields |
| 25 | { | 25 | { |
| 26 | Property, | 26 | Property, |
| 27 | Order, | 27 | Order, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Text, | 29 | Text, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class ListBoxTuple : IntermediateTuple | 32 | public class ListBoxSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public ListBoxTuple() : base(TupleDefinitions.ListBox, null, null) | 34 | public ListBoxSymbol() : base(SymbolDefinitions.ListBox, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public ListBoxTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ListBox, sourceLineNumber, id) | 38 | public ListBoxSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ListBox, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[ListBoxTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[ListBoxSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string Property | 44 | public string Property |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)ListBoxTupleFields.Property]; | 46 | get => (string)this.Fields[(int)ListBoxSymbolFields.Property]; |
| 47 | set => this.Set((int)ListBoxTupleFields.Property, value); | 47 | set => this.Set((int)ListBoxSymbolFields.Property, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public int Order | 50 | public int Order |
| 51 | { | 51 | { |
| 52 | get => (int)this.Fields[(int)ListBoxTupleFields.Order]; | 52 | get => (int)this.Fields[(int)ListBoxSymbolFields.Order]; |
| 53 | set => this.Set((int)ListBoxTupleFields.Order, value); | 53 | set => this.Set((int)ListBoxSymbolFields.Order, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string Value | 56 | public string Value |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)ListBoxTupleFields.Value]; | 58 | get => (string)this.Fields[(int)ListBoxSymbolFields.Value]; |
| 59 | set => this.Set((int)ListBoxTupleFields.Value, value); | 59 | set => this.Set((int)ListBoxSymbolFields.Value, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Text | 62 | public string Text |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)ListBoxTupleFields.Text]; | 64 | get => (string)this.Fields[(int)ListBoxSymbolFields.Text]; |
| 65 | set => this.Set((int)ListBoxTupleFields.Text, value); | 65 | set => this.Set((int)ListBoxSymbolFields.Text, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ListViewTuple.cs b/src/WixToolset.Data/Tuples/ListViewTuple.cs index 80fbed83..09543ab1 100644 --- a/src/WixToolset.Data/Tuples/ListViewTuple.cs +++ b/src/WixToolset.Data/Tuples/ListViewTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ListView = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ListView = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ListView, | 10 | SymbolDefinitionType.ListView, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ListViewTupleFields.Property), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ListViewSymbolFields.Property), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ListViewTupleFields.Order), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(ListViewSymbolFields.Order), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(ListViewTupleFields.Value), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ListViewSymbolFields.Value), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ListViewTupleFields.Text), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ListViewSymbolFields.Text), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(ListViewTupleFields.BinaryRef), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(ListViewSymbolFields.BinaryRef), IntermediateFieldType.String), |
| 18 | }, | 18 | }, |
| 19 | typeof(ListViewTuple)); | 19 | typeof(ListViewSymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | public enum ListViewTupleFields | 25 | public enum ListViewSymbolFields |
| 26 | { | 26 | { |
| 27 | Property, | 27 | Property, |
| 28 | Order, | 28 | Order, |
| @@ -31,46 +31,46 @@ namespace WixToolset.Data.Tuples | |||
| 31 | BinaryRef, | 31 | BinaryRef, |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public class ListViewTuple : IntermediateTuple | 34 | public class ListViewSymbol : IntermediateSymbol |
| 35 | { | 35 | { |
| 36 | public ListViewTuple() : base(TupleDefinitions.ListView, null, null) | 36 | public ListViewSymbol() : base(SymbolDefinitions.ListView, null, null) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public ListViewTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ListView, sourceLineNumber, id) | 40 | public ListViewSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ListView, sourceLineNumber, id) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public IntermediateField this[ListViewTupleFields index] => this.Fields[(int)index]; | 44 | public IntermediateField this[ListViewSymbolFields index] => this.Fields[(int)index]; |
| 45 | 45 | ||
| 46 | public string Property | 46 | public string Property |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)ListViewTupleFields.Property]; | 48 | get => (string)this.Fields[(int)ListViewSymbolFields.Property]; |
| 49 | set => this.Set((int)ListViewTupleFields.Property, value); | 49 | set => this.Set((int)ListViewSymbolFields.Property, value); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | public int Order | 52 | public int Order |
| 53 | { | 53 | { |
| 54 | get => (int)this.Fields[(int)ListViewTupleFields.Order]; | 54 | get => (int)this.Fields[(int)ListViewSymbolFields.Order]; |
| 55 | set => this.Set((int)ListViewTupleFields.Order, value); | 55 | set => this.Set((int)ListViewSymbolFields.Order, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public string Value | 58 | public string Value |
| 59 | { | 59 | { |
| 60 | get => (string)this.Fields[(int)ListViewTupleFields.Value]; | 60 | get => (string)this.Fields[(int)ListViewSymbolFields.Value]; |
| 61 | set => this.Set((int)ListViewTupleFields.Value, value); | 61 | set => this.Set((int)ListViewSymbolFields.Value, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public string Text | 64 | public string Text |
| 65 | { | 65 | { |
| 66 | get => (string)this.Fields[(int)ListViewTupleFields.Text]; | 66 | get => (string)this.Fields[(int)ListViewSymbolFields.Text]; |
| 67 | set => this.Set((int)ListViewTupleFields.Text, value); | 67 | set => this.Set((int)ListViewSymbolFields.Text, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public string BinaryRef | 70 | public string BinaryRef |
| 71 | { | 71 | { |
| 72 | get => (string)this.Fields[(int)ListViewTupleFields.BinaryRef]; | 72 | get => (string)this.Fields[(int)ListViewSymbolFields.BinaryRef]; |
| 73 | set => this.Set((int)ListViewTupleFields.BinaryRef, value); | 73 | set => this.Set((int)ListViewSymbolFields.BinaryRef, value); |
| 74 | } | 74 | } |
| 75 | } | 75 | } |
| 76 | } \ No newline at end of file | 76 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/LocatorType.cs b/src/WixToolset.Data/Tuples/LocatorType.cs index 18f5ada0..6f136389 100644 --- a/src/WixToolset.Data/Tuples/LocatorType.cs +++ b/src/WixToolset.Data/Tuples/LocatorType.cs | |||
| @@ -1,6 +1,6 @@ | |||
| 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 | ||
| 3 | namespace WixToolset.Data.Tuples | 3 | namespace WixToolset.Data.Symbols |
| 4 | { | 4 | { |
| 5 | public enum LocatorType | 5 | public enum LocatorType |
| 6 | { | 6 | { |
diff --git a/src/WixToolset.Data/Tuples/LockPermissionsTuple.cs b/src/WixToolset.Data/Tuples/LockPermissionsTuple.cs index 33c1ad15..12562fd1 100644 --- a/src/WixToolset.Data/Tuples/LockPermissionsTuple.cs +++ b/src/WixToolset.Data/Tuples/LockPermissionsTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 LockPermissions = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition LockPermissions = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.LockPermissions, | 10 | SymbolDefinitionType.LockPermissions, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(LockPermissionsTupleFields.LockObject), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(LockPermissionsSymbolFields.LockObject), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(LockPermissionsTupleFields.Table), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(LockPermissionsSymbolFields.Table), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(LockPermissionsTupleFields.Domain), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(LockPermissionsSymbolFields.Domain), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(LockPermissionsTupleFields.User), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(LockPermissionsSymbolFields.User), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(LockPermissionsTupleFields.Permission), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(LockPermissionsSymbolFields.Permission), IntermediateFieldType.Number), |
| 18 | }, | 18 | }, |
| 19 | typeof(LockPermissionsTuple)); | 19 | typeof(LockPermissionsSymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | public enum LockPermissionsTupleFields | 25 | public enum LockPermissionsSymbolFields |
| 26 | { | 26 | { |
| 27 | LockObject, | 27 | LockObject, |
| 28 | Table, | 28 | Table, |
| @@ -31,46 +31,46 @@ namespace WixToolset.Data.Tuples | |||
| 31 | Permission, | 31 | Permission, |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public class LockPermissionsTuple : IntermediateTuple | 34 | public class LockPermissionsSymbol : IntermediateSymbol |
| 35 | { | 35 | { |
| 36 | public LockPermissionsTuple() : base(TupleDefinitions.LockPermissions, null, null) | 36 | public LockPermissionsSymbol() : base(SymbolDefinitions.LockPermissions, null, null) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public LockPermissionsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.LockPermissions, sourceLineNumber, id) | 40 | public LockPermissionsSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.LockPermissions, sourceLineNumber, id) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public IntermediateField this[LockPermissionsTupleFields index] => this.Fields[(int)index]; | 44 | public IntermediateField this[LockPermissionsSymbolFields index] => this.Fields[(int)index]; |
| 45 | 45 | ||
| 46 | public string LockObject | 46 | public string LockObject |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)LockPermissionsTupleFields.LockObject]; | 48 | get => (string)this.Fields[(int)LockPermissionsSymbolFields.LockObject]; |
| 49 | set => this.Set((int)LockPermissionsTupleFields.LockObject, value); | 49 | set => this.Set((int)LockPermissionsSymbolFields.LockObject, value); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | public string Table | 52 | public string Table |
| 53 | { | 53 | { |
| 54 | get => (string)this.Fields[(int)LockPermissionsTupleFields.Table]; | 54 | get => (string)this.Fields[(int)LockPermissionsSymbolFields.Table]; |
| 55 | set => this.Set((int)LockPermissionsTupleFields.Table, value); | 55 | set => this.Set((int)LockPermissionsSymbolFields.Table, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public string Domain | 58 | public string Domain |
| 59 | { | 59 | { |
| 60 | get => (string)this.Fields[(int)LockPermissionsTupleFields.Domain]; | 60 | get => (string)this.Fields[(int)LockPermissionsSymbolFields.Domain]; |
| 61 | set => this.Set((int)LockPermissionsTupleFields.Domain, value); | 61 | set => this.Set((int)LockPermissionsSymbolFields.Domain, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public string User | 64 | public string User |
| 65 | { | 65 | { |
| 66 | get => (string)this.Fields[(int)LockPermissionsTupleFields.User]; | 66 | get => (string)this.Fields[(int)LockPermissionsSymbolFields.User]; |
| 67 | set => this.Set((int)LockPermissionsTupleFields.User, value); | 67 | set => this.Set((int)LockPermissionsSymbolFields.User, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public int? Permission | 70 | public int? Permission |
| 71 | { | 71 | { |
| 72 | get => (int?)this.Fields[(int)LockPermissionsTupleFields.Permission]; | 72 | get => (int?)this.Fields[(int)LockPermissionsSymbolFields.Permission]; |
| 73 | set => this.Set((int)LockPermissionsTupleFields.Permission, value); | 73 | set => this.Set((int)LockPermissionsSymbolFields.Permission, value); |
| 74 | } | 74 | } |
| 75 | } | 75 | } |
| 76 | } \ No newline at end of file | 76 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MIMETuple.cs b/src/WixToolset.Data/Tuples/MIMETuple.cs index 19eff883..f66d05b8 100644 --- a/src/WixToolset.Data/Tuples/MIMETuple.cs +++ b/src/WixToolset.Data/Tuples/MIMETuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MIME = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MIME = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MIME, | 10 | SymbolDefinitionType.MIME, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MIMETupleFields.ContentType), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MIMESymbolFields.ContentType), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(MIMETupleFields.ExtensionRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(MIMESymbolFields.ExtensionRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(MIMETupleFields.CLSID), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(MIMESymbolFields.CLSID), IntermediateFieldType.String), |
| 16 | }, | 16 | }, |
| 17 | typeof(MIMETuple)); | 17 | typeof(MIMESymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum MIMETupleFields | 23 | public enum MIMESymbolFields |
| 24 | { | 24 | { |
| 25 | ContentType, | 25 | ContentType, |
| 26 | ExtensionRef, | 26 | ExtensionRef, |
| 27 | CLSID, | 27 | CLSID, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class MIMETuple : IntermediateTuple | 30 | public class MIMESymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public MIMETuple() : base(TupleDefinitions.MIME, null, null) | 32 | public MIMESymbol() : base(SymbolDefinitions.MIME, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public MIMETuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MIME, sourceLineNumber, id) | 36 | public MIMESymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MIME, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[MIMETupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[MIMESymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string ContentType | 42 | public string ContentType |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)MIMETupleFields.ContentType]; | 44 | get => (string)this.Fields[(int)MIMESymbolFields.ContentType]; |
| 45 | set => this.Set((int)MIMETupleFields.ContentType, value); | 45 | set => this.Set((int)MIMESymbolFields.ContentType, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public string ExtensionRef | 48 | public string ExtensionRef |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)MIMETupleFields.ExtensionRef]; | 50 | get => (string)this.Fields[(int)MIMESymbolFields.ExtensionRef]; |
| 51 | set => this.Set((int)MIMETupleFields.ExtensionRef, value); | 51 | set => this.Set((int)MIMESymbolFields.ExtensionRef, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string CLSID | 54 | public string CLSID |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)MIMETupleFields.CLSID]; | 56 | get => (string)this.Fields[(int)MIMESymbolFields.CLSID]; |
| 57 | set => this.Set((int)MIMETupleFields.CLSID, value); | 57 | set => this.Set((int)MIMESymbolFields.CLSID, value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MediaTuple.cs b/src/WixToolset.Data/Tuples/MediaTuple.cs index a9cbb034..f216cddc 100644 --- a/src/WixToolset.Data/Tuples/MediaTuple.cs +++ b/src/WixToolset.Data/Tuples/MediaTuple.cs | |||
| @@ -2,30 +2,30 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Media = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Media = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Media, | 10 | SymbolDefinitionType.Media, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MediaTupleFields.DiskId), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(MediaSymbolFields.DiskId), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(MediaTupleFields.LastSequence), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(MediaSymbolFields.LastSequence), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(MediaTupleFields.DiskPrompt), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(MediaSymbolFields.DiskPrompt), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(MediaTupleFields.Cabinet), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(MediaSymbolFields.Cabinet), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(MediaTupleFields.VolumeLabel), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(MediaSymbolFields.VolumeLabel), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(MediaTupleFields.Source), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(MediaSymbolFields.Source), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(MediaTupleFields.CompressionLevel), IntermediateFieldType.Number), | 19 | new IntermediateFieldDefinition(nameof(MediaSymbolFields.CompressionLevel), IntermediateFieldType.Number), |
| 20 | new IntermediateFieldDefinition(nameof(MediaTupleFields.Layout), IntermediateFieldType.String), | 20 | new IntermediateFieldDefinition(nameof(MediaSymbolFields.Layout), IntermediateFieldType.String), |
| 21 | }, | 21 | }, |
| 22 | typeof(MediaTuple)); | 22 | typeof(MediaSymbol)); |
| 23 | } | 23 | } |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | namespace WixToolset.Data.Tuples | 26 | namespace WixToolset.Data.Symbols |
| 27 | { | 27 | { |
| 28 | public enum MediaTupleFields | 28 | public enum MediaSymbolFields |
| 29 | { | 29 | { |
| 30 | DiskId, | 30 | DiskId, |
| 31 | LastSequence, | 31 | LastSequence, |
| @@ -37,64 +37,64 @@ namespace WixToolset.Data.Tuples | |||
| 37 | Layout, | 37 | Layout, |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public class MediaTuple : IntermediateTuple | 40 | public class MediaSymbol : IntermediateSymbol |
| 41 | { | 41 | { |
| 42 | public MediaTuple() : base(TupleDefinitions.Media, null, null) | 42 | public MediaSymbol() : base(SymbolDefinitions.Media, null, null) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public MediaTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Media, sourceLineNumber, id) | 46 | public MediaSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Media, sourceLineNumber, id) |
| 47 | { | 47 | { |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public IntermediateField this[MediaTupleFields index] => this.Fields[(int)index]; | 50 | public IntermediateField this[MediaSymbolFields index] => this.Fields[(int)index]; |
| 51 | 51 | ||
| 52 | public int DiskId | 52 | public int DiskId |
| 53 | { | 53 | { |
| 54 | get => (int)this.Fields[(int)MediaTupleFields.DiskId]; | 54 | get => (int)this.Fields[(int)MediaSymbolFields.DiskId]; |
| 55 | set => this.Set((int)MediaTupleFields.DiskId, value); | 55 | set => this.Set((int)MediaSymbolFields.DiskId, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public int? LastSequence | 58 | public int? LastSequence |
| 59 | { | 59 | { |
| 60 | get => (int?)this.Fields[(int)MediaTupleFields.LastSequence]; | 60 | get => (int?)this.Fields[(int)MediaSymbolFields.LastSequence]; |
| 61 | set => this.Set((int)MediaTupleFields.LastSequence, value); | 61 | set => this.Set((int)MediaSymbolFields.LastSequence, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public string DiskPrompt | 64 | public string DiskPrompt |
| 65 | { | 65 | { |
| 66 | get => (string)this.Fields[(int)MediaTupleFields.DiskPrompt]; | 66 | get => (string)this.Fields[(int)MediaSymbolFields.DiskPrompt]; |
| 67 | set => this.Set((int)MediaTupleFields.DiskPrompt, value); | 67 | set => this.Set((int)MediaSymbolFields.DiskPrompt, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public string Cabinet | 70 | public string Cabinet |
| 71 | { | 71 | { |
| 72 | get => (string)this.Fields[(int)MediaTupleFields.Cabinet]; | 72 | get => (string)this.Fields[(int)MediaSymbolFields.Cabinet]; |
| 73 | set => this.Set((int)MediaTupleFields.Cabinet, value); | 73 | set => this.Set((int)MediaSymbolFields.Cabinet, value); |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | public string VolumeLabel | 76 | public string VolumeLabel |
| 77 | { | 77 | { |
| 78 | get => (string)this.Fields[(int)MediaTupleFields.VolumeLabel]; | 78 | get => (string)this.Fields[(int)MediaSymbolFields.VolumeLabel]; |
| 79 | set => this.Set((int)MediaTupleFields.VolumeLabel, value); | 79 | set => this.Set((int)MediaSymbolFields.VolumeLabel, value); |
| 80 | } | 80 | } |
| 81 | 81 | ||
| 82 | public string Source | 82 | public string Source |
| 83 | { | 83 | { |
| 84 | get => (string)this.Fields[(int)MediaTupleFields.Source]; | 84 | get => (string)this.Fields[(int)MediaSymbolFields.Source]; |
| 85 | set => this.Set((int)MediaTupleFields.Source, value); | 85 | set => this.Set((int)MediaSymbolFields.Source, value); |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | public CompressionLevel? CompressionLevel | 88 | public CompressionLevel? CompressionLevel |
| 89 | { | 89 | { |
| 90 | get => (CompressionLevel?)this.Fields[(int)MediaTupleFields.CompressionLevel].AsNullableNumber(); | 90 | get => (CompressionLevel?)this.Fields[(int)MediaSymbolFields.CompressionLevel].AsNullableNumber(); |
| 91 | set => this.Set((int)MediaTupleFields.CompressionLevel, (int?)value); | 91 | set => this.Set((int)MediaSymbolFields.CompressionLevel, (int?)value); |
| 92 | } | 92 | } |
| 93 | 93 | ||
| 94 | public string Layout | 94 | public string Layout |
| 95 | { | 95 | { |
| 96 | get => (string)this.Fields[(int)MediaTupleFields.Layout]; | 96 | get => (string)this.Fields[(int)MediaSymbolFields.Layout]; |
| 97 | set => this.Set((int)MediaTupleFields.Layout, value); | 97 | set => this.Set((int)MediaSymbolFields.Layout, value); |
| 98 | } | 98 | } |
| 99 | } | 99 | } |
| 100 | } | 100 | } |
diff --git a/src/WixToolset.Data/Tuples/ModuleComponentsTuple.cs b/src/WixToolset.Data/Tuples/ModuleComponentsTuple.cs index 2b560b50..287819ab 100644 --- a/src/WixToolset.Data/Tuples/ModuleComponentsTuple.cs +++ b/src/WixToolset.Data/Tuples/ModuleComponentsTuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ModuleComponents = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ModuleComponents = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ModuleComponents, | 10 | SymbolDefinitionType.ModuleComponents, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ModuleComponentsTupleFields.Component), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ModuleComponentsSymbolFields.Component), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ModuleComponentsTupleFields.ModuleID), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ModuleComponentsSymbolFields.ModuleID), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ModuleComponentsTupleFields.Language), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(ModuleComponentsSymbolFields.Language), IntermediateFieldType.Number), |
| 16 | }, | 16 | }, |
| 17 | typeof(ModuleComponentsTuple)); | 17 | typeof(ModuleComponentsSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum ModuleComponentsTupleFields | 23 | public enum ModuleComponentsSymbolFields |
| 24 | { | 24 | { |
| 25 | Component, | 25 | Component, |
| 26 | ModuleID, | 26 | ModuleID, |
| 27 | Language, | 27 | Language, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class ModuleComponentsTuple : IntermediateTuple | 30 | public class ModuleComponentsSymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public ModuleComponentsTuple() : base(TupleDefinitions.ModuleComponents, null, null) | 32 | public ModuleComponentsSymbol() : base(SymbolDefinitions.ModuleComponents, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public ModuleComponentsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleComponents, sourceLineNumber, id) | 36 | public ModuleComponentsSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ModuleComponents, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[ModuleComponentsTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[ModuleComponentsSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string Component | 42 | public string Component |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)ModuleComponentsTupleFields.Component]; | 44 | get => (string)this.Fields[(int)ModuleComponentsSymbolFields.Component]; |
| 45 | set => this.Set((int)ModuleComponentsTupleFields.Component, value); | 45 | set => this.Set((int)ModuleComponentsSymbolFields.Component, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public string ModuleID | 48 | public string ModuleID |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)ModuleComponentsTupleFields.ModuleID]; | 50 | get => (string)this.Fields[(int)ModuleComponentsSymbolFields.ModuleID]; |
| 51 | set => this.Set((int)ModuleComponentsTupleFields.ModuleID, value); | 51 | set => this.Set((int)ModuleComponentsSymbolFields.ModuleID, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public int Language | 54 | public int Language |
| 55 | { | 55 | { |
| 56 | get => (int)this.Fields[(int)ModuleComponentsTupleFields.Language]; | 56 | get => (int)this.Fields[(int)ModuleComponentsSymbolFields.Language]; |
| 57 | set => this.Set((int)ModuleComponentsTupleFields.Language, value); | 57 | set => this.Set((int)ModuleComponentsSymbolFields.Language, value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ModuleConfigurationTuple.cs b/src/WixToolset.Data/Tuples/ModuleConfigurationTuple.cs index fd0cf365..8188dc87 100644 --- a/src/WixToolset.Data/Tuples/ModuleConfigurationTuple.cs +++ b/src/WixToolset.Data/Tuples/ModuleConfigurationTuple.cs | |||
| @@ -2,32 +2,32 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ModuleConfiguration = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ModuleConfiguration = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ModuleConfiguration, | 10 | SymbolDefinitionType.ModuleConfiguration, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.Format), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(ModuleConfigurationSymbolFields.Format), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.Type), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ModuleConfigurationSymbolFields.Type), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.ContextData), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ModuleConfigurationSymbolFields.ContextData), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.DefaultValue), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ModuleConfigurationSymbolFields.DefaultValue), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.KeyNoOrphan), IntermediateFieldType.Bool), | 17 | new IntermediateFieldDefinition(nameof(ModuleConfigurationSymbolFields.KeyNoOrphan), IntermediateFieldType.Bool), |
| 18 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.NonNullable), IntermediateFieldType.Bool), | 18 | new IntermediateFieldDefinition(nameof(ModuleConfigurationSymbolFields.NonNullable), IntermediateFieldType.Bool), |
| 19 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.DisplayName), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(ModuleConfigurationSymbolFields.DisplayName), IntermediateFieldType.String), |
| 20 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.Description), IntermediateFieldType.String), | 20 | new IntermediateFieldDefinition(nameof(ModuleConfigurationSymbolFields.Description), IntermediateFieldType.String), |
| 21 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.HelpLocation), IntermediateFieldType.String), | 21 | new IntermediateFieldDefinition(nameof(ModuleConfigurationSymbolFields.HelpLocation), IntermediateFieldType.String), |
| 22 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.HelpKeyword), IntermediateFieldType.String), | 22 | new IntermediateFieldDefinition(nameof(ModuleConfigurationSymbolFields.HelpKeyword), IntermediateFieldType.String), |
| 23 | }, | 23 | }, |
| 24 | typeof(ModuleConfigurationTuple)); | 24 | typeof(ModuleConfigurationSymbol)); |
| 25 | } | 25 | } |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | namespace WixToolset.Data.Tuples | 28 | namespace WixToolset.Data.Symbols |
| 29 | { | 29 | { |
| 30 | public enum ModuleConfigurationTupleFields | 30 | public enum ModuleConfigurationSymbolFields |
| 31 | { | 31 | { |
| 32 | Format, | 32 | Format, |
| 33 | Type, | 33 | Type, |
| @@ -41,76 +41,76 @@ namespace WixToolset.Data.Tuples | |||
| 41 | HelpKeyword, | 41 | HelpKeyword, |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public class ModuleConfigurationTuple : IntermediateTuple | 44 | public class ModuleConfigurationSymbol : IntermediateSymbol |
| 45 | { | 45 | { |
| 46 | public ModuleConfigurationTuple() : base(TupleDefinitions.ModuleConfiguration, null, null) | 46 | public ModuleConfigurationSymbol() : base(SymbolDefinitions.ModuleConfiguration, null, null) |
| 47 | { | 47 | { |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public ModuleConfigurationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleConfiguration, sourceLineNumber, id) | 50 | public ModuleConfigurationSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ModuleConfiguration, sourceLineNumber, id) |
| 51 | { | 51 | { |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public IntermediateField this[ModuleConfigurationTupleFields index] => this.Fields[(int)index]; | 54 | public IntermediateField this[ModuleConfigurationSymbolFields index] => this.Fields[(int)index]; |
| 55 | 55 | ||
| 56 | public int Format | 56 | public int Format |
| 57 | { | 57 | { |
| 58 | get => (int)this.Fields[(int)ModuleConfigurationTupleFields.Format]; | 58 | get => (int)this.Fields[(int)ModuleConfigurationSymbolFields.Format]; |
| 59 | set => this.Set((int)ModuleConfigurationTupleFields.Format, value); | 59 | set => this.Set((int)ModuleConfigurationSymbolFields.Format, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Type | 62 | public string Type |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)ModuleConfigurationTupleFields.Type]; | 64 | get => (string)this.Fields[(int)ModuleConfigurationSymbolFields.Type]; |
| 65 | set => this.Set((int)ModuleConfigurationTupleFields.Type, value); | 65 | set => this.Set((int)ModuleConfigurationSymbolFields.Type, value); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public string ContextData | 68 | public string ContextData |
| 69 | { | 69 | { |
| 70 | get => (string)this.Fields[(int)ModuleConfigurationTupleFields.ContextData]; | 70 | get => (string)this.Fields[(int)ModuleConfigurationSymbolFields.ContextData]; |
| 71 | set => this.Set((int)ModuleConfigurationTupleFields.ContextData, value); | 71 | set => this.Set((int)ModuleConfigurationSymbolFields.ContextData, value); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public string DefaultValue | 74 | public string DefaultValue |
| 75 | { | 75 | { |
| 76 | get => (string)this.Fields[(int)ModuleConfigurationTupleFields.DefaultValue]; | 76 | get => (string)this.Fields[(int)ModuleConfigurationSymbolFields.DefaultValue]; |
| 77 | set => this.Set((int)ModuleConfigurationTupleFields.DefaultValue, value); | 77 | set => this.Set((int)ModuleConfigurationSymbolFields.DefaultValue, value); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public bool KeyNoOrphan | 80 | public bool KeyNoOrphan |
| 81 | { | 81 | { |
| 82 | get => this.Fields[(int)ModuleConfigurationTupleFields.KeyNoOrphan].AsBool(); | 82 | get => this.Fields[(int)ModuleConfigurationSymbolFields.KeyNoOrphan].AsBool(); |
| 83 | set => this.Set((int)ModuleConfigurationTupleFields.KeyNoOrphan, value); | 83 | set => this.Set((int)ModuleConfigurationSymbolFields.KeyNoOrphan, value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public bool NonNullable | 86 | public bool NonNullable |
| 87 | { | 87 | { |
| 88 | get => this.Fields[(int)ModuleConfigurationTupleFields.NonNullable].AsBool(); | 88 | get => this.Fields[(int)ModuleConfigurationSymbolFields.NonNullable].AsBool(); |
| 89 | set => this.Set((int)ModuleConfigurationTupleFields.NonNullable, value); | 89 | set => this.Set((int)ModuleConfigurationSymbolFields.NonNullable, value); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | public string DisplayName | 92 | public string DisplayName |
| 93 | { | 93 | { |
| 94 | get => (string)this.Fields[(int)ModuleConfigurationTupleFields.DisplayName]; | 94 | get => (string)this.Fields[(int)ModuleConfigurationSymbolFields.DisplayName]; |
| 95 | set => this.Set((int)ModuleConfigurationTupleFields.DisplayName, value); | 95 | set => this.Set((int)ModuleConfigurationSymbolFields.DisplayName, value); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | public string Description | 98 | public string Description |
| 99 | { | 99 | { |
| 100 | get => (string)this.Fields[(int)ModuleConfigurationTupleFields.Description]; | 100 | get => (string)this.Fields[(int)ModuleConfigurationSymbolFields.Description]; |
| 101 | set => this.Set((int)ModuleConfigurationTupleFields.Description, value); | 101 | set => this.Set((int)ModuleConfigurationSymbolFields.Description, value); |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | public string HelpLocation | 104 | public string HelpLocation |
| 105 | { | 105 | { |
| 106 | get => (string)this.Fields[(int)ModuleConfigurationTupleFields.HelpLocation]; | 106 | get => (string)this.Fields[(int)ModuleConfigurationSymbolFields.HelpLocation]; |
| 107 | set => this.Set((int)ModuleConfigurationTupleFields.HelpLocation, value); | 107 | set => this.Set((int)ModuleConfigurationSymbolFields.HelpLocation, value); |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | public string HelpKeyword | 110 | public string HelpKeyword |
| 111 | { | 111 | { |
| 112 | get => (string)this.Fields[(int)ModuleConfigurationTupleFields.HelpKeyword]; | 112 | get => (string)this.Fields[(int)ModuleConfigurationSymbolFields.HelpKeyword]; |
| 113 | set => this.Set((int)ModuleConfigurationTupleFields.HelpKeyword, value); | 113 | set => this.Set((int)ModuleConfigurationSymbolFields.HelpKeyword, value); |
| 114 | } | 114 | } |
| 115 | } | 115 | } |
| 116 | } \ No newline at end of file | 116 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ModuleDependencyTuple.cs b/src/WixToolset.Data/Tuples/ModuleDependencyTuple.cs index 8c857d41..80d2d5f6 100644 --- a/src/WixToolset.Data/Tuples/ModuleDependencyTuple.cs +++ b/src/WixToolset.Data/Tuples/ModuleDependencyTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ModuleDependency = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ModuleDependency = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ModuleDependency, | 10 | SymbolDefinitionType.ModuleDependency, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ModuleDependencyTupleFields.ModuleID), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ModuleDependencySymbolFields.ModuleID), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ModuleDependencyTupleFields.ModuleLanguage), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(ModuleDependencySymbolFields.ModuleLanguage), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(ModuleDependencyTupleFields.RequiredID), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ModuleDependencySymbolFields.RequiredID), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ModuleDependencyTupleFields.RequiredLanguage), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(ModuleDependencySymbolFields.RequiredLanguage), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(ModuleDependencyTupleFields.RequiredVersion), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(ModuleDependencySymbolFields.RequiredVersion), IntermediateFieldType.String), |
| 18 | }, | 18 | }, |
| 19 | typeof(ModuleDependencyTuple)); | 19 | typeof(ModuleDependencySymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | public enum ModuleDependencyTupleFields | 25 | public enum ModuleDependencySymbolFields |
| 26 | { | 26 | { |
| 27 | ModuleID, | 27 | ModuleID, |
| 28 | ModuleLanguage, | 28 | ModuleLanguage, |
| @@ -31,46 +31,46 @@ namespace WixToolset.Data.Tuples | |||
| 31 | RequiredVersion, | 31 | RequiredVersion, |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public class ModuleDependencyTuple : IntermediateTuple | 34 | public class ModuleDependencySymbol : IntermediateSymbol |
| 35 | { | 35 | { |
| 36 | public ModuleDependencyTuple() : base(TupleDefinitions.ModuleDependency, null, null) | 36 | public ModuleDependencySymbol() : base(SymbolDefinitions.ModuleDependency, null, null) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public ModuleDependencyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleDependency, sourceLineNumber, id) | 40 | public ModuleDependencySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ModuleDependency, sourceLineNumber, id) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public IntermediateField this[ModuleDependencyTupleFields index] => this.Fields[(int)index]; | 44 | public IntermediateField this[ModuleDependencySymbolFields index] => this.Fields[(int)index]; |
| 45 | 45 | ||
| 46 | public string ModuleID | 46 | public string ModuleID |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)ModuleDependencyTupleFields.ModuleID]; | 48 | get => (string)this.Fields[(int)ModuleDependencySymbolFields.ModuleID]; |
| 49 | set => this.Set((int)ModuleDependencyTupleFields.ModuleID, value); | 49 | set => this.Set((int)ModuleDependencySymbolFields.ModuleID, value); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | public int ModuleLanguage | 52 | public int ModuleLanguage |
| 53 | { | 53 | { |
| 54 | get => (int)this.Fields[(int)ModuleDependencyTupleFields.ModuleLanguage]; | 54 | get => (int)this.Fields[(int)ModuleDependencySymbolFields.ModuleLanguage]; |
| 55 | set => this.Set((int)ModuleDependencyTupleFields.ModuleLanguage, value); | 55 | set => this.Set((int)ModuleDependencySymbolFields.ModuleLanguage, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public string RequiredID | 58 | public string RequiredID |
| 59 | { | 59 | { |
| 60 | get => (string)this.Fields[(int)ModuleDependencyTupleFields.RequiredID]; | 60 | get => (string)this.Fields[(int)ModuleDependencySymbolFields.RequiredID]; |
| 61 | set => this.Set((int)ModuleDependencyTupleFields.RequiredID, value); | 61 | set => this.Set((int)ModuleDependencySymbolFields.RequiredID, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public int RequiredLanguage | 64 | public int RequiredLanguage |
| 65 | { | 65 | { |
| 66 | get => (int)this.Fields[(int)ModuleDependencyTupleFields.RequiredLanguage]; | 66 | get => (int)this.Fields[(int)ModuleDependencySymbolFields.RequiredLanguage]; |
| 67 | set => this.Set((int)ModuleDependencyTupleFields.RequiredLanguage, value); | 67 | set => this.Set((int)ModuleDependencySymbolFields.RequiredLanguage, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public string RequiredVersion | 70 | public string RequiredVersion |
| 71 | { | 71 | { |
| 72 | get => (string)this.Fields[(int)ModuleDependencyTupleFields.RequiredVersion]; | 72 | get => (string)this.Fields[(int)ModuleDependencySymbolFields.RequiredVersion]; |
| 73 | set => this.Set((int)ModuleDependencyTupleFields.RequiredVersion, value); | 73 | set => this.Set((int)ModuleDependencySymbolFields.RequiredVersion, value); |
| 74 | } | 74 | } |
| 75 | } | 75 | } |
| 76 | } \ No newline at end of file | 76 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ModuleExclusionTuple.cs b/src/WixToolset.Data/Tuples/ModuleExclusionTuple.cs index 98c5ac5e..0c45abfa 100644 --- a/src/WixToolset.Data/Tuples/ModuleExclusionTuple.cs +++ b/src/WixToolset.Data/Tuples/ModuleExclusionTuple.cs | |||
| @@ -2,28 +2,28 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ModuleExclusion = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ModuleExclusion = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ModuleExclusion, | 10 | SymbolDefinitionType.ModuleExclusion, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ModuleExclusionTupleFields.ModuleID), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ModuleExclusionSymbolFields.ModuleID), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ModuleExclusionTupleFields.ModuleLanguage), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(ModuleExclusionSymbolFields.ModuleLanguage), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(ModuleExclusionTupleFields.ExcludedID), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ModuleExclusionSymbolFields.ExcludedID), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ModuleExclusionTupleFields.ExcludedLanguage), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(ModuleExclusionSymbolFields.ExcludedLanguage), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(ModuleExclusionTupleFields.ExcludedMinVersion), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(ModuleExclusionSymbolFields.ExcludedMinVersion), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(ModuleExclusionTupleFields.ExcludedMaxVersion), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(ModuleExclusionSymbolFields.ExcludedMaxVersion), IntermediateFieldType.String), |
| 19 | }, | 19 | }, |
| 20 | typeof(ModuleExclusionTuple)); | 20 | typeof(ModuleExclusionSymbol)); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
| 25 | { | 25 | { |
| 26 | public enum ModuleExclusionTupleFields | 26 | public enum ModuleExclusionSymbolFields |
| 27 | { | 27 | { |
| 28 | ModuleID, | 28 | ModuleID, |
| 29 | ModuleLanguage, | 29 | ModuleLanguage, |
| @@ -33,52 +33,52 @@ namespace WixToolset.Data.Tuples | |||
| 33 | ExcludedMaxVersion, | 33 | ExcludedMaxVersion, |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public class ModuleExclusionTuple : IntermediateTuple | 36 | public class ModuleExclusionSymbol : IntermediateSymbol |
| 37 | { | 37 | { |
| 38 | public ModuleExclusionTuple() : base(TupleDefinitions.ModuleExclusion, null, null) | 38 | public ModuleExclusionSymbol() : base(SymbolDefinitions.ModuleExclusion, null, null) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public ModuleExclusionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleExclusion, sourceLineNumber, id) | 42 | public ModuleExclusionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ModuleExclusion, sourceLineNumber, id) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public IntermediateField this[ModuleExclusionTupleFields index] => this.Fields[(int)index]; | 46 | public IntermediateField this[ModuleExclusionSymbolFields index] => this.Fields[(int)index]; |
| 47 | 47 | ||
| 48 | public string ModuleID | 48 | public string ModuleID |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)ModuleExclusionTupleFields.ModuleID]; | 50 | get => (string)this.Fields[(int)ModuleExclusionSymbolFields.ModuleID]; |
| 51 | set => this.Set((int)ModuleExclusionTupleFields.ModuleID, value); | 51 | set => this.Set((int)ModuleExclusionSymbolFields.ModuleID, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public int ModuleLanguage | 54 | public int ModuleLanguage |
| 55 | { | 55 | { |
| 56 | get => (int)this.Fields[(int)ModuleExclusionTupleFields.ModuleLanguage]; | 56 | get => (int)this.Fields[(int)ModuleExclusionSymbolFields.ModuleLanguage]; |
| 57 | set => this.Set((int)ModuleExclusionTupleFields.ModuleLanguage, value); | 57 | set => this.Set((int)ModuleExclusionSymbolFields.ModuleLanguage, value); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public string ExcludedID | 60 | public string ExcludedID |
| 61 | { | 61 | { |
| 62 | get => (string)this.Fields[(int)ModuleExclusionTupleFields.ExcludedID]; | 62 | get => (string)this.Fields[(int)ModuleExclusionSymbolFields.ExcludedID]; |
| 63 | set => this.Set((int)ModuleExclusionTupleFields.ExcludedID, value); | 63 | set => this.Set((int)ModuleExclusionSymbolFields.ExcludedID, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public int ExcludedLanguage | 66 | public int ExcludedLanguage |
| 67 | { | 67 | { |
| 68 | get => (int)this.Fields[(int)ModuleExclusionTupleFields.ExcludedLanguage]; | 68 | get => (int)this.Fields[(int)ModuleExclusionSymbolFields.ExcludedLanguage]; |
| 69 | set => this.Set((int)ModuleExclusionTupleFields.ExcludedLanguage, value); | 69 | set => this.Set((int)ModuleExclusionSymbolFields.ExcludedLanguage, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public string ExcludedMinVersion | 72 | public string ExcludedMinVersion |
| 73 | { | 73 | { |
| 74 | get => (string)this.Fields[(int)ModuleExclusionTupleFields.ExcludedMinVersion]; | 74 | get => (string)this.Fields[(int)ModuleExclusionSymbolFields.ExcludedMinVersion]; |
| 75 | set => this.Set((int)ModuleExclusionTupleFields.ExcludedMinVersion, value); | 75 | set => this.Set((int)ModuleExclusionSymbolFields.ExcludedMinVersion, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public string ExcludedMaxVersion | 78 | public string ExcludedMaxVersion |
| 79 | { | 79 | { |
| 80 | get => (string)this.Fields[(int)ModuleExclusionTupleFields.ExcludedMaxVersion]; | 80 | get => (string)this.Fields[(int)ModuleExclusionSymbolFields.ExcludedMaxVersion]; |
| 81 | set => this.Set((int)ModuleExclusionTupleFields.ExcludedMaxVersion, value); | 81 | set => this.Set((int)ModuleExclusionSymbolFields.ExcludedMaxVersion, value); |
| 82 | } | 82 | } |
| 83 | } | 83 | } |
| 84 | } \ No newline at end of file | 84 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ModuleIgnoreTableTuple.cs b/src/WixToolset.Data/Tuples/ModuleIgnoreTableTuple.cs index d786b8d9..07302df8 100644 --- a/src/WixToolset.Data/Tuples/ModuleIgnoreTableTuple.cs +++ b/src/WixToolset.Data/Tuples/ModuleIgnoreTableTuple.cs | |||
| @@ -2,35 +2,35 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ModuleIgnoreTable = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ModuleIgnoreTable = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ModuleIgnoreTable, | 10 | SymbolDefinitionType.ModuleIgnoreTable, |
| 11 | new IntermediateFieldDefinition[] | 11 | new IntermediateFieldDefinition[] |
| 12 | { | 12 | { |
| 13 | }, | 13 | }, |
| 14 | typeof(ModuleIgnoreTableTuple)); | 14 | typeof(ModuleIgnoreTableSymbol)); |
| 15 | } | 15 | } |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | namespace WixToolset.Data.Tuples | 18 | namespace WixToolset.Data.Symbols |
| 19 | { | 19 | { |
| 20 | public enum ModuleIgnoreTableTupleFields | 20 | public enum ModuleIgnoreTableSymbolFields |
| 21 | { | 21 | { |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | public class ModuleIgnoreTableTuple : IntermediateTuple | 24 | public class ModuleIgnoreTableSymbol : IntermediateSymbol |
| 25 | { | 25 | { |
| 26 | public ModuleIgnoreTableTuple() : base(TupleDefinitions.ModuleIgnoreTable, null, null) | 26 | public ModuleIgnoreTableSymbol() : base(SymbolDefinitions.ModuleIgnoreTable, null, null) |
| 27 | { | 27 | { |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public ModuleIgnoreTableTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleIgnoreTable, sourceLineNumber, id) | 30 | public ModuleIgnoreTableSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ModuleIgnoreTable, sourceLineNumber, id) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public IntermediateField this[ModuleIgnoreTableTupleFields index] => this.Fields[(int)index]; | 34 | public IntermediateField this[ModuleIgnoreTableSymbolFields index] => this.Fields[(int)index]; |
| 35 | } | 35 | } |
| 36 | } \ No newline at end of file | 36 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ModuleSignatureTuple.cs b/src/WixToolset.Data/Tuples/ModuleSignatureTuple.cs index 04db5f58..5f6ded09 100644 --- a/src/WixToolset.Data/Tuples/ModuleSignatureTuple.cs +++ b/src/WixToolset.Data/Tuples/ModuleSignatureTuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ModuleSignature = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ModuleSignature = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ModuleSignature, | 10 | SymbolDefinitionType.ModuleSignature, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ModuleSignatureTupleFields.ModuleID), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ModuleSignatureSymbolFields.ModuleID), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ModuleSignatureTupleFields.Language), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(ModuleSignatureSymbolFields.Language), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(ModuleSignatureTupleFields.Version), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ModuleSignatureSymbolFields.Version), IntermediateFieldType.String), |
| 16 | }, | 16 | }, |
| 17 | typeof(ModuleSignatureTuple)); | 17 | typeof(ModuleSignatureSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum ModuleSignatureTupleFields | 23 | public enum ModuleSignatureSymbolFields |
| 24 | { | 24 | { |
| 25 | ModuleID, | 25 | ModuleID, |
| 26 | Language, | 26 | Language, |
| 27 | Version, | 27 | Version, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class ModuleSignatureTuple : IntermediateTuple | 30 | public class ModuleSignatureSymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public ModuleSignatureTuple() : base(TupleDefinitions.ModuleSignature, null, null) | 32 | public ModuleSignatureSymbol() : base(SymbolDefinitions.ModuleSignature, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public ModuleSignatureTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleSignature, sourceLineNumber, id) | 36 | public ModuleSignatureSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ModuleSignature, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[ModuleSignatureTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[ModuleSignatureSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string ModuleID | 42 | public string ModuleID |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)ModuleSignatureTupleFields.ModuleID]; | 44 | get => (string)this.Fields[(int)ModuleSignatureSymbolFields.ModuleID]; |
| 45 | set => this.Set((int)ModuleSignatureTupleFields.ModuleID, value); | 45 | set => this.Set((int)ModuleSignatureSymbolFields.ModuleID, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public int Language | 48 | public int Language |
| 49 | { | 49 | { |
| 50 | get => (int)this.Fields[(int)ModuleSignatureTupleFields.Language]; | 50 | get => (int)this.Fields[(int)ModuleSignatureSymbolFields.Language]; |
| 51 | set => this.Set((int)ModuleSignatureTupleFields.Language, value); | 51 | set => this.Set((int)ModuleSignatureSymbolFields.Language, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string Version | 54 | public string Version |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)ModuleSignatureTupleFields.Version]; | 56 | get => (string)this.Fields[(int)ModuleSignatureSymbolFields.Version]; |
| 57 | set => this.Set((int)ModuleSignatureTupleFields.Version, value); | 57 | set => this.Set((int)ModuleSignatureSymbolFields.Version, value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs b/src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs index 76033560..50d615b0 100644 --- a/src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs +++ b/src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ModuleSubstitution = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ModuleSubstitution = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ModuleSubstitution, | 10 | SymbolDefinitionType.ModuleSubstitution, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionTupleFields.Table), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionSymbolFields.Table), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionTupleFields.Row), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionSymbolFields.Row), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionTupleFields.Column), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionSymbolFields.Column), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionTupleFields.Value), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionSymbolFields.Value), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(ModuleSubstitutionTuple)); | 18 | typeof(ModuleSubstitutionSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum ModuleSubstitutionTupleFields | 24 | public enum ModuleSubstitutionSymbolFields |
| 25 | { | 25 | { |
| 26 | Table, | 26 | Table, |
| 27 | Row, | 27 | Row, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Value, | 29 | Value, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class ModuleSubstitutionTuple : IntermediateTuple | 32 | public class ModuleSubstitutionSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public ModuleSubstitutionTuple() : base(TupleDefinitions.ModuleSubstitution, null, null) | 34 | public ModuleSubstitutionSymbol() : base(SymbolDefinitions.ModuleSubstitution, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public ModuleSubstitutionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleSubstitution, sourceLineNumber, id) | 38 | public ModuleSubstitutionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ModuleSubstitution, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[ModuleSubstitutionTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[ModuleSubstitutionSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string Table | 44 | public string Table |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Table]; | 46 | get => (string)this.Fields[(int)ModuleSubstitutionSymbolFields.Table]; |
| 47 | set => this.Set((int)ModuleSubstitutionTupleFields.Table, value); | 47 | set => this.Set((int)ModuleSubstitutionSymbolFields.Table, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string Row | 50 | public string Row |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Row]; | 52 | get => (string)this.Fields[(int)ModuleSubstitutionSymbolFields.Row]; |
| 53 | set => this.Set((int)ModuleSubstitutionTupleFields.Row, value); | 53 | set => this.Set((int)ModuleSubstitutionSymbolFields.Row, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string Column | 56 | public string Column |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Column]; | 58 | get => (string)this.Fields[(int)ModuleSubstitutionSymbolFields.Column]; |
| 59 | set => this.Set((int)ModuleSubstitutionTupleFields.Column, value); | 59 | set => this.Set((int)ModuleSubstitutionSymbolFields.Column, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Value | 62 | public string Value |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Value]; | 64 | get => (string)this.Fields[(int)ModuleSubstitutionSymbolFields.Value]; |
| 65 | set => this.Set((int)ModuleSubstitutionTupleFields.Value, value); | 65 | set => this.Set((int)ModuleSubstitutionSymbolFields.Value, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MoveFileTuple.cs b/src/WixToolset.Data/Tuples/MoveFileTuple.cs index 74fef167..84089965 100644 --- a/src/WixToolset.Data/Tuples/MoveFileTuple.cs +++ b/src/WixToolset.Data/Tuples/MoveFileTuple.cs | |||
| @@ -2,28 +2,28 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MoveFile = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MoveFile = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MoveFile, | 10 | SymbolDefinitionType.MoveFile, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MoveFileTupleFields.ComponentRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MoveFileSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(MoveFileTupleFields.SourceName), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(MoveFileSymbolFields.SourceName), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(MoveFileTupleFields.DestName), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(MoveFileSymbolFields.DestName), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(MoveFileTupleFields.SourceFolder), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(MoveFileSymbolFields.SourceFolder), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(MoveFileTupleFields.DestFolder), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(MoveFileSymbolFields.DestFolder), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(MoveFileTupleFields.Delete), IntermediateFieldType.Bool), | 18 | new IntermediateFieldDefinition(nameof(MoveFileSymbolFields.Delete), IntermediateFieldType.Bool), |
| 19 | }, | 19 | }, |
| 20 | typeof(MoveFileTuple)); | 20 | typeof(MoveFileSymbol)); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
| 25 | { | 25 | { |
| 26 | public enum MoveFileTupleFields | 26 | public enum MoveFileSymbolFields |
| 27 | { | 27 | { |
| 28 | ComponentRef, | 28 | ComponentRef, |
| 29 | SourceName, | 29 | SourceName, |
| @@ -33,52 +33,52 @@ namespace WixToolset.Data.Tuples | |||
| 33 | Delete, | 33 | Delete, |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public class MoveFileTuple : IntermediateTuple | 36 | public class MoveFileSymbol : IntermediateSymbol |
| 37 | { | 37 | { |
| 38 | public MoveFileTuple() : base(TupleDefinitions.MoveFile, null, null) | 38 | public MoveFileSymbol() : base(SymbolDefinitions.MoveFile, null, null) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public MoveFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MoveFile, sourceLineNumber, id) | 42 | public MoveFileSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MoveFile, sourceLineNumber, id) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public IntermediateField this[MoveFileTupleFields index] => this.Fields[(int)index]; | 46 | public IntermediateField this[MoveFileSymbolFields index] => this.Fields[(int)index]; |
| 47 | 47 | ||
| 48 | public string ComponentRef | 48 | public string ComponentRef |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)MoveFileTupleFields.ComponentRef]; | 50 | get => (string)this.Fields[(int)MoveFileSymbolFields.ComponentRef]; |
| 51 | set => this.Set((int)MoveFileTupleFields.ComponentRef, value); | 51 | set => this.Set((int)MoveFileSymbolFields.ComponentRef, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string SourceName | 54 | public string SourceName |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)MoveFileTupleFields.SourceName]; | 56 | get => (string)this.Fields[(int)MoveFileSymbolFields.SourceName]; |
| 57 | set => this.Set((int)MoveFileTupleFields.SourceName, value); | 57 | set => this.Set((int)MoveFileSymbolFields.SourceName, value); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public string DestName | 60 | public string DestName |
| 61 | { | 61 | { |
| 62 | get => (string)this.Fields[(int)MoveFileTupleFields.DestName]; | 62 | get => (string)this.Fields[(int)MoveFileSymbolFields.DestName]; |
| 63 | set => this.Set((int)MoveFileTupleFields.DestName, value); | 63 | set => this.Set((int)MoveFileSymbolFields.DestName, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public string SourceFolder | 66 | public string SourceFolder |
| 67 | { | 67 | { |
| 68 | get => (string)this.Fields[(int)MoveFileTupleFields.SourceFolder]; | 68 | get => (string)this.Fields[(int)MoveFileSymbolFields.SourceFolder]; |
| 69 | set => this.Set((int)MoveFileTupleFields.SourceFolder, value); | 69 | set => this.Set((int)MoveFileSymbolFields.SourceFolder, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public string DestFolder | 72 | public string DestFolder |
| 73 | { | 73 | { |
| 74 | get => (string)this.Fields[(int)MoveFileTupleFields.DestFolder]; | 74 | get => (string)this.Fields[(int)MoveFileSymbolFields.DestFolder]; |
| 75 | set => this.Set((int)MoveFileTupleFields.DestFolder, value); | 75 | set => this.Set((int)MoveFileSymbolFields.DestFolder, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public bool Delete | 78 | public bool Delete |
| 79 | { | 79 | { |
| 80 | get => (bool)this.Fields[(int)MoveFileTupleFields.Delete]; | 80 | get => (bool)this.Fields[(int)MoveFileSymbolFields.Delete]; |
| 81 | set => this.Set((int)MoveFileTupleFields.Delete, value); | 81 | set => this.Set((int)MoveFileSymbolFields.Delete, value); |
| 82 | } | 82 | } |
| 83 | } | 83 | } |
| 84 | } | 84 | } |
diff --git a/src/WixToolset.Data/Tuples/MsiAssemblyNameTuple.cs b/src/WixToolset.Data/Tuples/MsiAssemblyNameTuple.cs index 1f261446..99c9806d 100644 --- a/src/WixToolset.Data/Tuples/MsiAssemblyNameTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiAssemblyNameTuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MsiAssemblyName = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiAssemblyName = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MsiAssemblyName, | 10 | SymbolDefinitionType.MsiAssemblyName, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MsiAssemblyNameTupleFields.ComponentRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MsiAssemblyNameSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(MsiAssemblyNameTupleFields.Name), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(MsiAssemblyNameSymbolFields.Name), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(MsiAssemblyNameTupleFields.Value), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(MsiAssemblyNameSymbolFields.Value), IntermediateFieldType.String), |
| 16 | }, | 16 | }, |
| 17 | typeof(MsiAssemblyNameTuple)); | 17 | typeof(MsiAssemblyNameSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum MsiAssemblyNameTupleFields | 23 | public enum MsiAssemblyNameSymbolFields |
| 24 | { | 24 | { |
| 25 | ComponentRef, | 25 | ComponentRef, |
| 26 | Name, | 26 | Name, |
| 27 | Value, | 27 | Value, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class MsiAssemblyNameTuple : IntermediateTuple | 30 | public class MsiAssemblyNameSymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public MsiAssemblyNameTuple() : base(TupleDefinitions.MsiAssemblyName, null, null) | 32 | public MsiAssemblyNameSymbol() : base(SymbolDefinitions.MsiAssemblyName, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public MsiAssemblyNameTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiAssemblyName, sourceLineNumber, id) | 36 | public MsiAssemblyNameSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiAssemblyName, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[MsiAssemblyNameTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[MsiAssemblyNameSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string ComponentRef | 42 | public string ComponentRef |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)MsiAssemblyNameTupleFields.ComponentRef]; | 44 | get => (string)this.Fields[(int)MsiAssemblyNameSymbolFields.ComponentRef]; |
| 45 | set => this.Set((int)MsiAssemblyNameTupleFields.ComponentRef, value); | 45 | set => this.Set((int)MsiAssemblyNameSymbolFields.ComponentRef, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public string Name | 48 | public string Name |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)MsiAssemblyNameTupleFields.Name]; | 50 | get => (string)this.Fields[(int)MsiAssemblyNameSymbolFields.Name]; |
| 51 | set => this.Set((int)MsiAssemblyNameTupleFields.Name, value); | 51 | set => this.Set((int)MsiAssemblyNameSymbolFields.Name, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string Value | 54 | public string Value |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)MsiAssemblyNameTupleFields.Value]; | 56 | get => (string)this.Fields[(int)MsiAssemblyNameSymbolFields.Value]; |
| 57 | set => this.Set((int)MsiAssemblyNameTupleFields.Value, value); | 57 | set => this.Set((int)MsiAssemblyNameSymbolFields.Value, value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MsiDigitalCertificateTuple.cs b/src/WixToolset.Data/Tuples/MsiDigitalCertificateTuple.cs index e4c0469b..febd51cc 100644 --- a/src/WixToolset.Data/Tuples/MsiDigitalCertificateTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiDigitalCertificateTuple.cs | |||
| @@ -2,43 +2,43 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MsiDigitalCertificate = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiDigitalCertificate = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MsiDigitalCertificate, | 10 | SymbolDefinitionType.MsiDigitalCertificate, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MsiDigitalCertificateTupleFields.CertData), IntermediateFieldType.Path), | 13 | new IntermediateFieldDefinition(nameof(MsiDigitalCertificateSymbolFields.CertData), IntermediateFieldType.Path), |
| 14 | }, | 14 | }, |
| 15 | typeof(MsiDigitalCertificateTuple)); | 15 | typeof(MsiDigitalCertificateSymbol)); |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
| 20 | { | 20 | { |
| 21 | public enum MsiDigitalCertificateTupleFields | 21 | public enum MsiDigitalCertificateSymbolFields |
| 22 | { | 22 | { |
| 23 | CertData, | 23 | CertData, |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | public class MsiDigitalCertificateTuple : IntermediateTuple | 26 | public class MsiDigitalCertificateSymbol : IntermediateSymbol |
| 27 | { | 27 | { |
| 28 | public MsiDigitalCertificateTuple() : base(TupleDefinitions.MsiDigitalCertificate, null, null) | 28 | public MsiDigitalCertificateSymbol() : base(SymbolDefinitions.MsiDigitalCertificate, null, null) |
| 29 | { | 29 | { |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public MsiDigitalCertificateTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiDigitalCertificate, sourceLineNumber, id) | 32 | public MsiDigitalCertificateSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiDigitalCertificate, sourceLineNumber, id) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public IntermediateField this[MsiDigitalCertificateTupleFields index] => this.Fields[(int)index]; | 36 | public IntermediateField this[MsiDigitalCertificateSymbolFields index] => this.Fields[(int)index]; |
| 37 | 37 | ||
| 38 | public string CertData | 38 | public string CertData |
| 39 | { | 39 | { |
| 40 | get => (string)this.Fields[(int)MsiDigitalCertificateTupleFields.CertData]; | 40 | get => (string)this.Fields[(int)MsiDigitalCertificateSymbolFields.CertData]; |
| 41 | set => this.Set((int)MsiDigitalCertificateTupleFields.CertData, value); | 41 | set => this.Set((int)MsiDigitalCertificateSymbolFields.CertData, value); |
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | } \ No newline at end of file | 44 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MsiDigitalSignatureTuple.cs b/src/WixToolset.Data/Tuples/MsiDigitalSignatureTuple.cs index eab762b0..560f3590 100644 --- a/src/WixToolset.Data/Tuples/MsiDigitalSignatureTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiDigitalSignatureTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MsiDigitalSignature = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiDigitalSignature = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MsiDigitalSignature, | 10 | SymbolDefinitionType.MsiDigitalSignature, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MsiDigitalSignatureTupleFields.Table), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MsiDigitalSignatureSymbolFields.Table), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(MsiDigitalSignatureTupleFields.SignObject), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(MsiDigitalSignatureSymbolFields.SignObject), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(MsiDigitalSignatureTupleFields.DigitalCertificateRef), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(MsiDigitalSignatureSymbolFields.DigitalCertificateRef), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(MsiDigitalSignatureTupleFields.Hash), IntermediateFieldType.Path), | 16 | new IntermediateFieldDefinition(nameof(MsiDigitalSignatureSymbolFields.Hash), IntermediateFieldType.Path), |
| 17 | }, | 17 | }, |
| 18 | typeof(MsiDigitalSignatureTuple)); | 18 | typeof(MsiDigitalSignatureSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum MsiDigitalSignatureTupleFields | 24 | public enum MsiDigitalSignatureSymbolFields |
| 25 | { | 25 | { |
| 26 | Table, | 26 | Table, |
| 27 | SignObject, | 27 | SignObject, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Hash, | 29 | Hash, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class MsiDigitalSignatureTuple : IntermediateTuple | 32 | public class MsiDigitalSignatureSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public MsiDigitalSignatureTuple() : base(TupleDefinitions.MsiDigitalSignature, null, null) | 34 | public MsiDigitalSignatureSymbol() : base(SymbolDefinitions.MsiDigitalSignature, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public MsiDigitalSignatureTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiDigitalSignature, sourceLineNumber, id) | 38 | public MsiDigitalSignatureSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiDigitalSignature, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[MsiDigitalSignatureTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[MsiDigitalSignatureSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string Table | 44 | public string Table |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)MsiDigitalSignatureTupleFields.Table]; | 46 | get => (string)this.Fields[(int)MsiDigitalSignatureSymbolFields.Table]; |
| 47 | set => this.Set((int)MsiDigitalSignatureTupleFields.Table, value); | 47 | set => this.Set((int)MsiDigitalSignatureSymbolFields.Table, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string SignObject | 50 | public string SignObject |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)MsiDigitalSignatureTupleFields.SignObject]; | 52 | get => (string)this.Fields[(int)MsiDigitalSignatureSymbolFields.SignObject]; |
| 53 | set => this.Set((int)MsiDigitalSignatureTupleFields.SignObject, value); | 53 | set => this.Set((int)MsiDigitalSignatureSymbolFields.SignObject, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string DigitalCertificateRef | 56 | public string DigitalCertificateRef |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)MsiDigitalSignatureTupleFields.DigitalCertificateRef]; | 58 | get => (string)this.Fields[(int)MsiDigitalSignatureSymbolFields.DigitalCertificateRef]; |
| 59 | set => this.Set((int)MsiDigitalSignatureTupleFields.DigitalCertificateRef, value); | 59 | set => this.Set((int)MsiDigitalSignatureSymbolFields.DigitalCertificateRef, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Hash | 62 | public string Hash |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)MsiDigitalSignatureTupleFields.Hash]; | 64 | get => (string)this.Fields[(int)MsiDigitalSignatureSymbolFields.Hash]; |
| 65 | set => this.Set((int)MsiDigitalSignatureTupleFields.Hash, value); | 65 | set => this.Set((int)MsiDigitalSignatureSymbolFields.Hash, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs b/src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs index d1e49834..eeed1673 100644 --- a/src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MsiEmbeddedChainer = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiEmbeddedChainer = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MsiEmbeddedChainer, | 10 | SymbolDefinitionType.MsiEmbeddedChainer, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerTupleFields.Condition), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerSymbolFields.Condition), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerTupleFields.CommandLine), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerSymbolFields.CommandLine), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerTupleFields.Source), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerSymbolFields.Source), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerTupleFields.Type), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerSymbolFields.Type), IntermediateFieldType.Number), |
| 17 | }, | 17 | }, |
| 18 | typeof(MsiEmbeddedChainerTuple)); | 18 | typeof(MsiEmbeddedChainerSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum MsiEmbeddedChainerTupleFields | 24 | public enum MsiEmbeddedChainerSymbolFields |
| 25 | { | 25 | { |
| 26 | Condition, | 26 | Condition, |
| 27 | CommandLine, | 27 | CommandLine, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Type, | 29 | Type, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class MsiEmbeddedChainerTuple : IntermediateTuple | 32 | public class MsiEmbeddedChainerSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public MsiEmbeddedChainerTuple() : base(TupleDefinitions.MsiEmbeddedChainer, null, null) | 34 | public MsiEmbeddedChainerSymbol() : base(SymbolDefinitions.MsiEmbeddedChainer, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public MsiEmbeddedChainerTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiEmbeddedChainer, sourceLineNumber, id) | 38 | public MsiEmbeddedChainerSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiEmbeddedChainer, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[MsiEmbeddedChainerTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[MsiEmbeddedChainerSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string Condition | 44 | public string Condition |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.Condition]; | 46 | get => (string)this.Fields[(int)MsiEmbeddedChainerSymbolFields.Condition]; |
| 47 | set => this.Set((int)MsiEmbeddedChainerTupleFields.Condition, value); | 47 | set => this.Set((int)MsiEmbeddedChainerSymbolFields.Condition, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string CommandLine | 50 | public string CommandLine |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.CommandLine]; | 52 | get => (string)this.Fields[(int)MsiEmbeddedChainerSymbolFields.CommandLine]; |
| 53 | set => this.Set((int)MsiEmbeddedChainerTupleFields.CommandLine, value); | 53 | set => this.Set((int)MsiEmbeddedChainerSymbolFields.CommandLine, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string Source | 56 | public string Source |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.Source]; | 58 | get => (string)this.Fields[(int)MsiEmbeddedChainerSymbolFields.Source]; |
| 59 | set => this.Set((int)MsiEmbeddedChainerTupleFields.Source, value); | 59 | set => this.Set((int)MsiEmbeddedChainerSymbolFields.Source, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public int Type | 62 | public int Type |
| 63 | { | 63 | { |
| 64 | get => (int)this.Fields[(int)MsiEmbeddedChainerTupleFields.Type]; | 64 | get => (int)this.Fields[(int)MsiEmbeddedChainerSymbolFields.Type]; |
| 65 | set => this.Set((int)MsiEmbeddedChainerTupleFields.Type, value); | 65 | set => this.Set((int)MsiEmbeddedChainerSymbolFields.Type, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
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 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace 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 | } |
diff --git a/src/WixToolset.Data/Tuples/MsiFileHashTuple.cs b/src/WixToolset.Data/Tuples/MsiFileHashTuple.cs index 10aa801d..bfec1c12 100644 --- a/src/WixToolset.Data/Tuples/MsiFileHashTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiFileHashTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MsiFileHash = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiFileHash = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MsiFileHash, | 10 | SymbolDefinitionType.MsiFileHash, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MsiFileHashTupleFields.Options), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(MsiFileHashSymbolFields.Options), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(MsiFileHashTupleFields.HashPart1), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(MsiFileHashSymbolFields.HashPart1), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(MsiFileHashTupleFields.HashPart2), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(MsiFileHashSymbolFields.HashPart2), IntermediateFieldType.Number), |
| 16 | new IntermediateFieldDefinition(nameof(MsiFileHashTupleFields.HashPart3), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(MsiFileHashSymbolFields.HashPart3), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(MsiFileHashTupleFields.HashPart4), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(MsiFileHashSymbolFields.HashPart4), IntermediateFieldType.Number), |
| 18 | }, | 18 | }, |
| 19 | typeof(MsiFileHashTuple)); | 19 | typeof(MsiFileHashSymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | public enum MsiFileHashTupleFields | 25 | public enum MsiFileHashSymbolFields |
| 26 | { | 26 | { |
| 27 | Options, | 27 | Options, |
| 28 | HashPart1, | 28 | HashPart1, |
| @@ -31,46 +31,46 @@ namespace WixToolset.Data.Tuples | |||
| 31 | HashPart4, | 31 | HashPart4, |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public class MsiFileHashTuple : IntermediateTuple | 34 | public class MsiFileHashSymbol : IntermediateSymbol |
| 35 | { | 35 | { |
| 36 | public MsiFileHashTuple() : base(TupleDefinitions.MsiFileHash, null, null) | 36 | public MsiFileHashSymbol() : base(SymbolDefinitions.MsiFileHash, null, null) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public MsiFileHashTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiFileHash, sourceLineNumber, id) | 40 | public MsiFileHashSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiFileHash, sourceLineNumber, id) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public IntermediateField this[MsiFileHashTupleFields index] => this.Fields[(int)index]; | 44 | public IntermediateField this[MsiFileHashSymbolFields index] => this.Fields[(int)index]; |
| 45 | 45 | ||
| 46 | public int Options | 46 | public int Options |
| 47 | { | 47 | { |
| 48 | get => (int)this.Fields[(int)MsiFileHashTupleFields.Options]; | 48 | get => (int)this.Fields[(int)MsiFileHashSymbolFields.Options]; |
| 49 | set => this.Set((int)MsiFileHashTupleFields.Options, value); | 49 | set => this.Set((int)MsiFileHashSymbolFields.Options, value); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | public int HashPart1 | 52 | public int HashPart1 |
| 53 | { | 53 | { |
| 54 | get => (int)this.Fields[(int)MsiFileHashTupleFields.HashPart1]; | 54 | get => (int)this.Fields[(int)MsiFileHashSymbolFields.HashPart1]; |
| 55 | set => this.Set((int)MsiFileHashTupleFields.HashPart1, value); | 55 | set => this.Set((int)MsiFileHashSymbolFields.HashPart1, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public int HashPart2 | 58 | public int HashPart2 |
| 59 | { | 59 | { |
| 60 | get => (int)this.Fields[(int)MsiFileHashTupleFields.HashPart2]; | 60 | get => (int)this.Fields[(int)MsiFileHashSymbolFields.HashPart2]; |
| 61 | set => this.Set((int)MsiFileHashTupleFields.HashPart2, value); | 61 | set => this.Set((int)MsiFileHashSymbolFields.HashPart2, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public int HashPart3 | 64 | public int HashPart3 |
| 65 | { | 65 | { |
| 66 | get => (int)this.Fields[(int)MsiFileHashTupleFields.HashPart3]; | 66 | get => (int)this.Fields[(int)MsiFileHashSymbolFields.HashPart3]; |
| 67 | set => this.Set((int)MsiFileHashTupleFields.HashPart3, value); | 67 | set => this.Set((int)MsiFileHashSymbolFields.HashPart3, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public int HashPart4 | 70 | public int HashPart4 |
| 71 | { | 71 | { |
| 72 | get => (int)this.Fields[(int)MsiFileHashTupleFields.HashPart4]; | 72 | get => (int)this.Fields[(int)MsiFileHashSymbolFields.HashPart4]; |
| 73 | set => this.Set((int)MsiFileHashTupleFields.HashPart4, value); | 73 | set => this.Set((int)MsiFileHashSymbolFields.HashPart4, value); |
| 74 | } | 74 | } |
| 75 | } | 75 | } |
| 76 | } \ No newline at end of file | 76 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MsiLockPermissionsExTuple.cs b/src/WixToolset.Data/Tuples/MsiLockPermissionsExTuple.cs index dfc39763..88e7d019 100644 --- a/src/WixToolset.Data/Tuples/MsiLockPermissionsExTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiLockPermissionsExTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MsiLockPermissionsEx = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiLockPermissionsEx = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MsiLockPermissionsEx, | 10 | SymbolDefinitionType.MsiLockPermissionsEx, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExTupleFields.LockObject), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExSymbolFields.LockObject), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExTupleFields.Table), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExSymbolFields.Table), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExTupleFields.SDDLText), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExSymbolFields.SDDLText), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExTupleFields.Condition), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExSymbolFields.Condition), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(MsiLockPermissionsExTuple)); | 18 | typeof(MsiLockPermissionsExSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum MsiLockPermissionsExTupleFields | 24 | public enum MsiLockPermissionsExSymbolFields |
| 25 | { | 25 | { |
| 26 | LockObject, | 26 | LockObject, |
| 27 | Table, | 27 | Table, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Condition, | 29 | Condition, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class MsiLockPermissionsExTuple : IntermediateTuple | 32 | public class MsiLockPermissionsExSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public MsiLockPermissionsExTuple() : base(TupleDefinitions.MsiLockPermissionsEx, null, null) | 34 | public MsiLockPermissionsExSymbol() : base(SymbolDefinitions.MsiLockPermissionsEx, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public MsiLockPermissionsExTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiLockPermissionsEx, sourceLineNumber, id) | 38 | public MsiLockPermissionsExSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiLockPermissionsEx, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[MsiLockPermissionsExTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[MsiLockPermissionsExSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string LockObject | 44 | public string LockObject |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)MsiLockPermissionsExTupleFields.LockObject]; | 46 | get => (string)this.Fields[(int)MsiLockPermissionsExSymbolFields.LockObject]; |
| 47 | set => this.Set((int)MsiLockPermissionsExTupleFields.LockObject, value); | 47 | set => this.Set((int)MsiLockPermissionsExSymbolFields.LockObject, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string Table | 50 | public string Table |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)MsiLockPermissionsExTupleFields.Table]; | 52 | get => (string)this.Fields[(int)MsiLockPermissionsExSymbolFields.Table]; |
| 53 | set => this.Set((int)MsiLockPermissionsExTupleFields.Table, value); | 53 | set => this.Set((int)MsiLockPermissionsExSymbolFields.Table, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string SDDLText | 56 | public string SDDLText |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)MsiLockPermissionsExTupleFields.SDDLText]; | 58 | get => (string)this.Fields[(int)MsiLockPermissionsExSymbolFields.SDDLText]; |
| 59 | set => this.Set((int)MsiLockPermissionsExTupleFields.SDDLText, value); | 59 | set => this.Set((int)MsiLockPermissionsExSymbolFields.SDDLText, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Condition | 62 | public string Condition |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)MsiLockPermissionsExTupleFields.Condition]; | 64 | get => (string)this.Fields[(int)MsiLockPermissionsExSymbolFields.Condition]; |
| 65 | set => this.Set((int)MsiLockPermissionsExTupleFields.Condition, value); | 65 | set => this.Set((int)MsiLockPermissionsExSymbolFields.Condition, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MsiPackageCertificateTuple.cs b/src/WixToolset.Data/Tuples/MsiPackageCertificateTuple.cs index ccc7f94e..4a6774b1 100644 --- a/src/WixToolset.Data/Tuples/MsiPackageCertificateTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiPackageCertificateTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MsiPackageCertificate = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiPackageCertificate = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MsiPackageCertificate, | 10 | SymbolDefinitionType.MsiPackageCertificate, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MsiPackageCertificateTupleFields.PackageCertificate), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MsiPackageCertificateSymbolFields.PackageCertificate), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(MsiPackageCertificateTupleFields.DigitalCertificateRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(MsiPackageCertificateSymbolFields.DigitalCertificateRef), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(MsiPackageCertificateTuple)); | 16 | typeof(MsiPackageCertificateSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum MsiPackageCertificateTupleFields | 22 | public enum MsiPackageCertificateSymbolFields |
| 23 | { | 23 | { |
| 24 | PackageCertificate, | 24 | PackageCertificate, |
| 25 | DigitalCertificateRef, | 25 | DigitalCertificateRef, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class MsiPackageCertificateTuple : IntermediateTuple | 28 | public class MsiPackageCertificateSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public MsiPackageCertificateTuple() : base(TupleDefinitions.MsiPackageCertificate, null, null) | 30 | public MsiPackageCertificateSymbol() : base(SymbolDefinitions.MsiPackageCertificate, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public MsiPackageCertificateTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiPackageCertificate, sourceLineNumber, id) | 34 | public MsiPackageCertificateSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiPackageCertificate, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[MsiPackageCertificateTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[MsiPackageCertificateSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string PackageCertificate | 40 | public string PackageCertificate |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)MsiPackageCertificateTupleFields.PackageCertificate]; | 42 | get => (string)this.Fields[(int)MsiPackageCertificateSymbolFields.PackageCertificate]; |
| 43 | set => this.Set((int)MsiPackageCertificateTupleFields.PackageCertificate, value); | 43 | set => this.Set((int)MsiPackageCertificateSymbolFields.PackageCertificate, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string DigitalCertificateRef | 46 | public string DigitalCertificateRef |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)MsiPackageCertificateTupleFields.DigitalCertificateRef]; | 48 | get => (string)this.Fields[(int)MsiPackageCertificateSymbolFields.DigitalCertificateRef]; |
| 49 | set => this.Set((int)MsiPackageCertificateTupleFields.DigitalCertificateRef, value); | 49 | set => this.Set((int)MsiPackageCertificateSymbolFields.DigitalCertificateRef, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MsiPatchCertificateTuple.cs b/src/WixToolset.Data/Tuples/MsiPatchCertificateTuple.cs index 21cda4df..7d6ce24e 100644 --- a/src/WixToolset.Data/Tuples/MsiPatchCertificateTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiPatchCertificateTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MsiPatchCertificate = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiPatchCertificate = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MsiPatchCertificate, | 10 | SymbolDefinitionType.MsiPatchCertificate, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MsiPatchCertificateTupleFields.PatchCertificate), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MsiPatchCertificateSymbolFields.PatchCertificate), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(MsiPatchCertificateTupleFields.DigitalCertificateRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(MsiPatchCertificateSymbolFields.DigitalCertificateRef), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(MsiPatchCertificateTuple)); | 16 | typeof(MsiPatchCertificateSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum MsiPatchCertificateTupleFields | 22 | public enum MsiPatchCertificateSymbolFields |
| 23 | { | 23 | { |
| 24 | PatchCertificate, | 24 | PatchCertificate, |
| 25 | DigitalCertificateRef, | 25 | DigitalCertificateRef, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class MsiPatchCertificateTuple : IntermediateTuple | 28 | public class MsiPatchCertificateSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public MsiPatchCertificateTuple() : base(TupleDefinitions.MsiPatchCertificate, null, null) | 30 | public MsiPatchCertificateSymbol() : base(SymbolDefinitions.MsiPatchCertificate, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public MsiPatchCertificateTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiPatchCertificate, sourceLineNumber, id) | 34 | public MsiPatchCertificateSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiPatchCertificate, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[MsiPatchCertificateTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[MsiPatchCertificateSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string PatchCertificate | 40 | public string PatchCertificate |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)MsiPatchCertificateTupleFields.PatchCertificate]; | 42 | get => (string)this.Fields[(int)MsiPatchCertificateSymbolFields.PatchCertificate]; |
| 43 | set => this.Set((int)MsiPatchCertificateTupleFields.PatchCertificate, value); | 43 | set => this.Set((int)MsiPatchCertificateSymbolFields.PatchCertificate, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string DigitalCertificateRef | 46 | public string DigitalCertificateRef |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)MsiPatchCertificateTupleFields.DigitalCertificateRef]; | 48 | get => (string)this.Fields[(int)MsiPatchCertificateSymbolFields.DigitalCertificateRef]; |
| 49 | set => this.Set((int)MsiPatchCertificateTupleFields.DigitalCertificateRef, value); | 49 | set => this.Set((int)MsiPatchCertificateSymbolFields.DigitalCertificateRef, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MsiPatchHeadersTuple.cs b/src/WixToolset.Data/Tuples/MsiPatchHeadersTuple.cs index 3f7a8de2..0c68b164 100644 --- a/src/WixToolset.Data/Tuples/MsiPatchHeadersTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiPatchHeadersTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MsiPatchHeaders = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiPatchHeaders = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MsiPatchHeaders, | 10 | SymbolDefinitionType.MsiPatchHeaders, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MsiPatchHeadersTupleFields.StreamRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MsiPatchHeadersSymbolFields.StreamRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(MsiPatchHeadersTupleFields.Header), IntermediateFieldType.Path), | 14 | new IntermediateFieldDefinition(nameof(MsiPatchHeadersSymbolFields.Header), IntermediateFieldType.Path), |
| 15 | }, | 15 | }, |
| 16 | typeof(MsiPatchHeadersTuple)); | 16 | typeof(MsiPatchHeadersSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum MsiPatchHeadersTupleFields | 22 | public enum MsiPatchHeadersSymbolFields |
| 23 | { | 23 | { |
| 24 | StreamRef, | 24 | StreamRef, |
| 25 | Header, | 25 | Header, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class MsiPatchHeadersTuple : IntermediateTuple | 28 | public class MsiPatchHeadersSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public MsiPatchHeadersTuple() : base(TupleDefinitions.MsiPatchHeaders, null, null) | 30 | public MsiPatchHeadersSymbol() : base(SymbolDefinitions.MsiPatchHeaders, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public MsiPatchHeadersTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiPatchHeaders, sourceLineNumber, id) | 34 | public MsiPatchHeadersSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiPatchHeaders, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[MsiPatchHeadersTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[MsiPatchHeadersSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string StreamRef | 40 | public string StreamRef |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)MsiPatchHeadersTupleFields.StreamRef]; | 42 | get => (string)this.Fields[(int)MsiPatchHeadersSymbolFields.StreamRef]; |
| 43 | set => this.Set((int)MsiPatchHeadersTupleFields.StreamRef, value); | 43 | set => this.Set((int)MsiPatchHeadersSymbolFields.StreamRef, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string Header | 46 | public string Header |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)MsiPatchHeadersTupleFields.Header]; | 48 | get => (string)this.Fields[(int)MsiPatchHeadersSymbolFields.Header]; |
| 49 | set => this.Set((int)MsiPatchHeadersTupleFields.Header, value); | 49 | set => this.Set((int)MsiPatchHeadersSymbolFields.Header, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MsiPatchMetadataTuple.cs b/src/WixToolset.Data/Tuples/MsiPatchMetadataTuple.cs index 91bdb6fd..682adbca 100644 --- a/src/WixToolset.Data/Tuples/MsiPatchMetadataTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiPatchMetadataTuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MsiPatchMetadata = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiPatchMetadata = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MsiPatchMetadata, | 10 | SymbolDefinitionType.MsiPatchMetadata, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MsiPatchMetadataTupleFields.Company), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MsiPatchMetadataSymbolFields.Company), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(MsiPatchMetadataTupleFields.Property), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(MsiPatchMetadataSymbolFields.Property), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(MsiPatchMetadataTupleFields.Value), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(MsiPatchMetadataSymbolFields.Value), IntermediateFieldType.String), |
| 16 | }, | 16 | }, |
| 17 | typeof(MsiPatchMetadataTuple)); | 17 | typeof(MsiPatchMetadataSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum MsiPatchMetadataTupleFields | 23 | public enum MsiPatchMetadataSymbolFields |
| 24 | { | 24 | { |
| 25 | Company, | 25 | Company, |
| 26 | Property, | 26 | Property, |
| 27 | Value, | 27 | Value, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class MsiPatchMetadataTuple : IntermediateTuple | 30 | public class MsiPatchMetadataSymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public MsiPatchMetadataTuple() : base(TupleDefinitions.MsiPatchMetadata, null, null) | 32 | public MsiPatchMetadataSymbol() : base(SymbolDefinitions.MsiPatchMetadata, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public MsiPatchMetadataTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiPatchMetadata, sourceLineNumber, id) | 36 | public MsiPatchMetadataSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiPatchMetadata, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[MsiPatchMetadataTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[MsiPatchMetadataSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string Company | 42 | public string Company |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)MsiPatchMetadataTupleFields.Company]; | 44 | get => (string)this.Fields[(int)MsiPatchMetadataSymbolFields.Company]; |
| 45 | set => this.Set((int)MsiPatchMetadataTupleFields.Company, value); | 45 | set => this.Set((int)MsiPatchMetadataSymbolFields.Company, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public string Property | 48 | public string Property |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)MsiPatchMetadataTupleFields.Property]; | 50 | get => (string)this.Fields[(int)MsiPatchMetadataSymbolFields.Property]; |
| 51 | set => this.Set((int)MsiPatchMetadataTupleFields.Property, value); | 51 | set => this.Set((int)MsiPatchMetadataSymbolFields.Property, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string Value | 54 | public string Value |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)MsiPatchMetadataTupleFields.Value]; | 56 | get => (string)this.Fields[(int)MsiPatchMetadataSymbolFields.Value]; |
| 57 | set => this.Set((int)MsiPatchMetadataTupleFields.Value, value); | 57 | set => this.Set((int)MsiPatchMetadataSymbolFields.Value, value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MsiPatchOldAssemblyFileTuple.cs b/src/WixToolset.Data/Tuples/MsiPatchOldAssemblyFileTuple.cs index 487dc714..75385ba8 100644 --- a/src/WixToolset.Data/Tuples/MsiPatchOldAssemblyFileTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiPatchOldAssemblyFileTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MsiPatchOldAssemblyFile = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiPatchOldAssemblyFile = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MsiPatchOldAssemblyFile, | 10 | SymbolDefinitionType.MsiPatchOldAssemblyFile, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MsiPatchOldAssemblyFileTupleFields.FileRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MsiPatchOldAssemblyFileSymbolFields.FileRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(MsiPatchOldAssemblyFileTupleFields.AssemblyRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(MsiPatchOldAssemblyFileSymbolFields.AssemblyRef), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(MsiPatchOldAssemblyFileTuple)); | 16 | typeof(MsiPatchOldAssemblyFileSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum MsiPatchOldAssemblyFileTupleFields | 22 | public enum MsiPatchOldAssemblyFileSymbolFields |
| 23 | { | 23 | { |
| 24 | FileRef, | 24 | FileRef, |
| 25 | AssemblyRef, | 25 | AssemblyRef, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class MsiPatchOldAssemblyFileTuple : IntermediateTuple | 28 | public class MsiPatchOldAssemblyFileSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public MsiPatchOldAssemblyFileTuple() : base(TupleDefinitions.MsiPatchOldAssemblyFile, null, null) | 30 | public MsiPatchOldAssemblyFileSymbol() : base(SymbolDefinitions.MsiPatchOldAssemblyFile, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public MsiPatchOldAssemblyFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiPatchOldAssemblyFile, sourceLineNumber, id) | 34 | public MsiPatchOldAssemblyFileSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiPatchOldAssemblyFile, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[MsiPatchOldAssemblyFileTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[MsiPatchOldAssemblyFileSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string FileRef | 40 | public string FileRef |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)MsiPatchOldAssemblyFileTupleFields.FileRef]; | 42 | get => (string)this.Fields[(int)MsiPatchOldAssemblyFileSymbolFields.FileRef]; |
| 43 | set => this.Set((int)MsiPatchOldAssemblyFileTupleFields.FileRef, value); | 43 | set => this.Set((int)MsiPatchOldAssemblyFileSymbolFields.FileRef, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string AssemblyRef | 46 | public string AssemblyRef |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)MsiPatchOldAssemblyFileTupleFields.AssemblyRef]; | 48 | get => (string)this.Fields[(int)MsiPatchOldAssemblyFileSymbolFields.AssemblyRef]; |
| 49 | set => this.Set((int)MsiPatchOldAssemblyFileTupleFields.AssemblyRef, value); | 49 | set => this.Set((int)MsiPatchOldAssemblyFileSymbolFields.AssemblyRef, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MsiPatchOldAssemblyNameTuple.cs b/src/WixToolset.Data/Tuples/MsiPatchOldAssemblyNameTuple.cs index 9e2b72e5..199f5ff7 100644 --- a/src/WixToolset.Data/Tuples/MsiPatchOldAssemblyNameTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiPatchOldAssemblyNameTuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MsiPatchOldAssemblyName = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiPatchOldAssemblyName = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MsiPatchOldAssemblyName, | 10 | SymbolDefinitionType.MsiPatchOldAssemblyName, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MsiPatchOldAssemblyNameTupleFields.Assembly), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MsiPatchOldAssemblyNameSymbolFields.Assembly), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(MsiPatchOldAssemblyNameTupleFields.Name), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(MsiPatchOldAssemblyNameSymbolFields.Name), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(MsiPatchOldAssemblyNameTupleFields.Value), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(MsiPatchOldAssemblyNameSymbolFields.Value), IntermediateFieldType.String), |
| 16 | }, | 16 | }, |
| 17 | typeof(MsiPatchOldAssemblyNameTuple)); | 17 | typeof(MsiPatchOldAssemblyNameSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum MsiPatchOldAssemblyNameTupleFields | 23 | public enum MsiPatchOldAssemblyNameSymbolFields |
| 24 | { | 24 | { |
| 25 | Assembly, | 25 | Assembly, |
| 26 | Name, | 26 | Name, |
| 27 | Value, | 27 | Value, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class MsiPatchOldAssemblyNameTuple : IntermediateTuple | 30 | public class MsiPatchOldAssemblyNameSymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public MsiPatchOldAssemblyNameTuple() : base(TupleDefinitions.MsiPatchOldAssemblyName, null, null) | 32 | public MsiPatchOldAssemblyNameSymbol() : base(SymbolDefinitions.MsiPatchOldAssemblyName, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public MsiPatchOldAssemblyNameTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiPatchOldAssemblyName, sourceLineNumber, id) | 36 | public MsiPatchOldAssemblyNameSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiPatchOldAssemblyName, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[MsiPatchOldAssemblyNameTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[MsiPatchOldAssemblyNameSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string Assembly | 42 | public string Assembly |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)MsiPatchOldAssemblyNameTupleFields.Assembly]; | 44 | get => (string)this.Fields[(int)MsiPatchOldAssemblyNameSymbolFields.Assembly]; |
| 45 | set => this.Set((int)MsiPatchOldAssemblyNameTupleFields.Assembly, value); | 45 | set => this.Set((int)MsiPatchOldAssemblyNameSymbolFields.Assembly, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public string Name | 48 | public string Name |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)MsiPatchOldAssemblyNameTupleFields.Name]; | 50 | get => (string)this.Fields[(int)MsiPatchOldAssemblyNameSymbolFields.Name]; |
| 51 | set => this.Set((int)MsiPatchOldAssemblyNameTupleFields.Name, value); | 51 | set => this.Set((int)MsiPatchOldAssemblyNameSymbolFields.Name, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string Value | 54 | public string Value |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)MsiPatchOldAssemblyNameTupleFields.Value]; | 56 | get => (string)this.Fields[(int)MsiPatchOldAssemblyNameSymbolFields.Value]; |
| 57 | set => this.Set((int)MsiPatchOldAssemblyNameTupleFields.Value, value); | 57 | set => this.Set((int)MsiPatchOldAssemblyNameSymbolFields.Value, value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MsiPatchSequenceTuple.cs b/src/WixToolset.Data/Tuples/MsiPatchSequenceTuple.cs index 143e58a0..ac2b0dc4 100644 --- a/src/WixToolset.Data/Tuples/MsiPatchSequenceTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiPatchSequenceTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MsiPatchSequence = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiPatchSequence = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MsiPatchSequence, | 10 | SymbolDefinitionType.MsiPatchSequence, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MsiPatchSequenceTupleFields.PatchFamily), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MsiPatchSequenceSymbolFields.PatchFamily), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(MsiPatchSequenceTupleFields.ProductCode), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(MsiPatchSequenceSymbolFields.ProductCode), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(MsiPatchSequenceTupleFields.Sequence), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(MsiPatchSequenceSymbolFields.Sequence), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(MsiPatchSequenceTupleFields.Attributes), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(MsiPatchSequenceSymbolFields.Attributes), IntermediateFieldType.Number), |
| 17 | }, | 17 | }, |
| 18 | typeof(MsiPatchSequenceTuple)); | 18 | typeof(MsiPatchSequenceSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum MsiPatchSequenceTupleFields | 24 | public enum MsiPatchSequenceSymbolFields |
| 25 | { | 25 | { |
| 26 | PatchFamily, | 26 | PatchFamily, |
| 27 | ProductCode, | 27 | ProductCode, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Attributes, | 29 | Attributes, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class MsiPatchSequenceTuple : IntermediateTuple | 32 | public class MsiPatchSequenceSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public MsiPatchSequenceTuple() : base(TupleDefinitions.MsiPatchSequence, null, null) | 34 | public MsiPatchSequenceSymbol() : base(SymbolDefinitions.MsiPatchSequence, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public MsiPatchSequenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiPatchSequence, sourceLineNumber, id) | 38 | public MsiPatchSequenceSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiPatchSequence, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[MsiPatchSequenceTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[MsiPatchSequenceSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string PatchFamily | 44 | public string PatchFamily |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)MsiPatchSequenceTupleFields.PatchFamily]; | 46 | get => (string)this.Fields[(int)MsiPatchSequenceSymbolFields.PatchFamily]; |
| 47 | set => this.Set((int)MsiPatchSequenceTupleFields.PatchFamily, value); | 47 | set => this.Set((int)MsiPatchSequenceSymbolFields.PatchFamily, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string ProductCode | 50 | public string ProductCode |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)MsiPatchSequenceTupleFields.ProductCode]; | 52 | get => (string)this.Fields[(int)MsiPatchSequenceSymbolFields.ProductCode]; |
| 53 | set => this.Set((int)MsiPatchSequenceTupleFields.ProductCode, value); | 53 | set => this.Set((int)MsiPatchSequenceSymbolFields.ProductCode, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string Sequence | 56 | public string Sequence |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)MsiPatchSequenceTupleFields.Sequence]; | 58 | get => (string)this.Fields[(int)MsiPatchSequenceSymbolFields.Sequence]; |
| 59 | set => this.Set((int)MsiPatchSequenceTupleFields.Sequence, value); | 59 | set => this.Set((int)MsiPatchSequenceSymbolFields.Sequence, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public int? Attributes | 62 | public int? Attributes |
| 63 | { | 63 | { |
| 64 | get => (int?)this.Fields[(int)MsiPatchSequenceTupleFields.Attributes]; | 64 | get => (int?)this.Fields[(int)MsiPatchSequenceSymbolFields.Attributes]; |
| 65 | set => this.Set((int)MsiPatchSequenceTupleFields.Attributes, value); | 65 | set => this.Set((int)MsiPatchSequenceSymbolFields.Attributes, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MsiServiceConfigFailureActionsTuple.cs b/src/WixToolset.Data/Tuples/MsiServiceConfigFailureActionsTuple.cs index faf9069e..92ca4059 100644 --- a/src/WixToolset.Data/Tuples/MsiServiceConfigFailureActionsTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiServiceConfigFailureActionsTuple.cs | |||
| @@ -2,32 +2,32 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MsiServiceConfigFailureActions = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiServiceConfigFailureActions = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MsiServiceConfigFailureActions, | 10 | SymbolDefinitionType.MsiServiceConfigFailureActions, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.Name), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsSymbolFields.Name), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.OnInstall), IntermediateFieldType.Bool), | 14 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsSymbolFields.OnInstall), IntermediateFieldType.Bool), |
| 15 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.OnReinstall), IntermediateFieldType.Bool), | 15 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsSymbolFields.OnReinstall), IntermediateFieldType.Bool), |
| 16 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.OnUninstall), IntermediateFieldType.Bool), | 16 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsSymbolFields.OnUninstall), IntermediateFieldType.Bool), |
| 17 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.ResetPeriod), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsSymbolFields.ResetPeriod), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.RebootMessage), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsSymbolFields.RebootMessage), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.Command), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsSymbolFields.Command), IntermediateFieldType.String), |
| 20 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.Actions), IntermediateFieldType.String), | 20 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsSymbolFields.Actions), IntermediateFieldType.String), |
| 21 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.DelayActions), IntermediateFieldType.String), | 21 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsSymbolFields.DelayActions), IntermediateFieldType.String), |
| 22 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.ComponentRef), IntermediateFieldType.String), | 22 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 23 | }, | 23 | }, |
| 24 | typeof(MsiServiceConfigFailureActionsTuple)); | 24 | typeof(MsiServiceConfigFailureActionsSymbol)); |
| 25 | } | 25 | } |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | namespace WixToolset.Data.Tuples | 28 | namespace WixToolset.Data.Symbols |
| 29 | { | 29 | { |
| 30 | public enum MsiServiceConfigFailureActionsTupleFields | 30 | public enum MsiServiceConfigFailureActionsSymbolFields |
| 31 | { | 31 | { |
| 32 | Name, | 32 | Name, |
| 33 | OnInstall, | 33 | OnInstall, |
| @@ -41,76 +41,76 @@ namespace WixToolset.Data.Tuples | |||
| 41 | ComponentRef, | 41 | ComponentRef, |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public class MsiServiceConfigFailureActionsTuple : IntermediateTuple | 44 | public class MsiServiceConfigFailureActionsSymbol : IntermediateSymbol |
| 45 | { | 45 | { |
| 46 | public MsiServiceConfigFailureActionsTuple() : base(TupleDefinitions.MsiServiceConfigFailureActions, null, null) | 46 | public MsiServiceConfigFailureActionsSymbol() : base(SymbolDefinitions.MsiServiceConfigFailureActions, null, null) |
| 47 | { | 47 | { |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public MsiServiceConfigFailureActionsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiServiceConfigFailureActions, sourceLineNumber, id) | 50 | public MsiServiceConfigFailureActionsSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiServiceConfigFailureActions, sourceLineNumber, id) |
| 51 | { | 51 | { |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public IntermediateField this[MsiServiceConfigFailureActionsTupleFields index] => this.Fields[(int)index]; | 54 | public IntermediateField this[MsiServiceConfigFailureActionsSymbolFields index] => this.Fields[(int)index]; |
| 55 | 55 | ||
| 56 | public string Name | 56 | public string Name |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.Name]; | 58 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsSymbolFields.Name]; |
| 59 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.Name, value); | 59 | set => this.Set((int)MsiServiceConfigFailureActionsSymbolFields.Name, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public bool OnInstall | 62 | public bool OnInstall |
| 63 | { | 63 | { |
| 64 | get => this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.OnInstall].AsBool(); | 64 | get => this.Fields[(int)MsiServiceConfigFailureActionsSymbolFields.OnInstall].AsBool(); |
| 65 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.OnInstall, value); | 65 | set => this.Set((int)MsiServiceConfigFailureActionsSymbolFields.OnInstall, value); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public bool OnReinstall | 68 | public bool OnReinstall |
| 69 | { | 69 | { |
| 70 | get => this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.OnReinstall].AsBool(); | 70 | get => this.Fields[(int)MsiServiceConfigFailureActionsSymbolFields.OnReinstall].AsBool(); |
| 71 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.OnReinstall, value); | 71 | set => this.Set((int)MsiServiceConfigFailureActionsSymbolFields.OnReinstall, value); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public bool OnUninstall | 74 | public bool OnUninstall |
| 75 | { | 75 | { |
| 76 | get => this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.OnUninstall].AsBool(); | 76 | get => this.Fields[(int)MsiServiceConfigFailureActionsSymbolFields.OnUninstall].AsBool(); |
| 77 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.OnUninstall, value); | 77 | set => this.Set((int)MsiServiceConfigFailureActionsSymbolFields.OnUninstall, value); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public int? ResetPeriod | 80 | public int? ResetPeriod |
| 81 | { | 81 | { |
| 82 | get => (int?)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.ResetPeriod]; | 82 | get => (int?)this.Fields[(int)MsiServiceConfigFailureActionsSymbolFields.ResetPeriod]; |
| 83 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.ResetPeriod, value); | 83 | set => this.Set((int)MsiServiceConfigFailureActionsSymbolFields.ResetPeriod, value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public string RebootMessage | 86 | public string RebootMessage |
| 87 | { | 87 | { |
| 88 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.RebootMessage]; | 88 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsSymbolFields.RebootMessage]; |
| 89 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.RebootMessage, value); | 89 | set => this.Set((int)MsiServiceConfigFailureActionsSymbolFields.RebootMessage, value); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | public string Command | 92 | public string Command |
| 93 | { | 93 | { |
| 94 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.Command]; | 94 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsSymbolFields.Command]; |
| 95 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.Command, value); | 95 | set => this.Set((int)MsiServiceConfigFailureActionsSymbolFields.Command, value); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | public string Actions | 98 | public string Actions |
| 99 | { | 99 | { |
| 100 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.Actions]; | 100 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsSymbolFields.Actions]; |
| 101 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.Actions, value); | 101 | set => this.Set((int)MsiServiceConfigFailureActionsSymbolFields.Actions, value); |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | public string DelayActions | 104 | public string DelayActions |
| 105 | { | 105 | { |
| 106 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.DelayActions]; | 106 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsSymbolFields.DelayActions]; |
| 107 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.DelayActions, value); | 107 | set => this.Set((int)MsiServiceConfigFailureActionsSymbolFields.DelayActions, value); |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | public string ComponentRef | 110 | public string ComponentRef |
| 111 | { | 111 | { |
| 112 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.ComponentRef]; | 112 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsSymbolFields.ComponentRef]; |
| 113 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.ComponentRef, value); | 113 | set => this.Set((int)MsiServiceConfigFailureActionsSymbolFields.ComponentRef, value); |
| 114 | } | 114 | } |
| 115 | } | 115 | } |
| 116 | } \ No newline at end of file | 116 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MsiServiceConfigTuple.cs b/src/WixToolset.Data/Tuples/MsiServiceConfigTuple.cs index 242098cd..9ad72d1e 100644 --- a/src/WixToolset.Data/Tuples/MsiServiceConfigTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiServiceConfigTuple.cs | |||
| @@ -2,29 +2,29 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MsiServiceConfig = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiServiceConfig = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MsiServiceConfig, | 10 | SymbolDefinitionType.MsiServiceConfig, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MsiServiceConfigTupleFields.Name), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MsiServiceConfigSymbolFields.Name), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.OnInstall), IntermediateFieldType.Bool), | 14 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsSymbolFields.OnInstall), IntermediateFieldType.Bool), |
| 15 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.OnReinstall), IntermediateFieldType.Bool), | 15 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsSymbolFields.OnReinstall), IntermediateFieldType.Bool), |
| 16 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.OnUninstall), IntermediateFieldType.Bool), | 16 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsSymbolFields.OnUninstall), IntermediateFieldType.Bool), |
| 17 | new IntermediateFieldDefinition(nameof(MsiServiceConfigTupleFields.ConfigType), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(MsiServiceConfigSymbolFields.ConfigType), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(MsiServiceConfigTupleFields.Argument), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(MsiServiceConfigSymbolFields.Argument), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(MsiServiceConfigTupleFields.ComponentRef), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(MsiServiceConfigSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 20 | }, | 20 | }, |
| 21 | typeof(MsiServiceConfigTuple)); | 21 | typeof(MsiServiceConfigSymbol)); |
| 22 | } | 22 | } |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | namespace WixToolset.Data.Tuples | 25 | namespace WixToolset.Data.Symbols |
| 26 | { | 26 | { |
| 27 | public enum MsiServiceConfigTupleFields | 27 | public enum MsiServiceConfigSymbolFields |
| 28 | { | 28 | { |
| 29 | Name, | 29 | Name, |
| 30 | OnInstall, | 30 | OnInstall, |
| @@ -44,58 +44,58 @@ namespace WixToolset.Data.Tuples | |||
| 44 | PreshutdownInfo, | 44 | PreshutdownInfo, |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | public class MsiServiceConfigTuple : IntermediateTuple | 47 | public class MsiServiceConfigSymbol : IntermediateSymbol |
| 48 | { | 48 | { |
| 49 | public MsiServiceConfigTuple() : base(TupleDefinitions.MsiServiceConfig, null, null) | 49 | public MsiServiceConfigSymbol() : base(SymbolDefinitions.MsiServiceConfig, null, null) |
| 50 | { | 50 | { |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | public MsiServiceConfigTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiServiceConfig, sourceLineNumber, id) | 53 | public MsiServiceConfigSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiServiceConfig, sourceLineNumber, id) |
| 54 | { | 54 | { |
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | public IntermediateField this[MsiServiceConfigTupleFields index] => this.Fields[(int)index]; | 57 | public IntermediateField this[MsiServiceConfigSymbolFields index] => this.Fields[(int)index]; |
| 58 | 58 | ||
| 59 | public string Name | 59 | public string Name |
| 60 | { | 60 | { |
| 61 | get => (string)this.Fields[(int)MsiServiceConfigTupleFields.Name]; | 61 | get => (string)this.Fields[(int)MsiServiceConfigSymbolFields.Name]; |
| 62 | set => this.Set((int)MsiServiceConfigTupleFields.Name, value); | 62 | set => this.Set((int)MsiServiceConfigSymbolFields.Name, value); |
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | public bool OnInstall | 65 | public bool OnInstall |
| 66 | { | 66 | { |
| 67 | get => this.Fields[(int)MsiServiceConfigTupleFields.OnInstall].AsBool(); | 67 | get => this.Fields[(int)MsiServiceConfigSymbolFields.OnInstall].AsBool(); |
| 68 | set => this.Set((int)MsiServiceConfigTupleFields.OnInstall, value); | 68 | set => this.Set((int)MsiServiceConfigSymbolFields.OnInstall, value); |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | public bool OnReinstall | 71 | public bool OnReinstall |
| 72 | { | 72 | { |
| 73 | get => this.Fields[(int)MsiServiceConfigTupleFields.OnReinstall].AsBool(); | 73 | get => this.Fields[(int)MsiServiceConfigSymbolFields.OnReinstall].AsBool(); |
| 74 | set => this.Set((int)MsiServiceConfigTupleFields.OnReinstall, value); | 74 | set => this.Set((int)MsiServiceConfigSymbolFields.OnReinstall, value); |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | public bool OnUninstall | 77 | public bool OnUninstall |
| 78 | { | 78 | { |
| 79 | get => this.Fields[(int)MsiServiceConfigTupleFields.OnUninstall].AsBool(); | 79 | get => this.Fields[(int)MsiServiceConfigSymbolFields.OnUninstall].AsBool(); |
| 80 | set => this.Set((int)MsiServiceConfigTupleFields.OnUninstall, value); | 80 | set => this.Set((int)MsiServiceConfigSymbolFields.OnUninstall, value); |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | public MsiServiceConfigType ConfigType | 83 | public MsiServiceConfigType ConfigType |
| 84 | { | 84 | { |
| 85 | get => (MsiServiceConfigType)this.Fields[(int)MsiServiceConfigTupleFields.ConfigType].AsNumber(); | 85 | get => (MsiServiceConfigType)this.Fields[(int)MsiServiceConfigSymbolFields.ConfigType].AsNumber(); |
| 86 | set => this.Set((int)MsiServiceConfigTupleFields.ConfigType, (int)value); | 86 | set => this.Set((int)MsiServiceConfigSymbolFields.ConfigType, (int)value); |
| 87 | } | 87 | } |
| 88 | 88 | ||
| 89 | public string Argument | 89 | public string Argument |
| 90 | { | 90 | { |
| 91 | get => (string)this.Fields[(int)MsiServiceConfigTupleFields.Argument]; | 91 | get => (string)this.Fields[(int)MsiServiceConfigSymbolFields.Argument]; |
| 92 | set => this.Set((int)MsiServiceConfigTupleFields.Argument, value); | 92 | set => this.Set((int)MsiServiceConfigSymbolFields.Argument, value); |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | public string ComponentRef | 95 | public string ComponentRef |
| 96 | { | 96 | { |
| 97 | get => (string)this.Fields[(int)MsiServiceConfigTupleFields.ComponentRef]; | 97 | get => (string)this.Fields[(int)MsiServiceConfigSymbolFields.ComponentRef]; |
| 98 | set => this.Set((int)MsiServiceConfigTupleFields.ComponentRef, value); | 98 | set => this.Set((int)MsiServiceConfigSymbolFields.ComponentRef, value); |
| 99 | } | 99 | } |
| 100 | } | 100 | } |
| 101 | } \ No newline at end of file | 101 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/MsiShortcutPropertyTuple.cs b/src/WixToolset.Data/Tuples/MsiShortcutPropertyTuple.cs index 290f6f14..5d5a46e5 100644 --- a/src/WixToolset.Data/Tuples/MsiShortcutPropertyTuple.cs +++ b/src/WixToolset.Data/Tuples/MsiShortcutPropertyTuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 MsiShortcutProperty = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition MsiShortcutProperty = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.MsiShortcutProperty, | 10 | SymbolDefinitionType.MsiShortcutProperty, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(MsiShortcutPropertyTupleFields.ShortcutRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(MsiShortcutPropertySymbolFields.ShortcutRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(MsiShortcutPropertyTupleFields.PropertyKey), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(MsiShortcutPropertySymbolFields.PropertyKey), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(MsiShortcutPropertyTupleFields.PropVariantValue), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(MsiShortcutPropertySymbolFields.PropVariantValue), IntermediateFieldType.String), |
| 16 | }, | 16 | }, |
| 17 | typeof(MsiShortcutPropertyTuple)); | 17 | typeof(MsiShortcutPropertySymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum MsiShortcutPropertyTupleFields | 23 | public enum MsiShortcutPropertySymbolFields |
| 24 | { | 24 | { |
| 25 | ShortcutRef, | 25 | ShortcutRef, |
| 26 | PropertyKey, | 26 | PropertyKey, |
| 27 | PropVariantValue, | 27 | PropVariantValue, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class MsiShortcutPropertyTuple : IntermediateTuple | 30 | public class MsiShortcutPropertySymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public MsiShortcutPropertyTuple() : base(TupleDefinitions.MsiShortcutProperty, null, null) | 32 | public MsiShortcutPropertySymbol() : base(SymbolDefinitions.MsiShortcutProperty, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public MsiShortcutPropertyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiShortcutProperty, sourceLineNumber, id) | 36 | public MsiShortcutPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.MsiShortcutProperty, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[MsiShortcutPropertyTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[MsiShortcutPropertySymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string ShortcutRef | 42 | public string ShortcutRef |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.ShortcutRef]; | 44 | get => (string)this.Fields[(int)MsiShortcutPropertySymbolFields.ShortcutRef]; |
| 45 | set => this.Set((int)MsiShortcutPropertyTupleFields.ShortcutRef, value); | 45 | set => this.Set((int)MsiShortcutPropertySymbolFields.ShortcutRef, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public string PropertyKey | 48 | public string PropertyKey |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.PropertyKey]; | 50 | get => (string)this.Fields[(int)MsiShortcutPropertySymbolFields.PropertyKey]; |
| 51 | set => this.Set((int)MsiShortcutPropertyTupleFields.PropertyKey, value); | 51 | set => this.Set((int)MsiShortcutPropertySymbolFields.PropertyKey, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string PropVariantValue | 54 | public string PropVariantValue |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.PropVariantValue]; | 56 | get => (string)this.Fields[(int)MsiShortcutPropertySymbolFields.PropVariantValue]; |
| 57 | set => this.Set((int)MsiShortcutPropertyTupleFields.PropVariantValue, value); | 57 | set => this.Set((int)MsiShortcutPropertySymbolFields.PropVariantValue, value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ODBCAttributeTuple.cs b/src/WixToolset.Data/Tuples/ODBCAttributeTuple.cs index 42598df9..45ca6ed8 100644 --- a/src/WixToolset.Data/Tuples/ODBCAttributeTuple.cs +++ b/src/WixToolset.Data/Tuples/ODBCAttributeTuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ODBCAttribute = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ODBCAttribute = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ODBCAttribute, | 10 | SymbolDefinitionType.ODBCAttribute, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ODBCAttributeTupleFields.DriverRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ODBCAttributeSymbolFields.DriverRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ODBCAttributeTupleFields.Attribute), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ODBCAttributeSymbolFields.Attribute), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ODBCAttributeTupleFields.Value), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ODBCAttributeSymbolFields.Value), IntermediateFieldType.String), |
| 16 | }, | 16 | }, |
| 17 | typeof(ODBCAttributeTuple)); | 17 | typeof(ODBCAttributeSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum ODBCAttributeTupleFields | 23 | public enum ODBCAttributeSymbolFields |
| 24 | { | 24 | { |
| 25 | DriverRef, | 25 | DriverRef, |
| 26 | Attribute, | 26 | Attribute, |
| 27 | Value, | 27 | Value, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class ODBCAttributeTuple : IntermediateTuple | 30 | public class ODBCAttributeSymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public ODBCAttributeTuple() : base(TupleDefinitions.ODBCAttribute, null, null) | 32 | public ODBCAttributeSymbol() : base(SymbolDefinitions.ODBCAttribute, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public ODBCAttributeTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ODBCAttribute, sourceLineNumber, id) | 36 | public ODBCAttributeSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ODBCAttribute, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[ODBCAttributeTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[ODBCAttributeSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string DriverRef | 42 | public string DriverRef |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)ODBCAttributeTupleFields.DriverRef]; | 44 | get => (string)this.Fields[(int)ODBCAttributeSymbolFields.DriverRef]; |
| 45 | set => this.Set((int)ODBCAttributeTupleFields.DriverRef, value); | 45 | set => this.Set((int)ODBCAttributeSymbolFields.DriverRef, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public string Attribute | 48 | public string Attribute |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)ODBCAttributeTupleFields.Attribute]; | 50 | get => (string)this.Fields[(int)ODBCAttributeSymbolFields.Attribute]; |
| 51 | set => this.Set((int)ODBCAttributeTupleFields.Attribute, value); | 51 | set => this.Set((int)ODBCAttributeSymbolFields.Attribute, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string Value | 54 | public string Value |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)ODBCAttributeTupleFields.Value]; | 56 | get => (string)this.Fields[(int)ODBCAttributeSymbolFields.Value]; |
| 57 | set => this.Set((int)ODBCAttributeTupleFields.Value, value); | 57 | set => this.Set((int)ODBCAttributeSymbolFields.Value, value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ODBCDataSourceTuple.cs b/src/WixToolset.Data/Tuples/ODBCDataSourceTuple.cs index 21a5ca9c..6af140bd 100644 --- a/src/WixToolset.Data/Tuples/ODBCDataSourceTuple.cs +++ b/src/WixToolset.Data/Tuples/ODBCDataSourceTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ODBCDataSource = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ODBCDataSource = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ODBCDataSource, | 10 | SymbolDefinitionType.ODBCDataSource, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ODBCDataSourceTupleFields.ComponentRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ODBCDataSourceSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ODBCDataSourceTupleFields.Description), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ODBCDataSourceSymbolFields.Description), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ODBCDataSourceTupleFields.DriverDescription), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ODBCDataSourceSymbolFields.DriverDescription), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ODBCDataSourceTupleFields.Registration), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(ODBCDataSourceSymbolFields.Registration), IntermediateFieldType.Number), |
| 17 | }, | 17 | }, |
| 18 | typeof(ODBCDataSourceTuple)); | 18 | typeof(ODBCDataSourceSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum ODBCDataSourceTupleFields | 24 | public enum ODBCDataSourceSymbolFields |
| 25 | { | 25 | { |
| 26 | ComponentRef, | 26 | ComponentRef, |
| 27 | Description, | 27 | Description, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Registration, | 29 | Registration, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class ODBCDataSourceTuple : IntermediateTuple | 32 | public class ODBCDataSourceSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public ODBCDataSourceTuple() : base(TupleDefinitions.ODBCDataSource, null, null) | 34 | public ODBCDataSourceSymbol() : base(SymbolDefinitions.ODBCDataSource, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public ODBCDataSourceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ODBCDataSource, sourceLineNumber, id) | 38 | public ODBCDataSourceSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ODBCDataSource, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[ODBCDataSourceTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[ODBCDataSourceSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string ComponentRef | 44 | public string ComponentRef |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)ODBCDataSourceTupleFields.ComponentRef]; | 46 | get => (string)this.Fields[(int)ODBCDataSourceSymbolFields.ComponentRef]; |
| 47 | set => this.Set((int)ODBCDataSourceTupleFields.ComponentRef, value); | 47 | set => this.Set((int)ODBCDataSourceSymbolFields.ComponentRef, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string Description | 50 | public string Description |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)ODBCDataSourceTupleFields.Description]; | 52 | get => (string)this.Fields[(int)ODBCDataSourceSymbolFields.Description]; |
| 53 | set => this.Set((int)ODBCDataSourceTupleFields.Description, value); | 53 | set => this.Set((int)ODBCDataSourceSymbolFields.Description, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string DriverDescription | 56 | public string DriverDescription |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)ODBCDataSourceTupleFields.DriverDescription]; | 58 | get => (string)this.Fields[(int)ODBCDataSourceSymbolFields.DriverDescription]; |
| 59 | set => this.Set((int)ODBCDataSourceTupleFields.DriverDescription, value); | 59 | set => this.Set((int)ODBCDataSourceSymbolFields.DriverDescription, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public int Registration | 62 | public int Registration |
| 63 | { | 63 | { |
| 64 | get => (int)this.Fields[(int)ODBCDataSourceTupleFields.Registration]; | 64 | get => (int)this.Fields[(int)ODBCDataSourceSymbolFields.Registration]; |
| 65 | set => this.Set((int)ODBCDataSourceTupleFields.Registration, value); | 65 | set => this.Set((int)ODBCDataSourceSymbolFields.Registration, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } | 68 | } |
diff --git a/src/WixToolset.Data/Tuples/ODBCDriverTuple.cs b/src/WixToolset.Data/Tuples/ODBCDriverTuple.cs index 79de70e5..b31cc4cb 100644 --- a/src/WixToolset.Data/Tuples/ODBCDriverTuple.cs +++ b/src/WixToolset.Data/Tuples/ODBCDriverTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ODBCDriver = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ODBCDriver = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ODBCDriver, | 10 | SymbolDefinitionType.ODBCDriver, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ODBCDriverTupleFields.ComponentRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ODBCDriverSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ODBCDriverTupleFields.Description), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ODBCDriverSymbolFields.Description), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ODBCDriverTupleFields.FileRef), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ODBCDriverSymbolFields.FileRef), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ODBCDriverTupleFields.SetupFileRef), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ODBCDriverSymbolFields.SetupFileRef), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(ODBCDriverTuple)); | 18 | typeof(ODBCDriverSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum ODBCDriverTupleFields | 24 | public enum ODBCDriverSymbolFields |
| 25 | { | 25 | { |
| 26 | ComponentRef, | 26 | ComponentRef, |
| 27 | Description, | 27 | Description, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | SetupFileRef, | 29 | SetupFileRef, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class ODBCDriverTuple : IntermediateTuple | 32 | public class ODBCDriverSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public ODBCDriverTuple() : base(TupleDefinitions.ODBCDriver, null, null) | 34 | public ODBCDriverSymbol() : base(SymbolDefinitions.ODBCDriver, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public ODBCDriverTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ODBCDriver, sourceLineNumber, id) | 38 | public ODBCDriverSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ODBCDriver, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[ODBCDriverTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[ODBCDriverSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string ComponentRef | 44 | public string ComponentRef |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)ODBCDriverTupleFields.ComponentRef]; | 46 | get => (string)this.Fields[(int)ODBCDriverSymbolFields.ComponentRef]; |
| 47 | set => this.Set((int)ODBCDriverTupleFields.ComponentRef, value); | 47 | set => this.Set((int)ODBCDriverSymbolFields.ComponentRef, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string Description | 50 | public string Description |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)ODBCDriverTupleFields.Description]; | 52 | get => (string)this.Fields[(int)ODBCDriverSymbolFields.Description]; |
| 53 | set => this.Set((int)ODBCDriverTupleFields.Description, value); | 53 | set => this.Set((int)ODBCDriverSymbolFields.Description, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string FileRef | 56 | public string FileRef |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)ODBCDriverTupleFields.FileRef]; | 58 | get => (string)this.Fields[(int)ODBCDriverSymbolFields.FileRef]; |
| 59 | set => this.Set((int)ODBCDriverTupleFields.FileRef, value); | 59 | set => this.Set((int)ODBCDriverSymbolFields.FileRef, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string SetupFileRef | 62 | public string SetupFileRef |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)ODBCDriverTupleFields.SetupFileRef]; | 64 | get => (string)this.Fields[(int)ODBCDriverSymbolFields.SetupFileRef]; |
| 65 | set => this.Set((int)ODBCDriverTupleFields.SetupFileRef, value); | 65 | set => this.Set((int)ODBCDriverSymbolFields.SetupFileRef, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } | 68 | } |
diff --git a/src/WixToolset.Data/Tuples/ODBCSourceAttributeTuple.cs b/src/WixToolset.Data/Tuples/ODBCSourceAttributeTuple.cs index 62fba795..2e25a5f7 100644 --- a/src/WixToolset.Data/Tuples/ODBCSourceAttributeTuple.cs +++ b/src/WixToolset.Data/Tuples/ODBCSourceAttributeTuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ODBCSourceAttribute = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ODBCSourceAttribute = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ODBCSourceAttribute, | 10 | SymbolDefinitionType.ODBCSourceAttribute, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ODBCSourceAttributeTupleFields.DataSourceRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ODBCSourceAttributeSymbolFields.DataSourceRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ODBCSourceAttributeTupleFields.Attribute), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ODBCSourceAttributeSymbolFields.Attribute), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ODBCSourceAttributeTupleFields.Value), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ODBCSourceAttributeSymbolFields.Value), IntermediateFieldType.String), |
| 16 | }, | 16 | }, |
| 17 | typeof(ODBCSourceAttributeTuple)); | 17 | typeof(ODBCSourceAttributeSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum ODBCSourceAttributeTupleFields | 23 | public enum ODBCSourceAttributeSymbolFields |
| 24 | { | 24 | { |
| 25 | DataSourceRef, | 25 | DataSourceRef, |
| 26 | Attribute, | 26 | Attribute, |
| 27 | Value, | 27 | Value, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class ODBCSourceAttributeTuple : IntermediateTuple | 30 | public class ODBCSourceAttributeSymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public ODBCSourceAttributeTuple() : base(TupleDefinitions.ODBCSourceAttribute, null, null) | 32 | public ODBCSourceAttributeSymbol() : base(SymbolDefinitions.ODBCSourceAttribute, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public ODBCSourceAttributeTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ODBCSourceAttribute, sourceLineNumber, id) | 36 | public ODBCSourceAttributeSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ODBCSourceAttribute, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[ODBCSourceAttributeTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[ODBCSourceAttributeSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string DataSourceRef | 42 | public string DataSourceRef |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)ODBCSourceAttributeTupleFields.DataSourceRef]; | 44 | get => (string)this.Fields[(int)ODBCSourceAttributeSymbolFields.DataSourceRef]; |
| 45 | set => this.Set((int)ODBCSourceAttributeTupleFields.DataSourceRef, value); | 45 | set => this.Set((int)ODBCSourceAttributeSymbolFields.DataSourceRef, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public string Attribute | 48 | public string Attribute |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)ODBCSourceAttributeTupleFields.Attribute]; | 50 | get => (string)this.Fields[(int)ODBCSourceAttributeSymbolFields.Attribute]; |
| 51 | set => this.Set((int)ODBCSourceAttributeTupleFields.Attribute, value); | 51 | set => this.Set((int)ODBCSourceAttributeSymbolFields.Attribute, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string Value | 54 | public string Value |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)ODBCSourceAttributeTupleFields.Value]; | 56 | get => (string)this.Fields[(int)ODBCSourceAttributeSymbolFields.Value]; |
| 57 | set => this.Set((int)ODBCSourceAttributeTupleFields.Value, value); | 57 | set => this.Set((int)ODBCSourceAttributeSymbolFields.Value, value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ODBCTranslatorTuple.cs b/src/WixToolset.Data/Tuples/ODBCTranslatorTuple.cs index 0662e3f8..c444b834 100644 --- a/src/WixToolset.Data/Tuples/ODBCTranslatorTuple.cs +++ b/src/WixToolset.Data/Tuples/ODBCTranslatorTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ODBCTranslator = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ODBCTranslator = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ODBCTranslator, | 10 | SymbolDefinitionType.ODBCTranslator, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ODBCTranslatorTupleFields.ComponentRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ODBCTranslatorSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ODBCTranslatorTupleFields.Description), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ODBCTranslatorSymbolFields.Description), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ODBCTranslatorTupleFields.FileRef), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ODBCTranslatorSymbolFields.FileRef), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ODBCTranslatorTupleFields.SetupFileRef), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ODBCTranslatorSymbolFields.SetupFileRef), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(ODBCTranslatorTuple)); | 18 | typeof(ODBCTranslatorSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum ODBCTranslatorTupleFields | 24 | public enum ODBCTranslatorSymbolFields |
| 25 | { | 25 | { |
| 26 | ComponentRef, | 26 | ComponentRef, |
| 27 | Description, | 27 | Description, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | SetupFileRef, | 29 | SetupFileRef, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class ODBCTranslatorTuple : IntermediateTuple | 32 | public class ODBCTranslatorSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public ODBCTranslatorTuple() : base(TupleDefinitions.ODBCTranslator, null, null) | 34 | public ODBCTranslatorSymbol() : base(SymbolDefinitions.ODBCTranslator, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public ODBCTranslatorTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ODBCTranslator, sourceLineNumber, id) | 38 | public ODBCTranslatorSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ODBCTranslator, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[ODBCTranslatorTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[ODBCTranslatorSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string ComponentRef | 44 | public string ComponentRef |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)ODBCTranslatorTupleFields.ComponentRef]; | 46 | get => (string)this.Fields[(int)ODBCTranslatorSymbolFields.ComponentRef]; |
| 47 | set => this.Set((int)ODBCTranslatorTupleFields.ComponentRef, value); | 47 | set => this.Set((int)ODBCTranslatorSymbolFields.ComponentRef, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string Description | 50 | public string Description |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)ODBCTranslatorTupleFields.Description]; | 52 | get => (string)this.Fields[(int)ODBCTranslatorSymbolFields.Description]; |
| 53 | set => this.Set((int)ODBCTranslatorTupleFields.Description, value); | 53 | set => this.Set((int)ODBCTranslatorSymbolFields.Description, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string FileRef | 56 | public string FileRef |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)ODBCTranslatorTupleFields.FileRef]; | 58 | get => (string)this.Fields[(int)ODBCTranslatorSymbolFields.FileRef]; |
| 59 | set => this.Set((int)ODBCTranslatorTupleFields.FileRef, value); | 59 | set => this.Set((int)ODBCTranslatorSymbolFields.FileRef, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string SetupFileRef | 62 | public string SetupFileRef |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)ODBCTranslatorTupleFields.SetupFileRef]; | 64 | get => (string)this.Fields[(int)ODBCTranslatorSymbolFields.SetupFileRef]; |
| 65 | set => this.Set((int)ODBCTranslatorTupleFields.SetupFileRef, value); | 65 | set => this.Set((int)ODBCTranslatorSymbolFields.SetupFileRef, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } | 68 | } |
diff --git a/src/WixToolset.Data/Tuples/PatchMetadataTuple.cs b/src/WixToolset.Data/Tuples/PatchMetadataTuple.cs index df6962b3..3f67aef7 100644 --- a/src/WixToolset.Data/Tuples/PatchMetadataTuple.cs +++ b/src/WixToolset.Data/Tuples/PatchMetadataTuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 PatchMetadata = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition PatchMetadata = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.PatchMetadata, | 10 | SymbolDefinitionType.PatchMetadata, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(PatchMetadataTupleFields.Company), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(PatchMetadataSymbolFields.Company), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(PatchMetadataTupleFields.Property), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(PatchMetadataSymbolFields.Property), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(PatchMetadataTupleFields.Value), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(PatchMetadataSymbolFields.Value), IntermediateFieldType.String), |
| 16 | }, | 16 | }, |
| 17 | typeof(PatchMetadataTuple)); | 17 | typeof(PatchMetadataSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum PatchMetadataTupleFields | 23 | public enum PatchMetadataSymbolFields |
| 24 | { | 24 | { |
| 25 | Company, | 25 | Company, |
| 26 | Property, | 26 | Property, |
| 27 | Value, | 27 | Value, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class PatchMetadataTuple : IntermediateTuple | 30 | public class PatchMetadataSymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public PatchMetadataTuple() : base(TupleDefinitions.PatchMetadata, null, null) | 32 | public PatchMetadataSymbol() : base(SymbolDefinitions.PatchMetadata, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public PatchMetadataTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.PatchMetadata, sourceLineNumber, id) | 36 | public PatchMetadataSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.PatchMetadata, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[PatchMetadataTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[PatchMetadataSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string Company | 42 | public string Company |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)PatchMetadataTupleFields.Company]; | 44 | get => (string)this.Fields[(int)PatchMetadataSymbolFields.Company]; |
| 45 | set => this.Set((int)PatchMetadataTupleFields.Company, value); | 45 | set => this.Set((int)PatchMetadataSymbolFields.Company, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public string Property | 48 | public string Property |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)PatchMetadataTupleFields.Property]; | 50 | get => (string)this.Fields[(int)PatchMetadataSymbolFields.Property]; |
| 51 | set => this.Set((int)PatchMetadataTupleFields.Property, value); | 51 | set => this.Set((int)PatchMetadataSymbolFields.Property, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string Value | 54 | public string Value |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)PatchMetadataTupleFields.Value]; | 56 | get => (string)this.Fields[(int)PatchMetadataSymbolFields.Value]; |
| 57 | set => this.Set((int)PatchMetadataTupleFields.Value, value); | 57 | set => this.Set((int)PatchMetadataSymbolFields.Value, value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/PatchPackageTuple.cs b/src/WixToolset.Data/Tuples/PatchPackageTuple.cs index ee83dc72..0efdfd25 100644 --- a/src/WixToolset.Data/Tuples/PatchPackageTuple.cs +++ b/src/WixToolset.Data/Tuples/PatchPackageTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 PatchPackage = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition PatchPackage = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.PatchPackage, | 10 | SymbolDefinitionType.PatchPackage, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(PatchPackageTupleFields.PatchId), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(PatchPackageSymbolFields.PatchId), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(PatchPackageTupleFields.MediaDiskIdRef), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(PatchPackageSymbolFields.MediaDiskIdRef), IntermediateFieldType.Number), |
| 15 | }, | 15 | }, |
| 16 | typeof(PatchPackageTuple)); | 16 | typeof(PatchPackageSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum PatchPackageTupleFields | 22 | public enum PatchPackageSymbolFields |
| 23 | { | 23 | { |
| 24 | PatchId, | 24 | PatchId, |
| 25 | MediaDiskIdRef, | 25 | MediaDiskIdRef, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class PatchPackageTuple : IntermediateTuple | 28 | public class PatchPackageSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public PatchPackageTuple() : base(TupleDefinitions.PatchPackage, null, null) | 30 | public PatchPackageSymbol() : base(SymbolDefinitions.PatchPackage, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public PatchPackageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.PatchPackage, sourceLineNumber, id) | 34 | public PatchPackageSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.PatchPackage, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[PatchPackageTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[PatchPackageSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string PatchId | 40 | public string PatchId |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)PatchPackageTupleFields.PatchId]; | 42 | get => (string)this.Fields[(int)PatchPackageSymbolFields.PatchId]; |
| 43 | set => this.Set((int)PatchPackageTupleFields.PatchId, value); | 43 | set => this.Set((int)PatchPackageSymbolFields.PatchId, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public int MediaDiskIdRef | 46 | public int MediaDiskIdRef |
| 47 | { | 47 | { |
| 48 | get => (int)this.Fields[(int)PatchPackageTupleFields.MediaDiskIdRef]; | 48 | get => (int)this.Fields[(int)PatchPackageSymbolFields.MediaDiskIdRef]; |
| 49 | set => this.Set((int)PatchPackageTupleFields.MediaDiskIdRef, value); | 49 | set => this.Set((int)PatchPackageSymbolFields.MediaDiskIdRef, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/PatchSequenceTuple.cs b/src/WixToolset.Data/Tuples/PatchSequenceTuple.cs index f7036a05..a4cbca61 100644 --- a/src/WixToolset.Data/Tuples/PatchSequenceTuple.cs +++ b/src/WixToolset.Data/Tuples/PatchSequenceTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 PatchSequence = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition PatchSequence = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.PatchSequence, | 10 | SymbolDefinitionType.PatchSequence, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(PatchSequenceTupleFields.PatchFamily), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(PatchSequenceSymbolFields.PatchFamily), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(PatchSequenceTupleFields.Target), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(PatchSequenceSymbolFields.Target), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(PatchSequenceTupleFields.Sequence), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(PatchSequenceSymbolFields.Sequence), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(PatchSequenceTupleFields.Supersede), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(PatchSequenceSymbolFields.Supersede), IntermediateFieldType.Number), |
| 17 | }, | 17 | }, |
| 18 | typeof(PatchSequenceTuple)); | 18 | typeof(PatchSequenceSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum PatchSequenceTupleFields | 24 | public enum PatchSequenceSymbolFields |
| 25 | { | 25 | { |
| 26 | PatchFamily, | 26 | PatchFamily, |
| 27 | Target, | 27 | Target, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Supersede, | 29 | Supersede, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class PatchSequenceTuple : IntermediateTuple | 32 | public class PatchSequenceSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public PatchSequenceTuple() : base(TupleDefinitions.PatchSequence, null, null) | 34 | public PatchSequenceSymbol() : base(SymbolDefinitions.PatchSequence, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public PatchSequenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.PatchSequence, sourceLineNumber, id) | 38 | public PatchSequenceSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.PatchSequence, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[PatchSequenceTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[PatchSequenceSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string PatchFamily | 44 | public string PatchFamily |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)PatchSequenceTupleFields.PatchFamily]; | 46 | get => (string)this.Fields[(int)PatchSequenceSymbolFields.PatchFamily]; |
| 47 | set => this.Set((int)PatchSequenceTupleFields.PatchFamily, value); | 47 | set => this.Set((int)PatchSequenceSymbolFields.PatchFamily, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string Target | 50 | public string Target |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)PatchSequenceTupleFields.Target]; | 52 | get => (string)this.Fields[(int)PatchSequenceSymbolFields.Target]; |
| 53 | set => this.Set((int)PatchSequenceTupleFields.Target, value); | 53 | set => this.Set((int)PatchSequenceSymbolFields.Target, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string Sequence | 56 | public string Sequence |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)PatchSequenceTupleFields.Sequence]; | 58 | get => (string)this.Fields[(int)PatchSequenceSymbolFields.Sequence]; |
| 59 | set => this.Set((int)PatchSequenceTupleFields.Sequence, value); | 59 | set => this.Set((int)PatchSequenceSymbolFields.Sequence, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public int? Supersede | 62 | public int? Supersede |
| 63 | { | 63 | { |
| 64 | get => (int?)this.Fields[(int)PatchSequenceTupleFields.Supersede]; | 64 | get => (int?)this.Fields[(int)PatchSequenceSymbolFields.Supersede]; |
| 65 | set => this.Set((int)PatchSequenceTupleFields.Supersede, value); | 65 | set => this.Set((int)PatchSequenceSymbolFields.Supersede, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/PatchTuple.cs b/src/WixToolset.Data/Tuples/PatchTuple.cs index 5548a215..31e68d76 100644 --- a/src/WixToolset.Data/Tuples/PatchTuple.cs +++ b/src/WixToolset.Data/Tuples/PatchTuple.cs | |||
| @@ -2,28 +2,28 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Patch = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Patch = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Patch, | 10 | SymbolDefinitionType.Patch, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(PatchTupleFields.FileRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(PatchSymbolFields.FileRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(PatchTupleFields.Sequence), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(PatchSymbolFields.Sequence), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(PatchTupleFields.PatchSize), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(PatchSymbolFields.PatchSize), IntermediateFieldType.Number), |
| 16 | new IntermediateFieldDefinition(nameof(PatchTupleFields.Attributes), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(PatchSymbolFields.Attributes), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(PatchTupleFields.Header), IntermediateFieldType.Path), | 17 | new IntermediateFieldDefinition(nameof(PatchSymbolFields.Header), IntermediateFieldType.Path), |
| 18 | new IntermediateFieldDefinition(nameof(PatchTupleFields.StreamRef), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(PatchSymbolFields.StreamRef), IntermediateFieldType.String), |
| 19 | }, | 19 | }, |
| 20 | typeof(PatchTuple)); | 20 | typeof(PatchSymbol)); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
| 25 | { | 25 | { |
| 26 | public enum PatchTupleFields | 26 | public enum PatchSymbolFields |
| 27 | { | 27 | { |
| 28 | FileRef, | 28 | FileRef, |
| 29 | Sequence, | 29 | Sequence, |
| @@ -33,52 +33,52 @@ namespace WixToolset.Data.Tuples | |||
| 33 | StreamRef, | 33 | StreamRef, |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public class PatchTuple : IntermediateTuple | 36 | public class PatchSymbol : IntermediateSymbol |
| 37 | { | 37 | { |
| 38 | public PatchTuple() : base(TupleDefinitions.Patch, null, null) | 38 | public PatchSymbol() : base(SymbolDefinitions.Patch, null, null) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public PatchTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Patch, sourceLineNumber, id) | 42 | public PatchSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Patch, sourceLineNumber, id) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public IntermediateField this[PatchTupleFields index] => this.Fields[(int)index]; | 46 | public IntermediateField this[PatchSymbolFields index] => this.Fields[(int)index]; |
| 47 | 47 | ||
| 48 | public string FileRef | 48 | public string FileRef |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)PatchTupleFields.FileRef]; | 50 | get => (string)this.Fields[(int)PatchSymbolFields.FileRef]; |
| 51 | set => this.Set((int)PatchTupleFields.FileRef, value); | 51 | set => this.Set((int)PatchSymbolFields.FileRef, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public int Sequence | 54 | public int Sequence |
| 55 | { | 55 | { |
| 56 | get => (int)this.Fields[(int)PatchTupleFields.Sequence]; | 56 | get => (int)this.Fields[(int)PatchSymbolFields.Sequence]; |
| 57 | set => this.Set((int)PatchTupleFields.Sequence, value); | 57 | set => this.Set((int)PatchSymbolFields.Sequence, value); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public int PatchSize | 60 | public int PatchSize |
| 61 | { | 61 | { |
| 62 | get => (int)this.Fields[(int)PatchTupleFields.PatchSize]; | 62 | get => (int)this.Fields[(int)PatchSymbolFields.PatchSize]; |
| 63 | set => this.Set((int)PatchTupleFields.PatchSize, value); | 63 | set => this.Set((int)PatchSymbolFields.PatchSize, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public int Attributes | 66 | public int Attributes |
| 67 | { | 67 | { |
| 68 | get => (int)this.Fields[(int)PatchTupleFields.Attributes]; | 68 | get => (int)this.Fields[(int)PatchSymbolFields.Attributes]; |
| 69 | set => this.Set((int)PatchTupleFields.Attributes, value); | 69 | set => this.Set((int)PatchSymbolFields.Attributes, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public string Header | 72 | public string Header |
| 73 | { | 73 | { |
| 74 | get => (string)this.Fields[(int)PatchTupleFields.Header]; | 74 | get => (string)this.Fields[(int)PatchSymbolFields.Header]; |
| 75 | set => this.Set((int)PatchTupleFields.Header, value); | 75 | set => this.Set((int)PatchSymbolFields.Header, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public string StreamRef | 78 | public string StreamRef |
| 79 | { | 79 | { |
| 80 | get => (string)this.Fields[(int)PatchTupleFields.StreamRef]; | 80 | get => (string)this.Fields[(int)PatchSymbolFields.StreamRef]; |
| 81 | set => this.Set((int)PatchTupleFields.StreamRef, value); | 81 | set => this.Set((int)PatchSymbolFields.StreamRef, value); |
| 82 | } | 82 | } |
| 83 | } | 83 | } |
| 84 | } \ No newline at end of file | 84 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ProgIdTuple.cs b/src/WixToolset.Data/Tuples/ProgIdTuple.cs index 02f66a90..57ac758f 100644 --- a/src/WixToolset.Data/Tuples/ProgIdTuple.cs +++ b/src/WixToolset.Data/Tuples/ProgIdTuple.cs | |||
| @@ -2,28 +2,28 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ProgId = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ProgId = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ProgId, | 10 | SymbolDefinitionType.ProgId, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.ProgId), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ProgIdSymbolFields.ProgId), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.ParentProgIdRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ProgIdSymbolFields.ParentProgIdRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.ClassRef), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ProgIdSymbolFields.ClassRef), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.Description), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ProgIdSymbolFields.Description), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.IconRef), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(ProgIdSymbolFields.IconRef), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.IconIndex), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(ProgIdSymbolFields.IconIndex), IntermediateFieldType.Number), |
| 19 | }, | 19 | }, |
| 20 | typeof(ProgIdTuple)); | 20 | typeof(ProgIdSymbol)); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
| 25 | { | 25 | { |
| 26 | public enum ProgIdTupleFields | 26 | public enum ProgIdSymbolFields |
| 27 | { | 27 | { |
| 28 | ProgId, | 28 | ProgId, |
| 29 | ParentProgIdRef, | 29 | ParentProgIdRef, |
| @@ -33,52 +33,52 @@ namespace WixToolset.Data.Tuples | |||
| 33 | IconIndex, | 33 | IconIndex, |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public class ProgIdTuple : IntermediateTuple | 36 | public class ProgIdSymbol : IntermediateSymbol |
| 37 | { | 37 | { |
| 38 | public ProgIdTuple() : base(TupleDefinitions.ProgId, null, null) | 38 | public ProgIdSymbol() : base(SymbolDefinitions.ProgId, null, null) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public ProgIdTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ProgId, sourceLineNumber, id) | 42 | public ProgIdSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ProgId, sourceLineNumber, id) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public IntermediateField this[ProgIdTupleFields index] => this.Fields[(int)index]; | 46 | public IntermediateField this[ProgIdSymbolFields index] => this.Fields[(int)index]; |
| 47 | 47 | ||
| 48 | public string ProgId | 48 | public string ProgId |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)ProgIdTupleFields.ProgId]; | 50 | get => (string)this.Fields[(int)ProgIdSymbolFields.ProgId]; |
| 51 | set => this.Set((int)ProgIdTupleFields.ProgId, value); | 51 | set => this.Set((int)ProgIdSymbolFields.ProgId, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string ParentProgIdRef | 54 | public string ParentProgIdRef |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)ProgIdTupleFields.ParentProgIdRef]; | 56 | get => (string)this.Fields[(int)ProgIdSymbolFields.ParentProgIdRef]; |
| 57 | set => this.Set((int)ProgIdTupleFields.ParentProgIdRef, value); | 57 | set => this.Set((int)ProgIdSymbolFields.ParentProgIdRef, value); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public string ClassRef | 60 | public string ClassRef |
| 61 | { | 61 | { |
| 62 | get => (string)this.Fields[(int)ProgIdTupleFields.ClassRef]; | 62 | get => (string)this.Fields[(int)ProgIdSymbolFields.ClassRef]; |
| 63 | set => this.Set((int)ProgIdTupleFields.ClassRef, value); | 63 | set => this.Set((int)ProgIdSymbolFields.ClassRef, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public string Description | 66 | public string Description |
| 67 | { | 67 | { |
| 68 | get => (string)this.Fields[(int)ProgIdTupleFields.Description]; | 68 | get => (string)this.Fields[(int)ProgIdSymbolFields.Description]; |
| 69 | set => this.Set((int)ProgIdTupleFields.Description, value); | 69 | set => this.Set((int)ProgIdSymbolFields.Description, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public string IconRef | 72 | public string IconRef |
| 73 | { | 73 | { |
| 74 | get => (string)this.Fields[(int)ProgIdTupleFields.IconRef]; | 74 | get => (string)this.Fields[(int)ProgIdSymbolFields.IconRef]; |
| 75 | set => this.Set((int)ProgIdTupleFields.IconRef, value); | 75 | set => this.Set((int)ProgIdSymbolFields.IconRef, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public int? IconIndex | 78 | public int? IconIndex |
| 79 | { | 79 | { |
| 80 | get => (int?)this.Fields[(int)ProgIdTupleFields.IconIndex]; | 80 | get => (int?)this.Fields[(int)ProgIdSymbolFields.IconIndex]; |
| 81 | set => this.Set((int)ProgIdTupleFields.IconIndex, value); | 81 | set => this.Set((int)ProgIdSymbolFields.IconIndex, value); |
| 82 | } | 82 | } |
| 83 | } | 83 | } |
| 84 | } \ No newline at end of file | 84 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/PropertiesTuple.cs b/src/WixToolset.Data/Tuples/PropertiesTuple.cs index aaccaa81..61059aa6 100644 --- a/src/WixToolset.Data/Tuples/PropertiesTuple.cs +++ b/src/WixToolset.Data/Tuples/PropertiesTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Properties = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Properties = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Properties, | 10 | SymbolDefinitionType.Properties, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(PropertiesTupleFields.Name), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(PropertiesSymbolFields.Name), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(PropertiesTupleFields.Value), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(PropertiesSymbolFields.Value), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(PropertiesTuple)); | 16 | typeof(PropertiesSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum PropertiesTupleFields | 22 | public enum PropertiesSymbolFields |
| 23 | { | 23 | { |
| 24 | Name, | 24 | Name, |
| 25 | Value, | 25 | Value, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class PropertiesTuple : IntermediateTuple | 28 | public class PropertiesSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public PropertiesTuple() : base(TupleDefinitions.Properties, null, null) | 30 | public PropertiesSymbol() : base(SymbolDefinitions.Properties, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public PropertiesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Properties, sourceLineNumber, id) | 34 | public PropertiesSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Properties, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[PropertiesTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[PropertiesSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string Name | 40 | public string Name |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)PropertiesTupleFields.Name]; | 42 | get => (string)this.Fields[(int)PropertiesSymbolFields.Name]; |
| 43 | set => this.Set((int)PropertiesTupleFields.Name, value); | 43 | set => this.Set((int)PropertiesSymbolFields.Name, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string Value | 46 | public string Value |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)PropertiesTupleFields.Value]; | 48 | get => (string)this.Fields[(int)PropertiesSymbolFields.Value]; |
| 49 | set => this.Set((int)PropertiesTupleFields.Value, value); | 49 | set => this.Set((int)PropertiesSymbolFields.Value, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/PropertyTuple.cs b/src/WixToolset.Data/Tuples/PropertyTuple.cs index e6a5ceae..b93d962a 100644 --- a/src/WixToolset.Data/Tuples/PropertyTuple.cs +++ b/src/WixToolset.Data/Tuples/PropertyTuple.cs | |||
| @@ -2,43 +2,43 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Property = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Property = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Property, | 10 | SymbolDefinitionType.Property, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(PropertyTupleFields.Value), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(PropertySymbolFields.Value), IntermediateFieldType.String), |
| 14 | }, | 14 | }, |
| 15 | typeof(PropertyTuple)); | 15 | typeof(PropertySymbol)); |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
| 20 | { | 20 | { |
| 21 | public enum PropertyTupleFields | 21 | public enum PropertySymbolFields |
| 22 | { | 22 | { |
| 23 | Value, | 23 | Value, |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | public class PropertyTuple : IntermediateTuple | 26 | public class PropertySymbol : IntermediateSymbol |
| 27 | { | 27 | { |
| 28 | public PropertyTuple() : base(TupleDefinitions.Property, null, null) | 28 | public PropertySymbol() : base(SymbolDefinitions.Property, null, null) |
| 29 | { | 29 | { |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public PropertyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Property, sourceLineNumber, id) | 32 | public PropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Property, sourceLineNumber, id) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public IntermediateField this[PropertyTupleFields index] => this.Fields[(int)index]; | 36 | public IntermediateField this[PropertySymbolFields index] => this.Fields[(int)index]; |
| 37 | 37 | ||
| 38 | public string Value | 38 | public string Value |
| 39 | { | 39 | { |
| 40 | get => (string)this.Fields[(int)PropertyTupleFields.Value]; | 40 | get => (string)this.Fields[(int)PropertySymbolFields.Value]; |
| 41 | set => this.Set((int)PropertyTupleFields.Value, value); | 41 | set => this.Set((int)PropertySymbolFields.Value, value); |
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | } \ No newline at end of file | 44 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ProvidesDependencyTuple.cs b/src/WixToolset.Data/Tuples/ProvidesDependencyTuple.cs index a6337bdf..8d8cb02b 100644 --- a/src/WixToolset.Data/Tuples/ProvidesDependencyTuple.cs +++ b/src/WixToolset.Data/Tuples/ProvidesDependencyTuple.cs | |||
| @@ -2,28 +2,28 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ProvidesDependency = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ProvidesDependency = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ProvidesDependency, | 10 | SymbolDefinitionType.ProvidesDependency, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ProvidesDependencyTupleFields.PackageRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ProvidesDependencySymbolFields.PackageRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ProvidesDependencyTupleFields.Key), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ProvidesDependencySymbolFields.Key), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ProvidesDependencyTupleFields.Version), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ProvidesDependencySymbolFields.Version), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ProvidesDependencyTupleFields.DisplayName), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ProvidesDependencySymbolFields.DisplayName), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(ProvidesDependencyTupleFields.Attributes), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(ProvidesDependencySymbolFields.Attributes), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(ProvidesDependencyTupleFields.Imported), IntermediateFieldType.Bool), | 18 | new IntermediateFieldDefinition(nameof(ProvidesDependencySymbolFields.Imported), IntermediateFieldType.Bool), |
| 19 | }, | 19 | }, |
| 20 | typeof(ProvidesDependencyTuple)); | 20 | typeof(ProvidesDependencySymbol)); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
| 25 | { | 25 | { |
| 26 | public enum ProvidesDependencyTupleFields | 26 | public enum ProvidesDependencySymbolFields |
| 27 | { | 27 | { |
| 28 | PackageRef, | 28 | PackageRef, |
| 29 | Key, | 29 | Key, |
| @@ -33,52 +33,52 @@ namespace WixToolset.Data.Tuples | |||
| 33 | Imported, | 33 | Imported, |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public class ProvidesDependencyTuple : IntermediateTuple | 36 | public class ProvidesDependencySymbol : IntermediateSymbol |
| 37 | { | 37 | { |
| 38 | public ProvidesDependencyTuple() : base(TupleDefinitions.ProvidesDependency, null, null) | 38 | public ProvidesDependencySymbol() : base(SymbolDefinitions.ProvidesDependency, null, null) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public ProvidesDependencyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ProvidesDependency, sourceLineNumber, id) | 42 | public ProvidesDependencySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ProvidesDependency, sourceLineNumber, id) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public IntermediateField this[ProvidesDependencyTupleFields index] => this.Fields[(int)index]; | 46 | public IntermediateField this[ProvidesDependencySymbolFields index] => this.Fields[(int)index]; |
| 47 | 47 | ||
| 48 | public string PackageRef | 48 | public string PackageRef |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)ProvidesDependencyTupleFields.PackageRef]; | 50 | get => (string)this.Fields[(int)ProvidesDependencySymbolFields.PackageRef]; |
| 51 | set => this.Set((int)ProvidesDependencyTupleFields.PackageRef, value); | 51 | set => this.Set((int)ProvidesDependencySymbolFields.PackageRef, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string Key | 54 | public string Key |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)ProvidesDependencyTupleFields.Key]; | 56 | get => (string)this.Fields[(int)ProvidesDependencySymbolFields.Key]; |
| 57 | set => this.Set((int)ProvidesDependencyTupleFields.Key, value); | 57 | set => this.Set((int)ProvidesDependencySymbolFields.Key, value); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public string Version | 60 | public string Version |
| 61 | { | 61 | { |
| 62 | get => (string)this.Fields[(int)ProvidesDependencyTupleFields.Version]; | 62 | get => (string)this.Fields[(int)ProvidesDependencySymbolFields.Version]; |
| 63 | set => this.Set((int)ProvidesDependencyTupleFields.Version, value); | 63 | set => this.Set((int)ProvidesDependencySymbolFields.Version, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public string DisplayName | 66 | public string DisplayName |
| 67 | { | 67 | { |
| 68 | get => (string)this.Fields[(int)ProvidesDependencyTupleFields.DisplayName]; | 68 | get => (string)this.Fields[(int)ProvidesDependencySymbolFields.DisplayName]; |
| 69 | set => this.Set((int)ProvidesDependencyTupleFields.DisplayName, value); | 69 | set => this.Set((int)ProvidesDependencySymbolFields.DisplayName, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public int? Attributes | 72 | public int? Attributes |
| 73 | { | 73 | { |
| 74 | get => (int?)this.Fields[(int)ProvidesDependencyTupleFields.Attributes]; | 74 | get => (int?)this.Fields[(int)ProvidesDependencySymbolFields.Attributes]; |
| 75 | set => this.Set((int)ProvidesDependencyTupleFields.Attributes, value); | 75 | set => this.Set((int)ProvidesDependencySymbolFields.Attributes, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public bool Imported | 78 | public bool Imported |
| 79 | { | 79 | { |
| 80 | get => (bool)this.Fields[(int)ProvidesDependencyTupleFields.Imported]; | 80 | get => (bool)this.Fields[(int)ProvidesDependencySymbolFields.Imported]; |
| 81 | set => this.Set((int)ProvidesDependencyTupleFields.Imported, value); | 81 | set => this.Set((int)ProvidesDependencySymbolFields.Imported, value); |
| 82 | } | 82 | } |
| 83 | } | 83 | } |
| 84 | } | 84 | } |
diff --git a/src/WixToolset.Data/Tuples/PublishComponentTuple.cs b/src/WixToolset.Data/Tuples/PublishComponentTuple.cs index 502988a3..3fb81801 100644 --- a/src/WixToolset.Data/Tuples/PublishComponentTuple.cs +++ b/src/WixToolset.Data/Tuples/PublishComponentTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 PublishComponent = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition PublishComponent = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.PublishComponent, | 10 | SymbolDefinitionType.PublishComponent, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(PublishComponentTupleFields.ComponentId), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(PublishComponentSymbolFields.ComponentId), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(PublishComponentTupleFields.Qualifier), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(PublishComponentSymbolFields.Qualifier), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(PublishComponentTupleFields.ComponentRef), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(PublishComponentSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(PublishComponentTupleFields.AppData), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(PublishComponentSymbolFields.AppData), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(PublishComponentTupleFields.FeatureRef), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(PublishComponentSymbolFields.FeatureRef), IntermediateFieldType.String), |
| 18 | }, | 18 | }, |
| 19 | typeof(PublishComponentTuple)); | 19 | typeof(PublishComponentSymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | public enum PublishComponentTupleFields | 25 | public enum PublishComponentSymbolFields |
| 26 | { | 26 | { |
| 27 | ComponentId, | 27 | ComponentId, |
| 28 | Qualifier, | 28 | Qualifier, |
| @@ -31,46 +31,46 @@ namespace WixToolset.Data.Tuples | |||
| 31 | FeatureRef, | 31 | FeatureRef, |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public class PublishComponentTuple : IntermediateTuple | 34 | public class PublishComponentSymbol : IntermediateSymbol |
| 35 | { | 35 | { |
| 36 | public PublishComponentTuple() : base(TupleDefinitions.PublishComponent, null, null) | 36 | public PublishComponentSymbol() : base(SymbolDefinitions.PublishComponent, null, null) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public PublishComponentTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.PublishComponent, sourceLineNumber, id) | 40 | public PublishComponentSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.PublishComponent, sourceLineNumber, id) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public IntermediateField this[PublishComponentTupleFields index] => this.Fields[(int)index]; | 44 | public IntermediateField this[PublishComponentSymbolFields index] => this.Fields[(int)index]; |
| 45 | 45 | ||
| 46 | public string ComponentId | 46 | public string ComponentId |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)PublishComponentTupleFields.ComponentId]; | 48 | get => (string)this.Fields[(int)PublishComponentSymbolFields.ComponentId]; |
| 49 | set => this.Set((int)PublishComponentTupleFields.ComponentId, value); | 49 | set => this.Set((int)PublishComponentSymbolFields.ComponentId, value); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | public string Qualifier | 52 | public string Qualifier |
| 53 | { | 53 | { |
| 54 | get => (string)this.Fields[(int)PublishComponentTupleFields.Qualifier]; | 54 | get => (string)this.Fields[(int)PublishComponentSymbolFields.Qualifier]; |
| 55 | set => this.Set((int)PublishComponentTupleFields.Qualifier, value); | 55 | set => this.Set((int)PublishComponentSymbolFields.Qualifier, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public string ComponentRef | 58 | public string ComponentRef |
| 59 | { | 59 | { |
| 60 | get => (string)this.Fields[(int)PublishComponentTupleFields.ComponentRef]; | 60 | get => (string)this.Fields[(int)PublishComponentSymbolFields.ComponentRef]; |
| 61 | set => this.Set((int)PublishComponentTupleFields.ComponentRef, value); | 61 | set => this.Set((int)PublishComponentSymbolFields.ComponentRef, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public string AppData | 64 | public string AppData |
| 65 | { | 65 | { |
| 66 | get => (string)this.Fields[(int)PublishComponentTupleFields.AppData]; | 66 | get => (string)this.Fields[(int)PublishComponentSymbolFields.AppData]; |
| 67 | set => this.Set((int)PublishComponentTupleFields.AppData, value); | 67 | set => this.Set((int)PublishComponentSymbolFields.AppData, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public string FeatureRef | 70 | public string FeatureRef |
| 71 | { | 71 | { |
| 72 | get => (string)this.Fields[(int)PublishComponentTupleFields.FeatureRef]; | 72 | get => (string)this.Fields[(int)PublishComponentSymbolFields.FeatureRef]; |
| 73 | set => this.Set((int)PublishComponentTupleFields.FeatureRef, value); | 73 | set => this.Set((int)PublishComponentSymbolFields.FeatureRef, value); |
| 74 | } | 74 | } |
| 75 | } | 75 | } |
| 76 | } \ No newline at end of file | 76 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/RadioButtonTuple.cs b/src/WixToolset.Data/Tuples/RadioButtonTuple.cs index 2fea402a..6a26e937 100644 --- a/src/WixToolset.Data/Tuples/RadioButtonTuple.cs +++ b/src/WixToolset.Data/Tuples/RadioButtonTuple.cs | |||
| @@ -2,31 +2,31 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 RadioButton = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition RadioButton = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.RadioButton, | 10 | SymbolDefinitionType.RadioButton, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Property), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.Property), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Order), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.Order), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Value), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.Value), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.X), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.X), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Y), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.Y), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Width), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.Width), IntermediateFieldType.Number), |
| 19 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Height), IntermediateFieldType.Number), | 19 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.Height), IntermediateFieldType.Number), |
| 20 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Text), IntermediateFieldType.String), | 20 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.Text), IntermediateFieldType.String), |
| 21 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Help), IntermediateFieldType.String), | 21 | new IntermediateFieldDefinition(nameof(RadioButtonSymbolFields.Help), IntermediateFieldType.String), |
| 22 | }, | 22 | }, |
| 23 | typeof(RadioButtonTuple)); | 23 | typeof(RadioButtonSymbol)); |
| 24 | } | 24 | } |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | namespace WixToolset.Data.Tuples | 27 | namespace WixToolset.Data.Symbols |
| 28 | { | 28 | { |
| 29 | public enum RadioButtonTupleFields | 29 | public enum RadioButtonSymbolFields |
| 30 | { | 30 | { |
| 31 | Property, | 31 | Property, |
| 32 | Order, | 32 | Order, |
| @@ -39,70 +39,70 @@ namespace WixToolset.Data.Tuples | |||
| 39 | Help, | 39 | Help, |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public class RadioButtonTuple : IntermediateTuple | 42 | public class RadioButtonSymbol : IntermediateSymbol |
| 43 | { | 43 | { |
| 44 | public RadioButtonTuple() : base(TupleDefinitions.RadioButton, null, null) | 44 | public RadioButtonSymbol() : base(SymbolDefinitions.RadioButton, null, null) |
| 45 | { | 45 | { |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public RadioButtonTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.RadioButton, sourceLineNumber, id) | 48 | public RadioButtonSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.RadioButton, sourceLineNumber, id) |
| 49 | { | 49 | { |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | public IntermediateField this[RadioButtonTupleFields index] => this.Fields[(int)index]; | 52 | public IntermediateField this[RadioButtonSymbolFields index] => this.Fields[(int)index]; |
| 53 | 53 | ||
| 54 | public string Property | 54 | public string Property |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)RadioButtonTupleFields.Property]; | 56 | get => (string)this.Fields[(int)RadioButtonSymbolFields.Property]; |
| 57 | set => this.Set((int)RadioButtonTupleFields.Property, value); | 57 | set => this.Set((int)RadioButtonSymbolFields.Property, value); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public int Order | 60 | public int Order |
| 61 | { | 61 | { |
| 62 | get => (int)this.Fields[(int)RadioButtonTupleFields.Order]; | 62 | get => (int)this.Fields[(int)RadioButtonSymbolFields.Order]; |
| 63 | set => this.Set((int)RadioButtonTupleFields.Order, value); | 63 | set => this.Set((int)RadioButtonSymbolFields.Order, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public string Value | 66 | public string Value |
| 67 | { | 67 | { |
| 68 | get => (string)this.Fields[(int)RadioButtonTupleFields.Value]; | 68 | get => (string)this.Fields[(int)RadioButtonSymbolFields.Value]; |
| 69 | set => this.Set((int)RadioButtonTupleFields.Value, value); | 69 | set => this.Set((int)RadioButtonSymbolFields.Value, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public int X | 72 | public int X |
| 73 | { | 73 | { |
| 74 | get => (int)this.Fields[(int)RadioButtonTupleFields.X]; | 74 | get => (int)this.Fields[(int)RadioButtonSymbolFields.X]; |
| 75 | set => this.Set((int)RadioButtonTupleFields.X, value); | 75 | set => this.Set((int)RadioButtonSymbolFields.X, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public int Y | 78 | public int Y |
| 79 | { | 79 | { |
| 80 | get => (int)this.Fields[(int)RadioButtonTupleFields.Y]; | 80 | get => (int)this.Fields[(int)RadioButtonSymbolFields.Y]; |
| 81 | set => this.Set((int)RadioButtonTupleFields.Y, value); | 81 | set => this.Set((int)RadioButtonSymbolFields.Y, value); |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | public int Width | 84 | public int Width |
| 85 | { | 85 | { |
| 86 | get => (int)this.Fields[(int)RadioButtonTupleFields.Width]; | 86 | get => (int)this.Fields[(int)RadioButtonSymbolFields.Width]; |
| 87 | set => this.Set((int)RadioButtonTupleFields.Width, value); | 87 | set => this.Set((int)RadioButtonSymbolFields.Width, value); |
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | public int Height | 90 | public int Height |
| 91 | { | 91 | { |
| 92 | get => (int)this.Fields[(int)RadioButtonTupleFields.Height]; | 92 | get => (int)this.Fields[(int)RadioButtonSymbolFields.Height]; |
| 93 | set => this.Set((int)RadioButtonTupleFields.Height, value); | 93 | set => this.Set((int)RadioButtonSymbolFields.Height, value); |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | public string Text | 96 | public string Text |
| 97 | { | 97 | { |
| 98 | get => (string)this.Fields[(int)RadioButtonTupleFields.Text]; | 98 | get => (string)this.Fields[(int)RadioButtonSymbolFields.Text]; |
| 99 | set => this.Set((int)RadioButtonTupleFields.Text, value); | 99 | set => this.Set((int)RadioButtonSymbolFields.Text, value); |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | public string Help | 102 | public string Help |
| 103 | { | 103 | { |
| 104 | get => (string)this.Fields[(int)RadioButtonTupleFields.Help]; | 104 | get => (string)this.Fields[(int)RadioButtonSymbolFields.Help]; |
| 105 | set => this.Set((int)RadioButtonTupleFields.Help, value); | 105 | set => this.Set((int)RadioButtonSymbolFields.Help, value); |
| 106 | } | 106 | } |
| 107 | } | 107 | } |
| 108 | } \ No newline at end of file | 108 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/RegLocatorTuple.cs b/src/WixToolset.Data/Tuples/RegLocatorTuple.cs index 8f358051..bf50dab7 100644 --- a/src/WixToolset.Data/Tuples/RegLocatorTuple.cs +++ b/src/WixToolset.Data/Tuples/RegLocatorTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 RegLocator = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition RegLocator = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.RegLocator, | 10 | SymbolDefinitionType.RegLocator, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(RegLocatorTupleFields.Root), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(RegLocatorSymbolFields.Root), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(RegLocatorTupleFields.Key), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(RegLocatorSymbolFields.Key), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(RegLocatorTupleFields.Name), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(RegLocatorSymbolFields.Name), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(RegLocatorTupleFields.Type), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(RegLocatorSymbolFields.Type), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(RegLocatorTupleFields.Win64), IntermediateFieldType.Bool), | 17 | new IntermediateFieldDefinition(nameof(RegLocatorSymbolFields.Win64), IntermediateFieldType.Bool), |
| 18 | }, | 18 | }, |
| 19 | typeof(RegLocatorTuple)); | 19 | typeof(RegLocatorSymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | public enum RegLocatorTupleFields | 25 | public enum RegLocatorSymbolFields |
| 26 | { | 26 | { |
| 27 | Root, | 27 | Root, |
| 28 | Key, | 28 | Key, |
| @@ -38,46 +38,46 @@ namespace WixToolset.Data.Tuples | |||
| 38 | Raw | 38 | Raw |
| 39 | }; | 39 | }; |
| 40 | 40 | ||
| 41 | public class RegLocatorTuple : IntermediateTuple | 41 | public class RegLocatorSymbol : IntermediateSymbol |
| 42 | { | 42 | { |
| 43 | public RegLocatorTuple() : base(TupleDefinitions.RegLocator, null, null) | 43 | public RegLocatorSymbol() : base(SymbolDefinitions.RegLocator, null, null) |
| 44 | { | 44 | { |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | public RegLocatorTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.RegLocator, sourceLineNumber, id) | 47 | public RegLocatorSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.RegLocator, sourceLineNumber, id) |
| 48 | { | 48 | { |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | public IntermediateField this[RegLocatorTupleFields index] => this.Fields[(int)index]; | 51 | public IntermediateField this[RegLocatorSymbolFields index] => this.Fields[(int)index]; |
| 52 | 52 | ||
| 53 | public RegistryRootType Root | 53 | public RegistryRootType Root |
| 54 | { | 54 | { |
| 55 | get => (RegistryRootType)this.Fields[(int)RegLocatorTupleFields.Root].AsNumber(); | 55 | get => (RegistryRootType)this.Fields[(int)RegLocatorSymbolFields.Root].AsNumber(); |
| 56 | set => this.Set((int)RegLocatorTupleFields.Root, (int)value); | 56 | set => this.Set((int)RegLocatorSymbolFields.Root, (int)value); |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | public string Key | 59 | public string Key |
| 60 | { | 60 | { |
| 61 | get => (string)this.Fields[(int)RegLocatorTupleFields.Key]; | 61 | get => (string)this.Fields[(int)RegLocatorSymbolFields.Key]; |
| 62 | set => this.Set((int)RegLocatorTupleFields.Key, value); | 62 | set => this.Set((int)RegLocatorSymbolFields.Key, value); |
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | public string Name | 65 | public string Name |
| 66 | { | 66 | { |
| 67 | get => (string)this.Fields[(int)RegLocatorTupleFields.Name]; | 67 | get => (string)this.Fields[(int)RegLocatorSymbolFields.Name]; |
| 68 | set => this.Set((int)RegLocatorTupleFields.Name, value); | 68 | set => this.Set((int)RegLocatorSymbolFields.Name, value); |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | public RegLocatorType Type | 71 | public RegLocatorType Type |
| 72 | { | 72 | { |
| 73 | get => (RegLocatorType)this.Fields[(int)RegLocatorTupleFields.Type].AsNumber(); | 73 | get => (RegLocatorType)this.Fields[(int)RegLocatorSymbolFields.Type].AsNumber(); |
| 74 | set => this.Set((int)RegLocatorTupleFields.Type, (int)value); | 74 | set => this.Set((int)RegLocatorSymbolFields.Type, (int)value); |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | public bool Win64 | 77 | public bool Win64 |
| 78 | { | 78 | { |
| 79 | get => this.Fields[(int)RegLocatorTupleFields.Win64].AsBool(); | 79 | get => this.Fields[(int)RegLocatorSymbolFields.Win64].AsBool(); |
| 80 | set => this.Set((int)RegLocatorTupleFields.Win64, value); | 80 | set => this.Set((int)RegLocatorSymbolFields.Win64, value); |
| 81 | } | 81 | } |
| 82 | } | 82 | } |
| 83 | } | 83 | } |
diff --git a/src/WixToolset.Data/Tuples/RegistryRootType.cs b/src/WixToolset.Data/Tuples/RegistryRootType.cs index b037ca63..9f60727c 100644 --- a/src/WixToolset.Data/Tuples/RegistryRootType.cs +++ b/src/WixToolset.Data/Tuples/RegistryRootType.cs | |||
| @@ -1,6 +1,6 @@ | |||
| 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 | ||
| 3 | namespace WixToolset.Data.Tuples | 3 | namespace WixToolset.Data.Symbols |
| 4 | { | 4 | { |
| 5 | using System; | 5 | using System; |
| 6 | 6 | ||
diff --git a/src/WixToolset.Data/Tuples/RegistryTuple.cs b/src/WixToolset.Data/Tuples/RegistryTuple.cs index 152d1341..371bfe98 100644 --- a/src/WixToolset.Data/Tuples/RegistryTuple.cs +++ b/src/WixToolset.Data/Tuples/RegistryTuple.cs | |||
| @@ -2,29 +2,29 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Registry = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Registry = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Registry, | 10 | SymbolDefinitionType.Registry, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(RegistryTupleFields.Root), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(RegistrySymbolFields.Root), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(RegistryTupleFields.Key), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(RegistrySymbolFields.Key), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(RegistryTupleFields.Name), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(RegistrySymbolFields.Name), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(RegistryTupleFields.Value), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(RegistrySymbolFields.Value), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(RegistryTupleFields.ValueType), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(RegistrySymbolFields.ValueType), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(RegistryTupleFields.ValueAction), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(RegistrySymbolFields.ValueAction), IntermediateFieldType.Number), |
| 19 | new IntermediateFieldDefinition(nameof(RegistryTupleFields.ComponentRef), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(RegistrySymbolFields.ComponentRef), IntermediateFieldType.String), |
| 20 | }, | 20 | }, |
| 21 | typeof(RegistryTuple)); | 21 | typeof(RegistrySymbol)); |
| 22 | } | 22 | } |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | namespace WixToolset.Data.Tuples | 25 | namespace WixToolset.Data.Symbols |
| 26 | { | 26 | { |
| 27 | public enum RegistryTupleFields | 27 | public enum RegistrySymbolFields |
| 28 | { | 28 | { |
| 29 | Root, | 29 | Root, |
| 30 | Key, | 30 | Key, |
| @@ -51,58 +51,58 @@ namespace WixToolset.Data.Tuples | |||
| 51 | Prepend, | 51 | Prepend, |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public class RegistryTuple : IntermediateTuple | 54 | public class RegistrySymbol : IntermediateSymbol |
| 55 | { | 55 | { |
| 56 | public RegistryTuple() : base(TupleDefinitions.Registry, null, null) | 56 | public RegistrySymbol() : base(SymbolDefinitions.Registry, null, null) |
| 57 | { | 57 | { |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public RegistryTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Registry, sourceLineNumber, id) | 60 | public RegistrySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Registry, sourceLineNumber, id) |
| 61 | { | 61 | { |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public IntermediateField this[RegistryTupleFields index] => this.Fields[(int)index]; | 64 | public IntermediateField this[RegistrySymbolFields index] => this.Fields[(int)index]; |
| 65 | 65 | ||
| 66 | public RegistryRootType Root | 66 | public RegistryRootType Root |
| 67 | { | 67 | { |
| 68 | get => (RegistryRootType)this.Fields[(int)RegistryTupleFields.Root].AsNumber(); | 68 | get => (RegistryRootType)this.Fields[(int)RegistrySymbolFields.Root].AsNumber(); |
| 69 | set => this.Set((int)RegistryTupleFields.Root, (int)value); | 69 | set => this.Set((int)RegistrySymbolFields.Root, (int)value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public string Key | 72 | public string Key |
| 73 | { | 73 | { |
| 74 | get => (string)this.Fields[(int)RegistryTupleFields.Key]; | 74 | get => (string)this.Fields[(int)RegistrySymbolFields.Key]; |
| 75 | set => this.Set((int)RegistryTupleFields.Key, value); | 75 | set => this.Set((int)RegistrySymbolFields.Key, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public string Name | 78 | public string Name |
| 79 | { | 79 | { |
| 80 | get => (string)this.Fields[(int)RegistryTupleFields.Name]; | 80 | get => (string)this.Fields[(int)RegistrySymbolFields.Name]; |
| 81 | set => this.Set((int)RegistryTupleFields.Name, value); | 81 | set => this.Set((int)RegistrySymbolFields.Name, value); |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | public string Value | 84 | public string Value |
| 85 | { | 85 | { |
| 86 | get => this.Fields[(int)RegistryTupleFields.Value].AsString(); | 86 | get => this.Fields[(int)RegistrySymbolFields.Value].AsString(); |
| 87 | set => this.Set((int)RegistryTupleFields.Value, value); | 87 | set => this.Set((int)RegistrySymbolFields.Value, value); |
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | public RegistryValueType ValueType | 90 | public RegistryValueType ValueType |
| 91 | { | 91 | { |
| 92 | get => (RegistryValueType)this.Fields[(int)RegistryTupleFields.ValueType].AsNumber(); | 92 | get => (RegistryValueType)this.Fields[(int)RegistrySymbolFields.ValueType].AsNumber(); |
| 93 | set => this.Set((int)RegistryTupleFields.ValueType, (int)value); | 93 | set => this.Set((int)RegistrySymbolFields.ValueType, (int)value); |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | public RegistryValueActionType ValueAction | 96 | public RegistryValueActionType ValueAction |
| 97 | { | 97 | { |
| 98 | get => (RegistryValueActionType)this.Fields[(int)RegistryTupleFields.ValueAction].AsNumber(); | 98 | get => (RegistryValueActionType)this.Fields[(int)RegistrySymbolFields.ValueAction].AsNumber(); |
| 99 | set => this.Set((int)RegistryTupleFields.ValueAction, (int)value); | 99 | set => this.Set((int)RegistrySymbolFields.ValueAction, (int)value); |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | public string ComponentRef | 102 | public string ComponentRef |
| 103 | { | 103 | { |
| 104 | get => (string)this.Fields[(int)RegistryTupleFields.ComponentRef]; | 104 | get => (string)this.Fields[(int)RegistrySymbolFields.ComponentRef]; |
| 105 | set => this.Set((int)RegistryTupleFields.ComponentRef, value); | 105 | set => this.Set((int)RegistrySymbolFields.ComponentRef, value); |
| 106 | } | 106 | } |
| 107 | } | 107 | } |
| 108 | } \ No newline at end of file | 108 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/RemoveFileTuple.cs b/src/WixToolset.Data/Tuples/RemoveFileTuple.cs index d0b3268a..a1791e54 100644 --- a/src/WixToolset.Data/Tuples/RemoveFileTuple.cs +++ b/src/WixToolset.Data/Tuples/RemoveFileTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 RemoveFile = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition RemoveFile = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.RemoveFile, | 10 | SymbolDefinitionType.RemoveFile, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(RemoveFileTupleFields.ComponentRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(RemoveFileSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(RemoveFileTupleFields.FileName), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(RemoveFileSymbolFields.FileName), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(RemoveFileTupleFields.DirProperty), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(RemoveFileSymbolFields.DirProperty), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(RemoveFileTupleFields.OnInstall), IntermediateFieldType.Bool), | 16 | new IntermediateFieldDefinition(nameof(RemoveFileSymbolFields.OnInstall), IntermediateFieldType.Bool), |
| 17 | new IntermediateFieldDefinition(nameof(RemoveFileTupleFields.OnUninstall), IntermediateFieldType.Bool), | 17 | new IntermediateFieldDefinition(nameof(RemoveFileSymbolFields.OnUninstall), IntermediateFieldType.Bool), |
| 18 | }, | 18 | }, |
| 19 | typeof(RemoveFileTuple)); | 19 | typeof(RemoveFileSymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | public enum RemoveFileTupleFields | 25 | public enum RemoveFileSymbolFields |
| 26 | { | 26 | { |
| 27 | ComponentRef, | 27 | ComponentRef, |
| 28 | FileName, | 28 | FileName, |
| @@ -31,46 +31,46 @@ namespace WixToolset.Data.Tuples | |||
| 31 | OnUninstall, | 31 | OnUninstall, |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public class RemoveFileTuple : IntermediateTuple | 34 | public class RemoveFileSymbol : IntermediateSymbol |
| 35 | { | 35 | { |
| 36 | public RemoveFileTuple() : base(TupleDefinitions.RemoveFile, null, null) | 36 | public RemoveFileSymbol() : base(SymbolDefinitions.RemoveFile, null, null) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public RemoveFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.RemoveFile, sourceLineNumber, id) | 40 | public RemoveFileSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.RemoveFile, sourceLineNumber, id) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public IntermediateField this[RemoveFileTupleFields index] => this.Fields[(int)index]; | 44 | public IntermediateField this[RemoveFileSymbolFields index] => this.Fields[(int)index]; |
| 45 | 45 | ||
| 46 | public string ComponentRef | 46 | public string ComponentRef |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)RemoveFileTupleFields.ComponentRef]; | 48 | get => (string)this.Fields[(int)RemoveFileSymbolFields.ComponentRef]; |
| 49 | set => this.Set((int)RemoveFileTupleFields.ComponentRef, value); | 49 | set => this.Set((int)RemoveFileSymbolFields.ComponentRef, value); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | public string FileName | 52 | public string FileName |
| 53 | { | 53 | { |
| 54 | get => (string)this.Fields[(int)RemoveFileTupleFields.FileName]; | 54 | get => (string)this.Fields[(int)RemoveFileSymbolFields.FileName]; |
| 55 | set => this.Set((int)RemoveFileTupleFields.FileName, value); | 55 | set => this.Set((int)RemoveFileSymbolFields.FileName, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public string DirProperty | 58 | public string DirProperty |
| 59 | { | 59 | { |
| 60 | get => (string)this.Fields[(int)RemoveFileTupleFields.DirProperty]; | 60 | get => (string)this.Fields[(int)RemoveFileSymbolFields.DirProperty]; |
| 61 | set => this.Set((int)RemoveFileTupleFields.DirProperty, value); | 61 | set => this.Set((int)RemoveFileSymbolFields.DirProperty, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public bool? OnInstall | 64 | public bool? OnInstall |
| 65 | { | 65 | { |
| 66 | get => (bool?)this.Fields[(int)RemoveFileTupleFields.OnInstall]; | 66 | get => (bool?)this.Fields[(int)RemoveFileSymbolFields.OnInstall]; |
| 67 | set => this.Set((int)RemoveFileTupleFields.OnInstall, value); | 67 | set => this.Set((int)RemoveFileSymbolFields.OnInstall, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public bool? OnUninstall | 70 | public bool? OnUninstall |
| 71 | { | 71 | { |
| 72 | get => (bool?)this.Fields[(int)RemoveFileTupleFields.OnUninstall]; | 72 | get => (bool?)this.Fields[(int)RemoveFileSymbolFields.OnUninstall]; |
| 73 | set => this.Set((int)RemoveFileTupleFields.OnUninstall, value); | 73 | set => this.Set((int)RemoveFileSymbolFields.OnUninstall, value); |
| 74 | } | 74 | } |
| 75 | } | 75 | } |
| 76 | } \ No newline at end of file | 76 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/RemoveRegistryTuple.cs b/src/WixToolset.Data/Tuples/RemoveRegistryTuple.cs index f4ec17bf..a797cd33 100644 --- a/src/WixToolset.Data/Tuples/RemoveRegistryTuple.cs +++ b/src/WixToolset.Data/Tuples/RemoveRegistryTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 RemoveRegistry = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition RemoveRegistry = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.RemoveRegistry, | 10 | SymbolDefinitionType.RemoveRegistry, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(RemoveRegistryTupleFields.Root), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(RemoveRegistrySymbolFields.Root), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(RemoveRegistryTupleFields.Key), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(RemoveRegistrySymbolFields.Key), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(RemoveRegistryTupleFields.Name), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(RemoveRegistrySymbolFields.Name), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(RemoveRegistryTupleFields.Action), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(RemoveRegistrySymbolFields.Action), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(RemoveRegistryTupleFields.ComponentRef), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(RemoveRegistrySymbolFields.ComponentRef), IntermediateFieldType.String), |
| 18 | }, | 18 | }, |
| 19 | typeof(RemoveRegistryTuple)); | 19 | typeof(RemoveRegistrySymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | public enum RemoveRegistryTupleFields | 25 | public enum RemoveRegistrySymbolFields |
| 26 | { | 26 | { |
| 27 | Root, | 27 | Root, |
| 28 | Key, | 28 | Key, |
| @@ -37,46 +37,46 @@ namespace WixToolset.Data.Tuples | |||
| 37 | RemoveOnUninstall | 37 | RemoveOnUninstall |
| 38 | }; | 38 | }; |
| 39 | 39 | ||
| 40 | public class RemoveRegistryTuple : IntermediateTuple | 40 | public class RemoveRegistrySymbol : IntermediateSymbol |
| 41 | { | 41 | { |
| 42 | public RemoveRegistryTuple() : base(TupleDefinitions.RemoveRegistry, null, null) | 42 | public RemoveRegistrySymbol() : base(SymbolDefinitions.RemoveRegistry, null, null) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public RemoveRegistryTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.RemoveRegistry, sourceLineNumber, id) | 46 | public RemoveRegistrySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.RemoveRegistry, sourceLineNumber, id) |
| 47 | { | 47 | { |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public IntermediateField this[RemoveRegistryTupleFields index] => this.Fields[(int)index]; | 50 | public IntermediateField this[RemoveRegistrySymbolFields index] => this.Fields[(int)index]; |
| 51 | 51 | ||
| 52 | public RegistryRootType Root | 52 | public RegistryRootType Root |
| 53 | { | 53 | { |
| 54 | get => (RegistryRootType)this.Fields[(int)RemoveRegistryTupleFields.Root].AsNumber(); | 54 | get => (RegistryRootType)this.Fields[(int)RemoveRegistrySymbolFields.Root].AsNumber(); |
| 55 | set => this.Set((int)RemoveRegistryTupleFields.Root, (int)value); | 55 | set => this.Set((int)RemoveRegistrySymbolFields.Root, (int)value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public string Key | 58 | public string Key |
| 59 | { | 59 | { |
| 60 | get => (string)this.Fields[(int)RemoveRegistryTupleFields.Key]; | 60 | get => (string)this.Fields[(int)RemoveRegistrySymbolFields.Key]; |
| 61 | set => this.Set((int)RemoveRegistryTupleFields.Key, value); | 61 | set => this.Set((int)RemoveRegistrySymbolFields.Key, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public string Name | 64 | public string Name |
| 65 | { | 65 | { |
| 66 | get => (string)this.Fields[(int)RemoveRegistryTupleFields.Name]; | 66 | get => (string)this.Fields[(int)RemoveRegistrySymbolFields.Name]; |
| 67 | set => this.Set((int)RemoveRegistryTupleFields.Name, value); | 67 | set => this.Set((int)RemoveRegistrySymbolFields.Name, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public RemoveRegistryActionType Action | 70 | public RemoveRegistryActionType Action |
| 71 | { | 71 | { |
| 72 | get => (RemoveRegistryActionType)this.Fields[(int)RemoveRegistryTupleFields.Action].AsNumber(); | 72 | get => (RemoveRegistryActionType)this.Fields[(int)RemoveRegistrySymbolFields.Action].AsNumber(); |
| 73 | set => this.Set((int)RemoveRegistryTupleFields.Action, (int)value); | 73 | set => this.Set((int)RemoveRegistrySymbolFields.Action, (int)value); |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | public string ComponentRef | 76 | public string ComponentRef |
| 77 | { | 77 | { |
| 78 | get => (string)this.Fields[(int)RemoveRegistryTupleFields.ComponentRef]; | 78 | get => (string)this.Fields[(int)RemoveRegistrySymbolFields.ComponentRef]; |
| 79 | set => this.Set((int)RemoveRegistryTupleFields.ComponentRef, value); | 79 | set => this.Set((int)RemoveRegistrySymbolFields.ComponentRef, value); |
| 80 | } | 80 | } |
| 81 | } | 81 | } |
| 82 | } \ No newline at end of file | 82 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ReserveCostTuple.cs b/src/WixToolset.Data/Tuples/ReserveCostTuple.cs index dbbedb2e..b59dea2f 100644 --- a/src/WixToolset.Data/Tuples/ReserveCostTuple.cs +++ b/src/WixToolset.Data/Tuples/ReserveCostTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ReserveCost = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ReserveCost = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ReserveCost, | 10 | SymbolDefinitionType.ReserveCost, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ReserveCostTupleFields.ComponentRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ReserveCostSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ReserveCostTupleFields.ReserveFolder), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ReserveCostSymbolFields.ReserveFolder), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ReserveCostTupleFields.ReserveLocal), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(ReserveCostSymbolFields.ReserveLocal), IntermediateFieldType.Number), |
| 16 | new IntermediateFieldDefinition(nameof(ReserveCostTupleFields.ReserveSource), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(ReserveCostSymbolFields.ReserveSource), IntermediateFieldType.Number), |
| 17 | }, | 17 | }, |
| 18 | typeof(ReserveCostTuple)); | 18 | typeof(ReserveCostSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum ReserveCostTupleFields | 24 | public enum ReserveCostSymbolFields |
| 25 | { | 25 | { |
| 26 | ComponentRef, | 26 | ComponentRef, |
| 27 | ReserveFolder, | 27 | ReserveFolder, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | ReserveSource, | 29 | ReserveSource, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class ReserveCostTuple : IntermediateTuple | 32 | public class ReserveCostSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public ReserveCostTuple() : base(TupleDefinitions.ReserveCost, null, null) | 34 | public ReserveCostSymbol() : base(SymbolDefinitions.ReserveCost, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public ReserveCostTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ReserveCost, sourceLineNumber, id) | 38 | public ReserveCostSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ReserveCost, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[ReserveCostTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[ReserveCostSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string ComponentRef | 44 | public string ComponentRef |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)ReserveCostTupleFields.ComponentRef]; | 46 | get => (string)this.Fields[(int)ReserveCostSymbolFields.ComponentRef]; |
| 47 | set => this.Set((int)ReserveCostTupleFields.ComponentRef, value); | 47 | set => this.Set((int)ReserveCostSymbolFields.ComponentRef, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string ReserveFolder | 50 | public string ReserveFolder |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)ReserveCostTupleFields.ReserveFolder]; | 52 | get => (string)this.Fields[(int)ReserveCostSymbolFields.ReserveFolder]; |
| 53 | set => this.Set((int)ReserveCostTupleFields.ReserveFolder, value); | 53 | set => this.Set((int)ReserveCostSymbolFields.ReserveFolder, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public int ReserveLocal | 56 | public int ReserveLocal |
| 57 | { | 57 | { |
| 58 | get => (int)this.Fields[(int)ReserveCostTupleFields.ReserveLocal]; | 58 | get => (int)this.Fields[(int)ReserveCostSymbolFields.ReserveLocal]; |
| 59 | set => this.Set((int)ReserveCostTupleFields.ReserveLocal, value); | 59 | set => this.Set((int)ReserveCostSymbolFields.ReserveLocal, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public int ReserveSource | 62 | public int ReserveSource |
| 63 | { | 63 | { |
| 64 | get => (int)this.Fields[(int)ReserveCostTupleFields.ReserveSource]; | 64 | get => (int)this.Fields[(int)ReserveCostSymbolFields.ReserveSource]; |
| 65 | set => this.Set((int)ReserveCostTupleFields.ReserveSource, value); | 65 | set => this.Set((int)ReserveCostSymbolFields.ReserveSource, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } | 68 | } |
diff --git a/src/WixToolset.Data/Tuples/SFPCatalogTuple.cs b/src/WixToolset.Data/Tuples/SFPCatalogTuple.cs index e80b5cf5..0d3f1558 100644 --- a/src/WixToolset.Data/Tuples/SFPCatalogTuple.cs +++ b/src/WixToolset.Data/Tuples/SFPCatalogTuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 SFPCatalog = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition SFPCatalog = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.SFPCatalog, | 10 | SymbolDefinitionType.SFPCatalog, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(SFPCatalogTupleFields.SFPCatalog), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(SFPCatalogSymbolFields.SFPCatalog), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(SFPCatalogTupleFields.Catalog), IntermediateFieldType.Path), | 14 | new IntermediateFieldDefinition(nameof(SFPCatalogSymbolFields.Catalog), IntermediateFieldType.Path), |
| 15 | new IntermediateFieldDefinition(nameof(SFPCatalogTupleFields.Dependency), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(SFPCatalogSymbolFields.Dependency), IntermediateFieldType.String), |
| 16 | }, | 16 | }, |
| 17 | typeof(SFPCatalogTuple)); | 17 | typeof(SFPCatalogSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum SFPCatalogTupleFields | 23 | public enum SFPCatalogSymbolFields |
| 24 | { | 24 | { |
| 25 | SFPCatalog, | 25 | SFPCatalog, |
| 26 | Catalog, | 26 | Catalog, |
| 27 | Dependency, | 27 | Dependency, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class SFPCatalogTuple : IntermediateTuple | 30 | public class SFPCatalogSymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public SFPCatalogTuple() : base(TupleDefinitions.SFPCatalog, null, null) | 32 | public SFPCatalogSymbol() : base(SymbolDefinitions.SFPCatalog, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public SFPCatalogTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.SFPCatalog, sourceLineNumber, id) | 36 | public SFPCatalogSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.SFPCatalog, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[SFPCatalogTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[SFPCatalogSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string SFPCatalog | 42 | public string SFPCatalog |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)SFPCatalogTupleFields.SFPCatalog]; | 44 | get => (string)this.Fields[(int)SFPCatalogSymbolFields.SFPCatalog]; |
| 45 | set => this.Set((int)SFPCatalogTupleFields.SFPCatalog, value); | 45 | set => this.Set((int)SFPCatalogSymbolFields.SFPCatalog, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public string Catalog | 48 | public string Catalog |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)SFPCatalogTupleFields.Catalog]; | 50 | get => (string)this.Fields[(int)SFPCatalogSymbolFields.Catalog]; |
| 51 | set => this.Set((int)SFPCatalogTupleFields.Catalog, value); | 51 | set => this.Set((int)SFPCatalogSymbolFields.Catalog, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string Dependency | 54 | public string Dependency |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)SFPCatalogTupleFields.Dependency]; | 56 | get => (string)this.Fields[(int)SFPCatalogSymbolFields.Dependency]; |
| 57 | set => this.Set((int)SFPCatalogTupleFields.Dependency, value); | 57 | set => this.Set((int)SFPCatalogSymbolFields.Dependency, value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ServiceControlTuple.cs b/src/WixToolset.Data/Tuples/ServiceControlTuple.cs index e34de0df..6e129681 100644 --- a/src/WixToolset.Data/Tuples/ServiceControlTuple.cs +++ b/src/WixToolset.Data/Tuples/ServiceControlTuple.cs | |||
| @@ -2,32 +2,32 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ServiceControl = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ServiceControl = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ServiceControl, | 10 | SymbolDefinitionType.ServiceControl, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ServiceControlTupleFields.Name), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ServiceControlSymbolFields.Name), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ServiceControlTupleFields.InstallRemove), IntermediateFieldType.Bool), | 14 | new IntermediateFieldDefinition(nameof(ServiceControlSymbolFields.InstallRemove), IntermediateFieldType.Bool), |
| 15 | new IntermediateFieldDefinition(nameof(ServiceControlTupleFields.UninstallRemove), IntermediateFieldType.Bool), | 15 | new IntermediateFieldDefinition(nameof(ServiceControlSymbolFields.UninstallRemove), IntermediateFieldType.Bool), |
| 16 | new IntermediateFieldDefinition(nameof(ServiceControlTupleFields.InstallStart), IntermediateFieldType.Bool), | 16 | new IntermediateFieldDefinition(nameof(ServiceControlSymbolFields.InstallStart), IntermediateFieldType.Bool), |
| 17 | new IntermediateFieldDefinition(nameof(ServiceControlTupleFields.UninstallStart), IntermediateFieldType.Bool), | 17 | new IntermediateFieldDefinition(nameof(ServiceControlSymbolFields.UninstallStart), IntermediateFieldType.Bool), |
| 18 | new IntermediateFieldDefinition(nameof(ServiceControlTupleFields.InstallStop), IntermediateFieldType.Bool), | 18 | new IntermediateFieldDefinition(nameof(ServiceControlSymbolFields.InstallStop), IntermediateFieldType.Bool), |
| 19 | new IntermediateFieldDefinition(nameof(ServiceControlTupleFields.UninstallStop), IntermediateFieldType.Bool), | 19 | new IntermediateFieldDefinition(nameof(ServiceControlSymbolFields.UninstallStop), IntermediateFieldType.Bool), |
| 20 | new IntermediateFieldDefinition(nameof(ServiceControlTupleFields.Arguments), IntermediateFieldType.String), | 20 | new IntermediateFieldDefinition(nameof(ServiceControlSymbolFields.Arguments), IntermediateFieldType.String), |
| 21 | new IntermediateFieldDefinition(nameof(ServiceControlTupleFields.Wait), IntermediateFieldType.Bool), | 21 | new IntermediateFieldDefinition(nameof(ServiceControlSymbolFields.Wait), IntermediateFieldType.Bool), |
| 22 | new IntermediateFieldDefinition(nameof(ServiceControlTupleFields.ComponentRef), IntermediateFieldType.String), | 22 | new IntermediateFieldDefinition(nameof(ServiceControlSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 23 | }, | 23 | }, |
| 24 | typeof(ServiceControlTuple)); | 24 | typeof(ServiceControlSymbol)); |
| 25 | } | 25 | } |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | namespace WixToolset.Data.Tuples | 28 | namespace WixToolset.Data.Symbols |
| 29 | { | 29 | { |
| 30 | public enum ServiceControlTupleFields | 30 | public enum ServiceControlSymbolFields |
| 31 | { | 31 | { |
| 32 | Name, | 32 | Name, |
| 33 | InstallRemove, | 33 | InstallRemove, |
| @@ -41,76 +41,76 @@ namespace WixToolset.Data.Tuples | |||
| 41 | ComponentRef, | 41 | ComponentRef, |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public class ServiceControlTuple : IntermediateTuple | 44 | public class ServiceControlSymbol : IntermediateSymbol |
| 45 | { | 45 | { |
| 46 | public ServiceControlTuple() : base(TupleDefinitions.ServiceControl, null, null) | 46 | public ServiceControlSymbol() : base(SymbolDefinitions.ServiceControl, null, null) |
| 47 | { | 47 | { |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public ServiceControlTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ServiceControl, sourceLineNumber, id) | 50 | public ServiceControlSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ServiceControl, sourceLineNumber, id) |
| 51 | { | 51 | { |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public IntermediateField this[ServiceControlTupleFields index] => this.Fields[(int)index]; | 54 | public IntermediateField this[ServiceControlSymbolFields index] => this.Fields[(int)index]; |
| 55 | 55 | ||
| 56 | public string Name | 56 | public string Name |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)ServiceControlTupleFields.Name]; | 58 | get => (string)this.Fields[(int)ServiceControlSymbolFields.Name]; |
| 59 | set => this.Set((int)ServiceControlTupleFields.Name, value); | 59 | set => this.Set((int)ServiceControlSymbolFields.Name, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public bool InstallRemove | 62 | public bool InstallRemove |
| 63 | { | 63 | { |
| 64 | get => this.Fields[(int)ServiceControlTupleFields.InstallRemove].AsBool(); | 64 | get => this.Fields[(int)ServiceControlSymbolFields.InstallRemove].AsBool(); |
| 65 | set => this.Set((int)ServiceControlTupleFields.InstallRemove, value); | 65 | set => this.Set((int)ServiceControlSymbolFields.InstallRemove, value); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public bool UninstallRemove | 68 | public bool UninstallRemove |
| 69 | { | 69 | { |
| 70 | get => this.Fields[(int)ServiceControlTupleFields.UninstallRemove].AsBool(); | 70 | get => this.Fields[(int)ServiceControlSymbolFields.UninstallRemove].AsBool(); |
| 71 | set => this.Set((int)ServiceControlTupleFields.UninstallRemove, value); | 71 | set => this.Set((int)ServiceControlSymbolFields.UninstallRemove, value); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public bool InstallStart | 74 | public bool InstallStart |
| 75 | { | 75 | { |
| 76 | get => this.Fields[(int)ServiceControlTupleFields.InstallStart].AsBool(); | 76 | get => this.Fields[(int)ServiceControlSymbolFields.InstallStart].AsBool(); |
| 77 | set => this.Set((int)ServiceControlTupleFields.InstallStart, value); | 77 | set => this.Set((int)ServiceControlSymbolFields.InstallStart, value); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public bool UninstallStart | 80 | public bool UninstallStart |
| 81 | { | 81 | { |
| 82 | get => this.Fields[(int)ServiceControlTupleFields.UninstallStart].AsBool(); | 82 | get => this.Fields[(int)ServiceControlSymbolFields.UninstallStart].AsBool(); |
| 83 | set => this.Set((int)ServiceControlTupleFields.UninstallStart, value); | 83 | set => this.Set((int)ServiceControlSymbolFields.UninstallStart, value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public bool InstallStop | 86 | public bool InstallStop |
| 87 | { | 87 | { |
| 88 | get => this.Fields[(int)ServiceControlTupleFields.InstallStop].AsBool(); | 88 | get => this.Fields[(int)ServiceControlSymbolFields.InstallStop].AsBool(); |
| 89 | set => this.Set((int)ServiceControlTupleFields.InstallStop, value); | 89 | set => this.Set((int)ServiceControlSymbolFields.InstallStop, value); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | public bool UninstallStop | 92 | public bool UninstallStop |
| 93 | { | 93 | { |
| 94 | get => this.Fields[(int)ServiceControlTupleFields.UninstallStop].AsBool(); | 94 | get => this.Fields[(int)ServiceControlSymbolFields.UninstallStop].AsBool(); |
| 95 | set => this.Set((int)ServiceControlTupleFields.UninstallStop, value); | 95 | set => this.Set((int)ServiceControlSymbolFields.UninstallStop, value); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | public string Arguments | 98 | public string Arguments |
| 99 | { | 99 | { |
| 100 | get => (string)this.Fields[(int)ServiceControlTupleFields.Arguments]; | 100 | get => (string)this.Fields[(int)ServiceControlSymbolFields.Arguments]; |
| 101 | set => this.Set((int)ServiceControlTupleFields.Arguments, value); | 101 | set => this.Set((int)ServiceControlSymbolFields.Arguments, value); |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | public bool? Wait | 104 | public bool? Wait |
| 105 | { | 105 | { |
| 106 | get => this.Fields[(int)ServiceControlTupleFields.Wait].AsNullableBool(); | 106 | get => this.Fields[(int)ServiceControlSymbolFields.Wait].AsNullableBool(); |
| 107 | set => this.Set((int)ServiceControlTupleFields.Wait, value); | 107 | set => this.Set((int)ServiceControlSymbolFields.Wait, value); |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | public string ComponentRef | 110 | public string ComponentRef |
| 111 | { | 111 | { |
| 112 | get => (string)this.Fields[(int)ServiceControlTupleFields.ComponentRef]; | 112 | get => (string)this.Fields[(int)ServiceControlSymbolFields.ComponentRef]; |
| 113 | set => this.Set((int)ServiceControlTupleFields.ComponentRef, value); | 113 | set => this.Set((int)ServiceControlSymbolFields.ComponentRef, value); |
| 114 | } | 114 | } |
| 115 | } | 115 | } |
| 116 | } \ No newline at end of file | 116 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ServiceInstallTuple.cs b/src/WixToolset.Data/Tuples/ServiceInstallTuple.cs index 9bf9afd2..f7ec8dbf 100644 --- a/src/WixToolset.Data/Tuples/ServiceInstallTuple.cs +++ b/src/WixToolset.Data/Tuples/ServiceInstallTuple.cs | |||
| @@ -2,36 +2,36 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 ServiceInstall = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition ServiceInstall = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.ServiceInstall, | 10 | SymbolDefinitionType.ServiceInstall, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Name), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.Name), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.DisplayName), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.DisplayName), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.ServiceType), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.ServiceType), IntermediateFieldType.Number), |
| 16 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.StartType), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.StartType), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.ErrorControl), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.ErrorControl), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.LoadOrderGroup), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.LoadOrderGroup), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Dependencies), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.Dependencies), IntermediateFieldType.String), |
| 20 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.StartName), IntermediateFieldType.String), | 20 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.StartName), IntermediateFieldType.String), |
| 21 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Password), IntermediateFieldType.String), | 21 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.Password), IntermediateFieldType.String), |
| 22 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Arguments), IntermediateFieldType.String), | 22 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.Arguments), IntermediateFieldType.String), |
| 23 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.ComponentRef), IntermediateFieldType.String), | 23 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 24 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Description), IntermediateFieldType.String), | 24 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.Description), IntermediateFieldType.String), |
| 25 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Interactive), IntermediateFieldType.Bool), | 25 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.Interactive), IntermediateFieldType.Bool), |
| 26 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Vital), IntermediateFieldType.Bool), | 26 | new IntermediateFieldDefinition(nameof(ServiceInstallSymbolFields.Vital), IntermediateFieldType.Bool), |
| 27 | }, | 27 | }, |
| 28 | typeof(ServiceInstallTuple)); | 28 | typeof(ServiceInstallSymbol)); |
| 29 | } | 29 | } |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | namespace WixToolset.Data.Tuples | 32 | namespace WixToolset.Data.Symbols |
| 33 | { | 33 | { |
| 34 | public enum ServiceInstallTupleFields | 34 | public enum ServiceInstallSymbolFields |
| 35 | { | 35 | { |
| 36 | Name, | 36 | Name, |
| 37 | DisplayName, | 37 | DisplayName, |
| @@ -74,100 +74,100 @@ namespace WixToolset.Data.Tuples | |||
| 74 | Critical = 3, | 74 | Critical = 3, |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | public class ServiceInstallTuple : IntermediateTuple | 77 | public class ServiceInstallSymbol : IntermediateSymbol |
| 78 | { | 78 | { |
| 79 | public ServiceInstallTuple() : base(TupleDefinitions.ServiceInstall, null, null) | 79 | public ServiceInstallSymbol() : base(SymbolDefinitions.ServiceInstall, null, null) |
| 80 | { | 80 | { |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | public ServiceInstallTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ServiceInstall, sourceLineNumber, id) | 83 | public ServiceInstallSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.ServiceInstall, sourceLineNumber, id) |
| 84 | { | 84 | { |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | public IntermediateField this[ServiceInstallTupleFields index] => this.Fields[(int)index]; | 87 | public IntermediateField this[ServiceInstallSymbolFields index] => this.Fields[(int)index]; |
| 88 | 88 | ||
| 89 | public string Name | 89 | public string Name |
| 90 | { | 90 | { |
| 91 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Name]; | 91 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.Name]; |
| 92 | set => this.Set((int)ServiceInstallTupleFields.Name, value); | 92 | set => this.Set((int)ServiceInstallSymbolFields.Name, value); |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | public string DisplayName | 95 | public string DisplayName |
| 96 | { | 96 | { |
| 97 | get => (string)this.Fields[(int)ServiceInstallTupleFields.DisplayName]; | 97 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.DisplayName]; |
| 98 | set => this.Set((int)ServiceInstallTupleFields.DisplayName, value); | 98 | set => this.Set((int)ServiceInstallSymbolFields.DisplayName, value); |
| 99 | } | 99 | } |
| 100 | 100 | ||
| 101 | public ServiceType ServiceType | 101 | public ServiceType ServiceType |
| 102 | { | 102 | { |
| 103 | get => (ServiceType)this.Fields[(int)ServiceInstallTupleFields.ServiceType].AsNumber(); | 103 | get => (ServiceType)this.Fields[(int)ServiceInstallSymbolFields.ServiceType].AsNumber(); |
| 104 | set => this.Set((int)ServiceInstallTupleFields.ServiceType, (int)value); | 104 | set => this.Set((int)ServiceInstallSymbolFields.ServiceType, (int)value); |
| 105 | } | 105 | } |
| 106 | 106 | ||
| 107 | public ServiceStartType StartType | 107 | public ServiceStartType StartType |
| 108 | { | 108 | { |
| 109 | get => (ServiceStartType)this.Fields[(int)ServiceInstallTupleFields.StartType].AsNumber(); | 109 | get => (ServiceStartType)this.Fields[(int)ServiceInstallSymbolFields.StartType].AsNumber(); |
| 110 | set => this.Set((int)ServiceInstallTupleFields.StartType, (int)value); | 110 | set => this.Set((int)ServiceInstallSymbolFields.StartType, (int)value); |
| 111 | } | 111 | } |
| 112 | 112 | ||
| 113 | public ServiceErrorControl ErrorControl | 113 | public ServiceErrorControl ErrorControl |
| 114 | { | 114 | { |
| 115 | get => (ServiceErrorControl)this.Fields[(int)ServiceInstallTupleFields.ErrorControl].AsNumber(); | 115 | get => (ServiceErrorControl)this.Fields[(int)ServiceInstallSymbolFields.ErrorControl].AsNumber(); |
| 116 | set => this.Set((int)ServiceInstallTupleFields.ErrorControl, (int)value); | 116 | set => this.Set((int)ServiceInstallSymbolFields.ErrorControl, (int)value); |
| 117 | } | 117 | } |
| 118 | 118 | ||
| 119 | public string LoadOrderGroup | 119 | public string LoadOrderGroup |
| 120 | { | 120 | { |
| 121 | get => (string)this.Fields[(int)ServiceInstallTupleFields.LoadOrderGroup]; | 121 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.LoadOrderGroup]; |
| 122 | set => this.Set((int)ServiceInstallTupleFields.LoadOrderGroup, value); | 122 | set => this.Set((int)ServiceInstallSymbolFields.LoadOrderGroup, value); |
| 123 | } | 123 | } |
| 124 | 124 | ||
| 125 | public string Dependencies | 125 | public string Dependencies |
| 126 | { | 126 | { |
| 127 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Dependencies]; | 127 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.Dependencies]; |
| 128 | set => this.Set((int)ServiceInstallTupleFields.Dependencies, value); | 128 | set => this.Set((int)ServiceInstallSymbolFields.Dependencies, value); |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | public string StartName | 131 | public string StartName |
| 132 | { | 132 | { |
| 133 | get => (string)this.Fields[(int)ServiceInstallTupleFields.StartName]; | 133 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.StartName]; |
| 134 | set => this.Set((int)ServiceInstallTupleFields.StartName, value); | 134 | set => this.Set((int)ServiceInstallSymbolFields.StartName, value); |
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | public string Password | 137 | public string Password |
| 138 | { | 138 | { |
| 139 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Password]; | 139 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.Password]; |
| 140 | set => this.Set((int)ServiceInstallTupleFields.Password, value); | 140 | set => this.Set((int)ServiceInstallSymbolFields.Password, value); |
| 141 | } | 141 | } |
| 142 | 142 | ||
| 143 | public string Arguments | 143 | public string Arguments |
| 144 | { | 144 | { |
| 145 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Arguments]; | 145 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.Arguments]; |
| 146 | set => this.Set((int)ServiceInstallTupleFields.Arguments, value); | 146 | set => this.Set((int)ServiceInstallSymbolFields.Arguments, value); |
| 147 | } | 147 | } |
| 148 | 148 | ||
| 149 | public string ComponentRef | 149 | public string ComponentRef |
| 150 | { | 150 | { |
| 151 | get => (string)this.Fields[(int)ServiceInstallTupleFields.ComponentRef]; | 151 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.ComponentRef]; |
| 152 | set => this.Set((int)ServiceInstallTupleFields.ComponentRef, value); | 152 | set => this.Set((int)ServiceInstallSymbolFields.ComponentRef, value); |
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | public string Description | 155 | public string Description |
| 156 | { | 156 | { |
| 157 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Description]; | 157 | get => (string)this.Fields[(int)ServiceInstallSymbolFields.Description]; |
| 158 | set => this.Set((int)ServiceInstallTupleFields.Description, value); | 158 | set => this.Set((int)ServiceInstallSymbolFields.Description, value); |
| 159 | } | 159 | } |
| 160 | 160 | ||
| 161 | public bool Interactive | 161 | public bool Interactive |
| 162 | { | 162 | { |
| 163 | get => this.Fields[(int)ServiceInstallTupleFields.Interactive].AsBool(); | 163 | get => this.Fields[(int)ServiceInstallSymbolFields.Interactive].AsBool(); |
| 164 | set => this.Set((int)ServiceInstallTupleFields.Interactive, value); | 164 | set => this.Set((int)ServiceInstallSymbolFields.Interactive, value); |
| 165 | } | 165 | } |
| 166 | 166 | ||
| 167 | public bool Vital | 167 | public bool Vital |
| 168 | { | 168 | { |
| 169 | get => this.Fields[(int)ServiceInstallTupleFields.Vital].AsBool(); | 169 | get => this.Fields[(int)ServiceInstallSymbolFields.Vital].AsBool(); |
| 170 | set => this.Set((int)ServiceInstallTupleFields.Vital, value); | 170 | set => this.Set((int)ServiceInstallSymbolFields.Vital, value); |
| 171 | } | 171 | } |
| 172 | } | 172 | } |
| 173 | } \ No newline at end of file | 173 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/ShortcutTuple.cs b/src/WixToolset.Data/Tuples/ShortcutTuple.cs index 66b98287..f32fe4af 100644 --- a/src/WixToolset.Data/Tuples/ShortcutTuple.cs +++ b/src/WixToolset.Data/Tuples/ShortcutTuple.cs | |||
| @@ -2,38 +2,38 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Shortcut = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Shortcut = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Shortcut, | 10 | SymbolDefinitionType.Shortcut, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.DirectoryRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(ShortcutSymbolFields.DirectoryRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.Name), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ShortcutSymbolFields.Name), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.ShortName), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(ShortcutSymbolFields.ShortName), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.ComponentRef), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ShortcutSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.Target), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(ShortcutSymbolFields.Target), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.Arguments), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(ShortcutSymbolFields.Arguments), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.Description), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(ShortcutSymbolFields.Description), IntermediateFieldType.String), |
| 20 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.Hotkey), IntermediateFieldType.Number), | 20 | new IntermediateFieldDefinition(nameof(ShortcutSymbolFields.Hotkey), IntermediateFieldType.Number), |
| 21 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.IconRef), IntermediateFieldType.String), | 21 | new IntermediateFieldDefinition(nameof(ShortcutSymbolFields.IconRef), IntermediateFieldType.String), |
| 22 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.IconIndex), IntermediateFieldType.Number), | 22 | new IntermediateFieldDefinition(nameof(ShortcutSymbolFields.IconIndex), IntermediateFieldType.Number), |
| 23 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.Show), IntermediateFieldType.Number), | 23 | new IntermediateFieldDefinition(nameof(ShortcutSymbolFields.Show), IntermediateFieldType.Number), |
| 24 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.WkDir), IntermediateFieldType.String), | 24 | new IntermediateFieldDefinition(nameof(ShortcutSymbolFields.WkDir), IntermediateFieldType.String), |
| 25 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.DisplayResourceDLL), IntermediateFieldType.String), | 25 | new IntermediateFieldDefinition(nameof(ShortcutSymbolFields.DisplayResourceDLL), IntermediateFieldType.String), |
| 26 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.DisplayResourceId), IntermediateFieldType.Number), | 26 | new IntermediateFieldDefinition(nameof(ShortcutSymbolFields.DisplayResourceId), IntermediateFieldType.Number), |
| 27 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.DescriptionResourceDLL), IntermediateFieldType.String), | 27 | new IntermediateFieldDefinition(nameof(ShortcutSymbolFields.DescriptionResourceDLL), IntermediateFieldType.String), |
| 28 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.DescriptionResourceId), IntermediateFieldType.Number), | 28 | new IntermediateFieldDefinition(nameof(ShortcutSymbolFields.DescriptionResourceId), IntermediateFieldType.Number), |
| 29 | }, | 29 | }, |
| 30 | typeof(ShortcutTuple)); | 30 | typeof(ShortcutSymbol)); |
| 31 | } | 31 | } |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | namespace WixToolset.Data.Tuples | 34 | namespace WixToolset.Data.Symbols |
| 35 | { | 35 | { |
| 36 | public enum ShortcutTupleFields | 36 | public enum ShortcutSymbolFields |
| 37 | { | 37 | { |
| 38 | DirectoryRef, | 38 | DirectoryRef, |
| 39 | Name, | 39 | Name, |
| @@ -60,112 +60,112 @@ namespace WixToolset.Data.Tuples | |||
| 60 | Minimized = 7 | 60 | Minimized = 7 |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | public class ShortcutTuple : IntermediateTuple | 63 | public class ShortcutSymbol : IntermediateSymbol |
| 64 | { | 64 | { |
| 65 | public ShortcutTuple() : base(TupleDefinitions.Shortcut, null, null) | 65 | public ShortcutSymbol() : base(SymbolDefinitions.Shortcut, null, null) |
| 66 | { | 66 | { |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | public ShortcutTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Shortcut, sourceLineNumber, id) | 69 | public ShortcutSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Shortcut, sourceLineNumber, id) |
| 70 | { | 70 | { |
| 71 | } | 71 | } |
| 72 | 72 | ||
| 73 | public IntermediateField this[ShortcutTupleFields index] => this.Fields[(int)index]; | 73 | public IntermediateField this[ShortcutSymbolFields index] => this.Fields[(int)index]; |
| 74 | 74 | ||
| 75 | public string DirectoryRef | 75 | public string DirectoryRef |
| 76 | { | 76 | { |
| 77 | get => (string)this.Fields[(int)ShortcutTupleFields.DirectoryRef]; | 77 | get => (string)this.Fields[(int)ShortcutSymbolFields.DirectoryRef]; |
| 78 | set => this.Set((int)ShortcutTupleFields.DirectoryRef, value); | 78 | set => this.Set((int)ShortcutSymbolFields.DirectoryRef, value); |
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | public string Name | 81 | public string Name |
| 82 | { | 82 | { |
| 83 | get => (string)this.Fields[(int)ShortcutTupleFields.Name]; | 83 | get => (string)this.Fields[(int)ShortcutSymbolFields.Name]; |
| 84 | set => this.Set((int)ShortcutTupleFields.Name, value); | 84 | set => this.Set((int)ShortcutSymbolFields.Name, value); |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | public string ShortName | 87 | public string ShortName |
| 88 | { | 88 | { |
| 89 | get => (string)this.Fields[(int)ShortcutTupleFields.ShortName]; | 89 | get => (string)this.Fields[(int)ShortcutSymbolFields.ShortName]; |
| 90 | set => this.Set((int)ShortcutTupleFields.ShortName, value); | 90 | set => this.Set((int)ShortcutSymbolFields.ShortName, value); |
| 91 | } | 91 | } |
| 92 | 92 | ||
| 93 | public string ComponentRef | 93 | public string ComponentRef |
| 94 | { | 94 | { |
| 95 | get => (string)this.Fields[(int)ShortcutTupleFields.ComponentRef]; | 95 | get => (string)this.Fields[(int)ShortcutSymbolFields.ComponentRef]; |
| 96 | set => this.Set((int)ShortcutTupleFields.ComponentRef, value); | 96 | set => this.Set((int)ShortcutSymbolFields.ComponentRef, value); |
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | public string Target | 99 | public string Target |
| 100 | { | 100 | { |
| 101 | get => (string)this.Fields[(int)ShortcutTupleFields.Target]; | 101 | get => (string)this.Fields[(int)ShortcutSymbolFields.Target]; |
| 102 | set => this.Set((int)ShortcutTupleFields.Target, value); | 102 | set => this.Set((int)ShortcutSymbolFields.Target, value); |
| 103 | } | 103 | } |
| 104 | 104 | ||
| 105 | public string Arguments | 105 | public string Arguments |
| 106 | { | 106 | { |
| 107 | get => (string)this.Fields[(int)ShortcutTupleFields.Arguments]; | 107 | get => (string)this.Fields[(int)ShortcutSymbolFields.Arguments]; |
| 108 | set => this.Set((int)ShortcutTupleFields.Arguments, value); | 108 | set => this.Set((int)ShortcutSymbolFields.Arguments, value); |
| 109 | } | 109 | } |
| 110 | 110 | ||
| 111 | public string Description | 111 | public string Description |
| 112 | { | 112 | { |
| 113 | get => (string)this.Fields[(int)ShortcutTupleFields.Description]; | 113 | get => (string)this.Fields[(int)ShortcutSymbolFields.Description]; |
| 114 | set => this.Set((int)ShortcutTupleFields.Description, value); | 114 | set => this.Set((int)ShortcutSymbolFields.Description, value); |
| 115 | } | 115 | } |
| 116 | 116 | ||
| 117 | public int? Hotkey | 117 | public int? Hotkey |
| 118 | { | 118 | { |
| 119 | get => this.Fields[(int)ShortcutTupleFields.Hotkey].AsNullableNumber(); | 119 | get => this.Fields[(int)ShortcutSymbolFields.Hotkey].AsNullableNumber(); |
| 120 | set => this.Set((int)ShortcutTupleFields.Hotkey, value); | 120 | set => this.Set((int)ShortcutSymbolFields.Hotkey, value); |
| 121 | } | 121 | } |
| 122 | 122 | ||
| 123 | public string IconRef | 123 | public string IconRef |
| 124 | { | 124 | { |
| 125 | get => (string)this.Fields[(int)ShortcutTupleFields.IconRef]; | 125 | get => (string)this.Fields[(int)ShortcutSymbolFields.IconRef]; |
| 126 | set => this.Set((int)ShortcutTupleFields.IconRef, value); | 126 | set => this.Set((int)ShortcutSymbolFields.IconRef, value); |
| 127 | } | 127 | } |
| 128 | 128 | ||
| 129 | public int? IconIndex | 129 | public int? IconIndex |
| 130 | { | 130 | { |
| 131 | get => this.Fields[(int)ShortcutTupleFields.IconIndex].AsNullableNumber(); | 131 | get => this.Fields[(int)ShortcutSymbolFields.IconIndex].AsNullableNumber(); |
| 132 | set => this.Set((int)ShortcutTupleFields.IconIndex, value); | 132 | set => this.Set((int)ShortcutSymbolFields.IconIndex, value); |
| 133 | } | 133 | } |
| 134 | 134 | ||
| 135 | public ShortcutShowType? Show | 135 | public ShortcutShowType? Show |
| 136 | { | 136 | { |
| 137 | get => (ShortcutShowType?)this.Fields[(int)ShortcutTupleFields.Show].AsNullableNumber(); | 137 | get => (ShortcutShowType?)this.Fields[(int)ShortcutSymbolFields.Show].AsNullableNumber(); |
| 138 | set => this.Set((int)ShortcutTupleFields.Show, (int?)value); | 138 | set => this.Set((int)ShortcutSymbolFields.Show, (int?)value); |
| 139 | } | 139 | } |
| 140 | 140 | ||
| 141 | public string WorkingDirectory | 141 | public string WorkingDirectory |
| 142 | { | 142 | { |
| 143 | get => (string)this.Fields[(int)ShortcutTupleFields.WkDir]; | 143 | get => (string)this.Fields[(int)ShortcutSymbolFields.WkDir]; |
| 144 | set => this.Set((int)ShortcutTupleFields.WkDir, value); | 144 | set => this.Set((int)ShortcutSymbolFields.WkDir, value); |
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | public string DisplayResourceDll | 147 | public string DisplayResourceDll |
| 148 | { | 148 | { |
| 149 | get => (string)this.Fields[(int)ShortcutTupleFields.DisplayResourceDLL]; | 149 | get => (string)this.Fields[(int)ShortcutSymbolFields.DisplayResourceDLL]; |
| 150 | set => this.Set((int)ShortcutTupleFields.DisplayResourceDLL, value); | 150 | set => this.Set((int)ShortcutSymbolFields.DisplayResourceDLL, value); |
| 151 | } | 151 | } |
| 152 | 152 | ||
| 153 | public int? DisplayResourceId | 153 | public int? DisplayResourceId |
| 154 | { | 154 | { |
| 155 | get => this.Fields[(int)ShortcutTupleFields.DisplayResourceId].AsNullableNumber(); | 155 | get => this.Fields[(int)ShortcutSymbolFields.DisplayResourceId].AsNullableNumber(); |
| 156 | set => this.Set((int)ShortcutTupleFields.DisplayResourceId, value); | 156 | set => this.Set((int)ShortcutSymbolFields.DisplayResourceId, value); |
| 157 | } | 157 | } |
| 158 | 158 | ||
| 159 | public string DescriptionResourceDll | 159 | public string DescriptionResourceDll |
| 160 | { | 160 | { |
| 161 | get => (string)this.Fields[(int)ShortcutTupleFields.DescriptionResourceDLL]; | 161 | get => (string)this.Fields[(int)ShortcutSymbolFields.DescriptionResourceDLL]; |
| 162 | set => this.Set((int)ShortcutTupleFields.DescriptionResourceDLL, value); | 162 | set => this.Set((int)ShortcutSymbolFields.DescriptionResourceDLL, value); |
| 163 | } | 163 | } |
| 164 | 164 | ||
| 165 | public int? DescriptionResourceId | 165 | public int? DescriptionResourceId |
| 166 | { | 166 | { |
| 167 | get => this.Fields[(int)ShortcutTupleFields.DescriptionResourceId].AsNullableNumber(); | 167 | get => this.Fields[(int)ShortcutSymbolFields.DescriptionResourceId].AsNullableNumber(); |
| 168 | set => this.Set((int)ShortcutTupleFields.DescriptionResourceId, value); | 168 | set => this.Set((int)ShortcutSymbolFields.DescriptionResourceId, value); |
| 169 | } | 169 | } |
| 170 | } | 170 | } |
| 171 | } | 171 | } |
diff --git a/src/WixToolset.Data/Tuples/SignatureTuple.cs b/src/WixToolset.Data/Tuples/SignatureTuple.cs index ed559f64..fc2ce088 100644 --- a/src/WixToolset.Data/Tuples/SignatureTuple.cs +++ b/src/WixToolset.Data/Tuples/SignatureTuple.cs | |||
| @@ -2,30 +2,30 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Signature = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Signature = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Signature, | 10 | SymbolDefinitionType.Signature, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.FileName), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(SignatureSymbolFields.FileName), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.MinVersion), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(SignatureSymbolFields.MinVersion), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.MaxVersion), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(SignatureSymbolFields.MaxVersion), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.MinSize), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(SignatureSymbolFields.MinSize), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.MaxSize), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(SignatureSymbolFields.MaxSize), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.MinDate), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(SignatureSymbolFields.MinDate), IntermediateFieldType.Number), |
| 19 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.MaxDate), IntermediateFieldType.Number), | 19 | new IntermediateFieldDefinition(nameof(SignatureSymbolFields.MaxDate), IntermediateFieldType.Number), |
| 20 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.Languages), IntermediateFieldType.String), | 20 | new IntermediateFieldDefinition(nameof(SignatureSymbolFields.Languages), IntermediateFieldType.String), |
| 21 | }, | 21 | }, |
| 22 | typeof(SignatureTuple)); | 22 | typeof(SignatureSymbol)); |
| 23 | } | 23 | } |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | namespace WixToolset.Data.Tuples | 26 | namespace WixToolset.Data.Symbols |
| 27 | { | 27 | { |
| 28 | public enum SignatureTupleFields | 28 | public enum SignatureSymbolFields |
| 29 | { | 29 | { |
| 30 | FileName, | 30 | FileName, |
| 31 | MinVersion, | 31 | MinVersion, |
| @@ -37,64 +37,64 @@ namespace WixToolset.Data.Tuples | |||
| 37 | Languages, | 37 | Languages, |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public class SignatureTuple : IntermediateTuple | 40 | public class SignatureSymbol : IntermediateSymbol |
| 41 | { | 41 | { |
| 42 | public SignatureTuple() : base(TupleDefinitions.Signature, null, null) | 42 | public SignatureSymbol() : base(SymbolDefinitions.Signature, null, null) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public SignatureTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Signature, sourceLineNumber, id) | 46 | public SignatureSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Signature, sourceLineNumber, id) |
| 47 | { | 47 | { |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public IntermediateField this[SignatureTupleFields index] => this.Fields[(int)index]; | 50 | public IntermediateField this[SignatureSymbolFields index] => this.Fields[(int)index]; |
| 51 | 51 | ||
| 52 | public string FileName | 52 | public string FileName |
| 53 | { | 53 | { |
| 54 | get => (string)this.Fields[(int)SignatureTupleFields.FileName]; | 54 | get => (string)this.Fields[(int)SignatureSymbolFields.FileName]; |
| 55 | set => this.Set((int)SignatureTupleFields.FileName, value); | 55 | set => this.Set((int)SignatureSymbolFields.FileName, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public string MinVersion | 58 | public string MinVersion |
| 59 | { | 59 | { |
| 60 | get => (string)this.Fields[(int)SignatureTupleFields.MinVersion]; | 60 | get => (string)this.Fields[(int)SignatureSymbolFields.MinVersion]; |
| 61 | set => this.Set((int)SignatureTupleFields.MinVersion, value); | 61 | set => this.Set((int)SignatureSymbolFields.MinVersion, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public string MaxVersion | 64 | public string MaxVersion |
| 65 | { | 65 | { |
| 66 | get => (string)this.Fields[(int)SignatureTupleFields.MaxVersion]; | 66 | get => (string)this.Fields[(int)SignatureSymbolFields.MaxVersion]; |
| 67 | set => this.Set((int)SignatureTupleFields.MaxVersion, value); | 67 | set => this.Set((int)SignatureSymbolFields.MaxVersion, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public int? MinSize | 70 | public int? MinSize |
| 71 | { | 71 | { |
| 72 | get => (int?)this.Fields[(int)SignatureTupleFields.MinSize]; | 72 | get => (int?)this.Fields[(int)SignatureSymbolFields.MinSize]; |
| 73 | set => this.Set((int)SignatureTupleFields.MinSize, value); | 73 | set => this.Set((int)SignatureSymbolFields.MinSize, value); |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | public int? MaxSize | 76 | public int? MaxSize |
| 77 | { | 77 | { |
| 78 | get => (int?)this.Fields[(int)SignatureTupleFields.MaxSize]; | 78 | get => (int?)this.Fields[(int)SignatureSymbolFields.MaxSize]; |
| 79 | set => this.Set((int)SignatureTupleFields.MaxSize, value); | 79 | set => this.Set((int)SignatureSymbolFields.MaxSize, value); |
| 80 | } | 80 | } |
| 81 | 81 | ||
| 82 | public int? MinDate | 82 | public int? MinDate |
| 83 | { | 83 | { |
| 84 | get => (int?)this.Fields[(int)SignatureTupleFields.MinDate]; | 84 | get => (int?)this.Fields[(int)SignatureSymbolFields.MinDate]; |
| 85 | set => this.Set((int)SignatureTupleFields.MinDate, value); | 85 | set => this.Set((int)SignatureSymbolFields.MinDate, value); |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | public int? MaxDate | 88 | public int? MaxDate |
| 89 | { | 89 | { |
| 90 | get => (int?)this.Fields[(int)SignatureTupleFields.MaxDate]; | 90 | get => (int?)this.Fields[(int)SignatureSymbolFields.MaxDate]; |
| 91 | set => this.Set((int)SignatureTupleFields.MaxDate, value); | 91 | set => this.Set((int)SignatureSymbolFields.MaxDate, value); |
| 92 | } | 92 | } |
| 93 | 93 | ||
| 94 | public string Languages | 94 | public string Languages |
| 95 | { | 95 | { |
| 96 | get => (string)this.Fields[(int)SignatureTupleFields.Languages]; | 96 | get => (string)this.Fields[(int)SignatureSymbolFields.Languages]; |
| 97 | set => this.Set((int)SignatureTupleFields.Languages, value); | 97 | set => this.Set((int)SignatureSymbolFields.Languages, value); |
| 98 | } | 98 | } |
| 99 | } | 99 | } |
| 100 | } \ No newline at end of file | 100 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/SummaryInformationTuple.cs b/src/WixToolset.Data/Tuples/SummaryInformationTuple.cs index d395d115..b3b233fe 100644 --- a/src/WixToolset.Data/Tuples/SummaryInformationTuple.cs +++ b/src/WixToolset.Data/Tuples/SummaryInformationTuple.cs | |||
| @@ -2,24 +2,24 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 SummaryInformation = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition SummaryInformation = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.SummaryInformation, | 10 | SymbolDefinitionType.SummaryInformation, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(SummaryInformationTupleFields.PropertyId), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(SummaryInformationSymbolFields.PropertyId), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(SummaryInformationTupleFields.Value), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(SummaryInformationSymbolFields.Value), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(SummaryInformationTuple)); | 16 | typeof(SummaryInformationSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum SummaryInformationTupleFields | 22 | public enum SummaryInformationSymbolFields |
| 23 | { | 23 | { |
| 24 | PropertyId, | 24 | PropertyId, |
| 25 | Value, | 25 | Value, |
| @@ -75,28 +75,28 @@ namespace WixToolset.Data.Tuples | |||
| 75 | Version31 = 5, | 75 | Version31 = 5, |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public class SummaryInformationTuple : IntermediateTuple | 78 | public class SummaryInformationSymbol : IntermediateSymbol |
| 79 | { | 79 | { |
| 80 | public SummaryInformationTuple() : base(TupleDefinitions.SummaryInformation, null, null) | 80 | public SummaryInformationSymbol() : base(SymbolDefinitions.SummaryInformation, null, null) |
| 81 | { | 81 | { |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | public SummaryInformationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.SummaryInformation, sourceLineNumber, id) | 84 | public SummaryInformationSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.SummaryInformation, sourceLineNumber, id) |
| 85 | { | 85 | { |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | public IntermediateField this[SummaryInformationTupleFields index] => this.Fields[(int)index]; | 88 | public IntermediateField this[SummaryInformationSymbolFields index] => this.Fields[(int)index]; |
| 89 | 89 | ||
| 90 | public SummaryInformationType PropertyId | 90 | public SummaryInformationType PropertyId |
| 91 | { | 91 | { |
| 92 | get => (SummaryInformationType)this.Fields[(int)SummaryInformationTupleFields.PropertyId].AsNumber(); | 92 | get => (SummaryInformationType)this.Fields[(int)SummaryInformationSymbolFields.PropertyId].AsNumber(); |
| 93 | set => this.Set((int)SummaryInformationTupleFields.PropertyId, (int)value); | 93 | set => this.Set((int)SummaryInformationSymbolFields.PropertyId, (int)value); |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | public string Value | 96 | public string Value |
| 97 | { | 97 | { |
| 98 | get => (string)this.Fields[(int)SummaryInformationTupleFields.Value]; | 98 | get => (string)this.Fields[(int)SummaryInformationSymbolFields.Value]; |
| 99 | set => this.Set((int)SummaryInformationTupleFields.Value, value); | 99 | set => this.Set((int)SummaryInformationSymbolFields.Value, value); |
| 100 | } | 100 | } |
| 101 | } | 101 | } |
| 102 | } | 102 | } |
diff --git a/src/WixToolset.Data/Tuples/TargetFilesOptionalDataTuple.cs b/src/WixToolset.Data/Tuples/TargetFilesOptionalDataTuple.cs index 4b40d4f2..66fdc30c 100644 --- a/src/WixToolset.Data/Tuples/TargetFilesOptionalDataTuple.cs +++ b/src/WixToolset.Data/Tuples/TargetFilesOptionalDataTuple.cs | |||
| @@ -2,28 +2,28 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 TargetFilesOptionalData = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition TargetFilesOptionalData = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.TargetFilesOptionalData, | 10 | SymbolDefinitionType.TargetFilesOptionalData, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(TargetFilesOptionalDataTupleFields.Target), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(TargetFilesOptionalDataSymbolFields.Target), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(TargetFilesOptionalDataTupleFields.FTK), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(TargetFilesOptionalDataSymbolFields.FTK), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(TargetFilesOptionalDataTupleFields.SymbolPaths), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(TargetFilesOptionalDataSymbolFields.SymbolPaths), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(TargetFilesOptionalDataTupleFields.IgnoreOffsets), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(TargetFilesOptionalDataSymbolFields.IgnoreOffsets), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(TargetFilesOptionalDataTupleFields.IgnoreLengths), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(TargetFilesOptionalDataSymbolFields.IgnoreLengths), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(TargetFilesOptionalDataTupleFields.RetainOffsets), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(TargetFilesOptionalDataSymbolFields.RetainOffsets), IntermediateFieldType.String), |
| 19 | }, | 19 | }, |
| 20 | typeof(TargetFilesOptionalDataTuple)); | 20 | typeof(TargetFilesOptionalDataSymbol)); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
| 25 | { | 25 | { |
| 26 | public enum TargetFilesOptionalDataTupleFields | 26 | public enum TargetFilesOptionalDataSymbolFields |
| 27 | { | 27 | { |
| 28 | Target, | 28 | Target, |
| 29 | FTK, | 29 | FTK, |
| @@ -33,52 +33,52 @@ namespace WixToolset.Data.Tuples | |||
| 33 | RetainOffsets, | 33 | RetainOffsets, |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public class TargetFilesOptionalDataTuple : IntermediateTuple | 36 | public class TargetFilesOptionalDataSymbol : IntermediateSymbol |
| 37 | { | 37 | { |
| 38 | public TargetFilesOptionalDataTuple() : base(TupleDefinitions.TargetFilesOptionalData, null, null) | 38 | public TargetFilesOptionalDataSymbol() : base(SymbolDefinitions.TargetFilesOptionalData, null, null) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public TargetFilesOptionalDataTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.TargetFilesOptionalData, sourceLineNumber, id) | 42 | public TargetFilesOptionalDataSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.TargetFilesOptionalData, sourceLineNumber, id) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public IntermediateField this[TargetFilesOptionalDataTupleFields index] => this.Fields[(int)index]; | 46 | public IntermediateField this[TargetFilesOptionalDataSymbolFields index] => this.Fields[(int)index]; |
| 47 | 47 | ||
| 48 | public string Target | 48 | public string Target |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)TargetFilesOptionalDataTupleFields.Target]; | 50 | get => (string)this.Fields[(int)TargetFilesOptionalDataSymbolFields.Target]; |
| 51 | set => this.Set((int)TargetFilesOptionalDataTupleFields.Target, value); | 51 | set => this.Set((int)TargetFilesOptionalDataSymbolFields.Target, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string FTK | 54 | public string FTK |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)TargetFilesOptionalDataTupleFields.FTK]; | 56 | get => (string)this.Fields[(int)TargetFilesOptionalDataSymbolFields.FTK]; |
| 57 | set => this.Set((int)TargetFilesOptionalDataTupleFields.FTK, value); | 57 | set => this.Set((int)TargetFilesOptionalDataSymbolFields.FTK, value); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public string SymbolPaths | 60 | public string SymbolPaths |
| 61 | { | 61 | { |
| 62 | get => (string)this.Fields[(int)TargetFilesOptionalDataTupleFields.SymbolPaths]; | 62 | get => (string)this.Fields[(int)TargetFilesOptionalDataSymbolFields.SymbolPaths]; |
| 63 | set => this.Set((int)TargetFilesOptionalDataTupleFields.SymbolPaths, value); | 63 | set => this.Set((int)TargetFilesOptionalDataSymbolFields.SymbolPaths, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public string IgnoreOffsets | 66 | public string IgnoreOffsets |
| 67 | { | 67 | { |
| 68 | get => (string)this.Fields[(int)TargetFilesOptionalDataTupleFields.IgnoreOffsets]; | 68 | get => (string)this.Fields[(int)TargetFilesOptionalDataSymbolFields.IgnoreOffsets]; |
| 69 | set => this.Set((int)TargetFilesOptionalDataTupleFields.IgnoreOffsets, value); | 69 | set => this.Set((int)TargetFilesOptionalDataSymbolFields.IgnoreOffsets, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public string IgnoreLengths | 72 | public string IgnoreLengths |
| 73 | { | 73 | { |
| 74 | get => (string)this.Fields[(int)TargetFilesOptionalDataTupleFields.IgnoreLengths]; | 74 | get => (string)this.Fields[(int)TargetFilesOptionalDataSymbolFields.IgnoreLengths]; |
| 75 | set => this.Set((int)TargetFilesOptionalDataTupleFields.IgnoreLengths, value); | 75 | set => this.Set((int)TargetFilesOptionalDataSymbolFields.IgnoreLengths, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public string RetainOffsets | 78 | public string RetainOffsets |
| 79 | { | 79 | { |
| 80 | get => (string)this.Fields[(int)TargetFilesOptionalDataTupleFields.RetainOffsets]; | 80 | get => (string)this.Fields[(int)TargetFilesOptionalDataSymbolFields.RetainOffsets]; |
| 81 | set => this.Set((int)TargetFilesOptionalDataTupleFields.RetainOffsets, value); | 81 | set => this.Set((int)TargetFilesOptionalDataSymbolFields.RetainOffsets, value); |
| 82 | } | 82 | } |
| 83 | } | 83 | } |
| 84 | } \ No newline at end of file | 84 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/TargetImagesTuple.cs b/src/WixToolset.Data/Tuples/TargetImagesTuple.cs index 21920208..4748b1f3 100644 --- a/src/WixToolset.Data/Tuples/TargetImagesTuple.cs +++ b/src/WixToolset.Data/Tuples/TargetImagesTuple.cs | |||
| @@ -2,29 +2,29 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 TargetImages = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition TargetImages = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.TargetImages, | 10 | SymbolDefinitionType.TargetImages, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(TargetImagesTupleFields.Target), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(TargetImagesSymbolFields.Target), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(TargetImagesTupleFields.MsiPath), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(TargetImagesSymbolFields.MsiPath), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(TargetImagesTupleFields.SymbolPaths), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(TargetImagesSymbolFields.SymbolPaths), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(TargetImagesTupleFields.Upgraded), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(TargetImagesSymbolFields.Upgraded), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(TargetImagesTupleFields.Order), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(TargetImagesSymbolFields.Order), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(TargetImagesTupleFields.ProductValidateFlags), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(TargetImagesSymbolFields.ProductValidateFlags), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(TargetImagesTupleFields.IgnoreMissingSrcFiles), IntermediateFieldType.Bool), | 19 | new IntermediateFieldDefinition(nameof(TargetImagesSymbolFields.IgnoreMissingSrcFiles), IntermediateFieldType.Bool), |
| 20 | }, | 20 | }, |
| 21 | typeof(TargetImagesTuple)); | 21 | typeof(TargetImagesSymbol)); |
| 22 | } | 22 | } |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | namespace WixToolset.Data.Tuples | 25 | namespace WixToolset.Data.Symbols |
| 26 | { | 26 | { |
| 27 | public enum TargetImagesTupleFields | 27 | public enum TargetImagesSymbolFields |
| 28 | { | 28 | { |
| 29 | Target, | 29 | Target, |
| 30 | MsiPath, | 30 | MsiPath, |
| @@ -35,58 +35,58 @@ namespace WixToolset.Data.Tuples | |||
| 35 | IgnoreMissingSrcFiles, | 35 | IgnoreMissingSrcFiles, |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public class TargetImagesTuple : IntermediateTuple | 38 | public class TargetImagesSymbol : IntermediateSymbol |
| 39 | { | 39 | { |
| 40 | public TargetImagesTuple() : base(TupleDefinitions.TargetImages, null, null) | 40 | public TargetImagesSymbol() : base(SymbolDefinitions.TargetImages, null, null) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public TargetImagesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.TargetImages, sourceLineNumber, id) | 44 | public TargetImagesSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.TargetImages, sourceLineNumber, id) |
| 45 | { | 45 | { |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public IntermediateField this[TargetImagesTupleFields index] => this.Fields[(int)index]; | 48 | public IntermediateField this[TargetImagesSymbolFields index] => this.Fields[(int)index]; |
| 49 | 49 | ||
| 50 | public string Target | 50 | public string Target |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)TargetImagesTupleFields.Target]; | 52 | get => (string)this.Fields[(int)TargetImagesSymbolFields.Target]; |
| 53 | set => this.Set((int)TargetImagesTupleFields.Target, value); | 53 | set => this.Set((int)TargetImagesSymbolFields.Target, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string MsiPath | 56 | public string MsiPath |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)TargetImagesTupleFields.MsiPath]; | 58 | get => (string)this.Fields[(int)TargetImagesSymbolFields.MsiPath]; |
| 59 | set => this.Set((int)TargetImagesTupleFields.MsiPath, value); | 59 | set => this.Set((int)TargetImagesSymbolFields.MsiPath, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string SymbolPaths | 62 | public string SymbolPaths |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)TargetImagesTupleFields.SymbolPaths]; | 64 | get => (string)this.Fields[(int)TargetImagesSymbolFields.SymbolPaths]; |
| 65 | set => this.Set((int)TargetImagesTupleFields.SymbolPaths, value); | 65 | set => this.Set((int)TargetImagesSymbolFields.SymbolPaths, value); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public string Upgraded | 68 | public string Upgraded |
| 69 | { | 69 | { |
| 70 | get => (string)this.Fields[(int)TargetImagesTupleFields.Upgraded]; | 70 | get => (string)this.Fields[(int)TargetImagesSymbolFields.Upgraded]; |
| 71 | set => this.Set((int)TargetImagesTupleFields.Upgraded, value); | 71 | set => this.Set((int)TargetImagesSymbolFields.Upgraded, value); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public int Order | 74 | public int Order |
| 75 | { | 75 | { |
| 76 | get => (int)this.Fields[(int)TargetImagesTupleFields.Order]; | 76 | get => (int)this.Fields[(int)TargetImagesSymbolFields.Order]; |
| 77 | set => this.Set((int)TargetImagesTupleFields.Order, value); | 77 | set => this.Set((int)TargetImagesSymbolFields.Order, value); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public string ProductValidateFlags | 80 | public string ProductValidateFlags |
| 81 | { | 81 | { |
| 82 | get => (string)this.Fields[(int)TargetImagesTupleFields.ProductValidateFlags]; | 82 | get => (string)this.Fields[(int)TargetImagesSymbolFields.ProductValidateFlags]; |
| 83 | set => this.Set((int)TargetImagesTupleFields.ProductValidateFlags, value); | 83 | set => this.Set((int)TargetImagesSymbolFields.ProductValidateFlags, value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public bool IgnoreMissingSrcFiles | 86 | public bool IgnoreMissingSrcFiles |
| 87 | { | 87 | { |
| 88 | get => (bool)this.Fields[(int)TargetImagesTupleFields.IgnoreMissingSrcFiles]; | 88 | get => (bool)this.Fields[(int)TargetImagesSymbolFields.IgnoreMissingSrcFiles]; |
| 89 | set => this.Set((int)TargetImagesTupleFields.IgnoreMissingSrcFiles, value); | 89 | set => this.Set((int)TargetImagesSymbolFields.IgnoreMissingSrcFiles, value); |
| 90 | } | 90 | } |
| 91 | } | 91 | } |
| 92 | } \ No newline at end of file | 92 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/TextStyleTuple.cs b/src/WixToolset.Data/Tuples/TextStyleTuple.cs index 3614808e..b07615bb 100644 --- a/src/WixToolset.Data/Tuples/TextStyleTuple.cs +++ b/src/WixToolset.Data/Tuples/TextStyleTuple.cs | |||
| @@ -2,31 +2,31 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 TextStyle = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition TextStyle = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.TextStyle, | 10 | SymbolDefinitionType.TextStyle, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(TextStyleTupleFields.FaceName), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(TextStyleSymbolFields.FaceName), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(TextStyleTupleFields.Size), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(TextStyleSymbolFields.Size), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(TextStyleTupleFields.Red), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(TextStyleSymbolFields.Red), IntermediateFieldType.Number), |
| 16 | new IntermediateFieldDefinition(nameof(TextStyleTupleFields.Green), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(TextStyleSymbolFields.Green), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(TextStyleTupleFields.Blue), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(TextStyleSymbolFields.Blue), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(TextStyleTupleFields.Bold), IntermediateFieldType.Bool), | 18 | new IntermediateFieldDefinition(nameof(TextStyleSymbolFields.Bold), IntermediateFieldType.Bool), |
| 19 | new IntermediateFieldDefinition(nameof(TextStyleTupleFields.Italic), IntermediateFieldType.Bool), | 19 | new IntermediateFieldDefinition(nameof(TextStyleSymbolFields.Italic), IntermediateFieldType.Bool), |
| 20 | new IntermediateFieldDefinition(nameof(TextStyleTupleFields.Strike), IntermediateFieldType.Bool), | 20 | new IntermediateFieldDefinition(nameof(TextStyleSymbolFields.Strike), IntermediateFieldType.Bool), |
| 21 | new IntermediateFieldDefinition(nameof(TextStyleTupleFields.Underline), IntermediateFieldType.Bool), | 21 | new IntermediateFieldDefinition(nameof(TextStyleSymbolFields.Underline), IntermediateFieldType.Bool), |
| 22 | }, | 22 | }, |
| 23 | typeof(TextStyleTuple)); | 23 | typeof(TextStyleSymbol)); |
| 24 | } | 24 | } |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | namespace WixToolset.Data.Tuples | 27 | namespace WixToolset.Data.Symbols |
| 28 | { | 28 | { |
| 29 | public enum TextStyleTupleFields | 29 | public enum TextStyleSymbolFields |
| 30 | { | 30 | { |
| 31 | FaceName, | 31 | FaceName, |
| 32 | Size, | 32 | Size, |
| @@ -39,70 +39,70 @@ namespace WixToolset.Data.Tuples | |||
| 39 | Underline, | 39 | Underline, |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public class TextStyleTuple : IntermediateTuple | 42 | public class TextStyleSymbol : IntermediateSymbol |
| 43 | { | 43 | { |
| 44 | public TextStyleTuple() : base(TupleDefinitions.TextStyle, null, null) | 44 | public TextStyleSymbol() : base(SymbolDefinitions.TextStyle, null, null) |
| 45 | { | 45 | { |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public TextStyleTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.TextStyle, sourceLineNumber, id) | 48 | public TextStyleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.TextStyle, sourceLineNumber, id) |
| 49 | { | 49 | { |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | public IntermediateField this[TextStyleTupleFields index] => this.Fields[(int)index]; | 52 | public IntermediateField this[TextStyleSymbolFields index] => this.Fields[(int)index]; |
| 53 | 53 | ||
| 54 | public string FaceName | 54 | public string FaceName |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)TextStyleTupleFields.FaceName]; | 56 | get => (string)this.Fields[(int)TextStyleSymbolFields.FaceName]; |
| 57 | set => this.Set((int)TextStyleTupleFields.FaceName, value); | 57 | set => this.Set((int)TextStyleSymbolFields.FaceName, value); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public int Size | 60 | public int Size |
| 61 | { | 61 | { |
| 62 | get => (int)this.Fields[(int)TextStyleTupleFields.Size]; | 62 | get => (int)this.Fields[(int)TextStyleSymbolFields.Size]; |
| 63 | set => this.Set((int)TextStyleTupleFields.Size, value); | 63 | set => this.Set((int)TextStyleSymbolFields.Size, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public int? Red | 66 | public int? Red |
| 67 | { | 67 | { |
| 68 | get => (int?)this.Fields[(int)TextStyleTupleFields.Red]; | 68 | get => (int?)this.Fields[(int)TextStyleSymbolFields.Red]; |
| 69 | set => this.Set((int)TextStyleTupleFields.Red, value); | 69 | set => this.Set((int)TextStyleSymbolFields.Red, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public int? Green | 72 | public int? Green |
| 73 | { | 73 | { |
| 74 | get => (int?)this.Fields[(int)TextStyleTupleFields.Green]; | 74 | get => (int?)this.Fields[(int)TextStyleSymbolFields.Green]; |
| 75 | set => this.Set((int)TextStyleTupleFields.Green, value); | 75 | set => this.Set((int)TextStyleSymbolFields.Green, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public int? Blue | 78 | public int? Blue |
| 79 | { | 79 | { |
| 80 | get => (int?)this.Fields[(int)TextStyleTupleFields.Blue]; | 80 | get => (int?)this.Fields[(int)TextStyleSymbolFields.Blue]; |
| 81 | set => this.Set((int)TextStyleTupleFields.Blue, value); | 81 | set => this.Set((int)TextStyleSymbolFields.Blue, value); |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | public bool Bold | 84 | public bool Bold |
| 85 | { | 85 | { |
| 86 | get => (bool)this.Fields[(int)TextStyleTupleFields.Bold]; | 86 | get => (bool)this.Fields[(int)TextStyleSymbolFields.Bold]; |
| 87 | set => this.Set((int)TextStyleTupleFields.Bold, value); | 87 | set => this.Set((int)TextStyleSymbolFields.Bold, value); |
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | public bool Italic | 90 | public bool Italic |
| 91 | { | 91 | { |
| 92 | get => (bool)this.Fields[(int)TextStyleTupleFields.Italic]; | 92 | get => (bool)this.Fields[(int)TextStyleSymbolFields.Italic]; |
| 93 | set => this.Set((int)TextStyleTupleFields.Italic, value); | 93 | set => this.Set((int)TextStyleSymbolFields.Italic, value); |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | public bool Strike | 96 | public bool Strike |
| 97 | { | 97 | { |
| 98 | get => (bool)this.Fields[(int)TextStyleTupleFields.Strike]; | 98 | get => (bool)this.Fields[(int)TextStyleSymbolFields.Strike]; |
| 99 | set => this.Set((int)TextStyleTupleFields.Strike, value); | 99 | set => this.Set((int)TextStyleSymbolFields.Strike, value); |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | public bool Underline | 102 | public bool Underline |
| 103 | { | 103 | { |
| 104 | get => (bool)this.Fields[(int)TextStyleTupleFields.Underline]; | 104 | get => (bool)this.Fields[(int)TextStyleSymbolFields.Underline]; |
| 105 | set => this.Set((int)TextStyleTupleFields.Underline, value); | 105 | set => this.Set((int)TextStyleSymbolFields.Underline, value); |
| 106 | } | 106 | } |
| 107 | } | 107 | } |
| 108 | } \ No newline at end of file | 108 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/TransformsFlags.cs b/src/WixToolset.Data/Tuples/TransformsFlags.cs index d3a6187c..90f22cb4 100644 --- a/src/WixToolset.Data/Tuples/TransformsFlags.cs +++ b/src/WixToolset.Data/Tuples/TransformsFlags.cs | |||
| @@ -1,6 +1,6 @@ | |||
| 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 | ||
| 3 | namespace WixToolset.Data.Tuples | 3 | namespace WixToolset.Data.Symbols |
| 4 | { | 4 | { |
| 5 | using System; | 5 | using System; |
| 6 | 6 | ||
diff --git a/src/WixToolset.Data/Tuples/TupleDefinitions.cs b/src/WixToolset.Data/Tuples/TupleDefinitions.cs index 10776b67..ea90ef7b 100644 --- a/src/WixToolset.Data/Tuples/TupleDefinitions.cs +++ b/src/WixToolset.Data/Tuples/TupleDefinitions.cs | |||
| @@ -4,7 +4,7 @@ namespace WixToolset.Data | |||
| 4 | { | 4 | { |
| 5 | using System; | 5 | using System; |
| 6 | 6 | ||
| 7 | public enum TupleDefinitionType | 7 | public enum SymbolDefinitionType |
| 8 | { | 8 | { |
| 9 | SummaryInformation, | 9 | SummaryInformation, |
| 10 | ActionText, | 10 | ActionText, |
| @@ -185,13 +185,13 @@ namespace WixToolset.Data | |||
| 185 | MustBeFromAnExtension, | 185 | MustBeFromAnExtension, |
| 186 | } | 186 | } |
| 187 | 187 | ||
| 188 | public static partial class TupleDefinitions | 188 | public static partial class SymbolDefinitions |
| 189 | { | 189 | { |
| 190 | public static readonly Version Version = new Version("4.0.0"); | 190 | public static readonly Version Version = new Version("4.0.0"); |
| 191 | 191 | ||
| 192 | public static IntermediateTupleDefinition ByName(string name) | 192 | public static IntermediateSymbolDefinition ByName(string name) |
| 193 | { | 193 | { |
| 194 | if (!Enum.TryParse(name, out TupleDefinitionType type) || type == TupleDefinitionType.MustBeFromAnExtension) | 194 | if (!Enum.TryParse(name, out SymbolDefinitionType type) || type == SymbolDefinitionType.MustBeFromAnExtension) |
| 195 | { | 195 | { |
| 196 | return null; | 196 | return null; |
| 197 | } | 197 | } |
| @@ -199,534 +199,534 @@ namespace WixToolset.Data | |||
| 199 | return ByType(type); | 199 | return ByType(type); |
| 200 | } | 200 | } |
| 201 | 201 | ||
| 202 | public static IntermediateTupleDefinition ByType(TupleDefinitionType type) | 202 | public static IntermediateSymbolDefinition ByType(SymbolDefinitionType type) |
| 203 | { | 203 | { |
| 204 | switch (type) | 204 | switch (type) |
| 205 | { | 205 | { |
| 206 | case TupleDefinitionType.SummaryInformation: | 206 | case SymbolDefinitionType.SummaryInformation: |
| 207 | return TupleDefinitions.SummaryInformation; | 207 | return SymbolDefinitions.SummaryInformation; |
| 208 | 208 | ||
| 209 | case TupleDefinitionType.ActionText: | 209 | case SymbolDefinitionType.ActionText: |
| 210 | return TupleDefinitions.ActionText; | 210 | return SymbolDefinitions.ActionText; |
| 211 | 211 | ||
| 212 | case TupleDefinitionType.AppId: | 212 | case SymbolDefinitionType.AppId: |
| 213 | return TupleDefinitions.AppId; | 213 | return SymbolDefinitions.AppId; |
| 214 | 214 | ||
| 215 | case TupleDefinitionType.AppSearch: | 215 | case SymbolDefinitionType.AppSearch: |
| 216 | return TupleDefinitions.AppSearch; | 216 | return SymbolDefinitions.AppSearch; |
| 217 | 217 | ||
| 218 | case TupleDefinitionType.BBControl: | 218 | case SymbolDefinitionType.BBControl: |
| 219 | return TupleDefinitions.BBControl; | 219 | return SymbolDefinitions.BBControl; |
| 220 | 220 | ||
| 221 | case TupleDefinitionType.Billboard: | 221 | case SymbolDefinitionType.Billboard: |
| 222 | return TupleDefinitions.Billboard; | 222 | return SymbolDefinitions.Billboard; |
| 223 | 223 | ||
| 224 | case TupleDefinitionType.Binary: | 224 | case SymbolDefinitionType.Binary: |
| 225 | return TupleDefinitions.Binary; | 225 | return SymbolDefinitions.Binary; |
| 226 | 226 | ||
| 227 | case TupleDefinitionType.CCPSearch: | 227 | case SymbolDefinitionType.CCPSearch: |
| 228 | return TupleDefinitions.CCPSearch; | 228 | return SymbolDefinitions.CCPSearch; |
| 229 | 229 | ||
| 230 | case TupleDefinitionType.CheckBox: | 230 | case SymbolDefinitionType.CheckBox: |
| 231 | return TupleDefinitions.CheckBox; | 231 | return SymbolDefinitions.CheckBox; |
| 232 | 232 | ||
| 233 | case TupleDefinitionType.Class: | 233 | case SymbolDefinitionType.Class: |
| 234 | return TupleDefinitions.Class; | 234 | return SymbolDefinitions.Class; |
| 235 | 235 | ||
| 236 | case TupleDefinitionType.ComboBox: | 236 | case SymbolDefinitionType.ComboBox: |
| 237 | return TupleDefinitions.ComboBox; | 237 | return SymbolDefinitions.ComboBox; |
| 238 | 238 | ||
| 239 | case TupleDefinitionType.CompLocator: | 239 | case SymbolDefinitionType.CompLocator: |
| 240 | return TupleDefinitions.CompLocator; | 240 | return SymbolDefinitions.CompLocator; |
| 241 | 241 | ||
| 242 | case TupleDefinitionType.Complus: | 242 | case SymbolDefinitionType.Complus: |
| 243 | return TupleDefinitions.Complus; | 243 | return SymbolDefinitions.Complus; |
| 244 | 244 | ||
| 245 | case TupleDefinitionType.Component: | 245 | case SymbolDefinitionType.Component: |
| 246 | return TupleDefinitions.Component; | 246 | return SymbolDefinitions.Component; |
| 247 | 247 | ||
| 248 | case TupleDefinitionType.Condition: | 248 | case SymbolDefinitionType.Condition: |
| 249 | return TupleDefinitions.Condition; | 249 | return SymbolDefinitions.Condition; |
| 250 | 250 | ||
| 251 | case TupleDefinitionType.Control: | 251 | case SymbolDefinitionType.Control: |
| 252 | return TupleDefinitions.Control; | 252 | return SymbolDefinitions.Control; |
| 253 | 253 | ||
| 254 | case TupleDefinitionType.ControlCondition: | 254 | case SymbolDefinitionType.ControlCondition: |
| 255 | return TupleDefinitions.ControlCondition; | 255 | return SymbolDefinitions.ControlCondition; |
| 256 | 256 | ||
| 257 | case TupleDefinitionType.ControlEvent: | 257 | case SymbolDefinitionType.ControlEvent: |
| 258 | return TupleDefinitions.ControlEvent; | 258 | return SymbolDefinitions.ControlEvent; |
| 259 | 259 | ||
| 260 | case TupleDefinitionType.CreateFolder: | 260 | case SymbolDefinitionType.CreateFolder: |
| 261 | return TupleDefinitions.CreateFolder; | 261 | return SymbolDefinitions.CreateFolder; |
| 262 | 262 | ||
| 263 | case TupleDefinitionType.CustomAction: | 263 | case SymbolDefinitionType.CustomAction: |
| 264 | return TupleDefinitions.CustomAction; | 264 | return SymbolDefinitions.CustomAction; |
| 265 | 265 | ||
| 266 | case TupleDefinitionType.Dialog: | 266 | case SymbolDefinitionType.Dialog: |
| 267 | return TupleDefinitions.Dialog; | 267 | return SymbolDefinitions.Dialog; |
| 268 | 268 | ||
| 269 | case TupleDefinitionType.Directory: | 269 | case SymbolDefinitionType.Directory: |
| 270 | return TupleDefinitions.Directory; | 270 | return SymbolDefinitions.Directory; |
| 271 | 271 | ||
| 272 | case TupleDefinitionType.DrLocator: | 272 | case SymbolDefinitionType.DrLocator: |
| 273 | return TupleDefinitions.DrLocator; | 273 | return SymbolDefinitions.DrLocator; |
| 274 | 274 | ||
| 275 | case TupleDefinitionType.DuplicateFile: | 275 | case SymbolDefinitionType.DuplicateFile: |
| 276 | return TupleDefinitions.DuplicateFile; | 276 | return SymbolDefinitions.DuplicateFile; |
| 277 | 277 | ||
| 278 | case TupleDefinitionType.Environment: | 278 | case SymbolDefinitionType.Environment: |
| 279 | return TupleDefinitions.Environment; | 279 | return SymbolDefinitions.Environment; |
| 280 | 280 | ||
| 281 | case TupleDefinitionType.Error: | 281 | case SymbolDefinitionType.Error: |
| 282 | return TupleDefinitions.Error; | 282 | return SymbolDefinitions.Error; |
| 283 | 283 | ||
| 284 | case TupleDefinitionType.EventMapping: | 284 | case SymbolDefinitionType.EventMapping: |
| 285 | return TupleDefinitions.EventMapping; | 285 | return SymbolDefinitions.EventMapping; |
| 286 | 286 | ||
| 287 | case TupleDefinitionType.Extension: | 287 | case SymbolDefinitionType.Extension: |
| 288 | return TupleDefinitions.Extension; | 288 | return SymbolDefinitions.Extension; |
| 289 | 289 | ||
| 290 | case TupleDefinitionType.ExternalFiles: | 290 | case SymbolDefinitionType.ExternalFiles: |
| 291 | return TupleDefinitions.ExternalFiles; | 291 | return SymbolDefinitions.ExternalFiles; |
| 292 | 292 | ||
| 293 | case TupleDefinitionType.FamilyFileRanges: | 293 | case SymbolDefinitionType.FamilyFileRanges: |
| 294 | return TupleDefinitions.FamilyFileRanges; | 294 | return SymbolDefinitions.FamilyFileRanges; |
| 295 | 295 | ||
| 296 | case TupleDefinitionType.Feature: | 296 | case SymbolDefinitionType.Feature: |
| 297 | return TupleDefinitions.Feature; | 297 | return SymbolDefinitions.Feature; |
| 298 | 298 | ||
| 299 | case TupleDefinitionType.FeatureComponents: | 299 | case SymbolDefinitionType.FeatureComponents: |
| 300 | return TupleDefinitions.FeatureComponents; | 300 | return SymbolDefinitions.FeatureComponents; |
| 301 | 301 | ||
| 302 | case TupleDefinitionType.File: | 302 | case SymbolDefinitionType.File: |
| 303 | return TupleDefinitions.File; | 303 | return SymbolDefinitions.File; |
| 304 | 304 | ||
| 305 | case TupleDefinitionType.FileSFPCatalog: | 305 | case SymbolDefinitionType.FileSFPCatalog: |
| 306 | return TupleDefinitions.FileSFPCatalog; | 306 | return SymbolDefinitions.FileSFPCatalog; |
| 307 | 307 | ||
| 308 | case TupleDefinitionType.Icon: | 308 | case SymbolDefinitionType.Icon: |
| 309 | return TupleDefinitions.Icon; | 309 | return SymbolDefinitions.Icon; |
| 310 | 310 | ||
| 311 | case TupleDefinitionType.ImageFamilies: | 311 | case SymbolDefinitionType.ImageFamilies: |
| 312 | return TupleDefinitions.ImageFamilies; | 312 | return SymbolDefinitions.ImageFamilies; |
| 313 | 313 | ||
| 314 | case TupleDefinitionType.IniFile: | 314 | case SymbolDefinitionType.IniFile: |
| 315 | return TupleDefinitions.IniFile; | 315 | return SymbolDefinitions.IniFile; |
| 316 | 316 | ||
| 317 | case TupleDefinitionType.IniLocator: | 317 | case SymbolDefinitionType.IniLocator: |
| 318 | return TupleDefinitions.IniLocator; | 318 | return SymbolDefinitions.IniLocator; |
| 319 | 319 | ||
| 320 | case TupleDefinitionType.IsolatedComponent: | 320 | case SymbolDefinitionType.IsolatedComponent: |
| 321 | return TupleDefinitions.IsolatedComponent; | 321 | return SymbolDefinitions.IsolatedComponent; |
| 322 | 322 | ||
| 323 | case TupleDefinitionType.LaunchCondition: | 323 | case SymbolDefinitionType.LaunchCondition: |
| 324 | return TupleDefinitions.LaunchCondition; | 324 | return SymbolDefinitions.LaunchCondition; |
| 325 | 325 | ||
| 326 | case TupleDefinitionType.ListBox: | 326 | case SymbolDefinitionType.ListBox: |
| 327 | return TupleDefinitions.ListBox; | 327 | return SymbolDefinitions.ListBox; |
| 328 | 328 | ||
| 329 | case TupleDefinitionType.ListView: | 329 | case SymbolDefinitionType.ListView: |
| 330 | return TupleDefinitions.ListView; | 330 | return SymbolDefinitions.ListView; |
| 331 | 331 | ||
| 332 | case TupleDefinitionType.LockPermissions: | 332 | case SymbolDefinitionType.LockPermissions: |
| 333 | return TupleDefinitions.LockPermissions; | 333 | return SymbolDefinitions.LockPermissions; |
| 334 | 334 | ||
| 335 | case TupleDefinitionType.Media: | 335 | case SymbolDefinitionType.Media: |
| 336 | return TupleDefinitions.Media; | 336 | return SymbolDefinitions.Media; |
| 337 | 337 | ||
| 338 | case TupleDefinitionType.MIME: | 338 | case SymbolDefinitionType.MIME: |
| 339 | return TupleDefinitions.MIME; | 339 | return SymbolDefinitions.MIME; |
| 340 | 340 | ||
| 341 | case TupleDefinitionType.ModuleComponents: | 341 | case SymbolDefinitionType.ModuleComponents: |
| 342 | return TupleDefinitions.ModuleComponents; | 342 | return SymbolDefinitions.ModuleComponents; |
| 343 | 343 | ||
| 344 | case TupleDefinitionType.ModuleConfiguration: | 344 | case SymbolDefinitionType.ModuleConfiguration: |
| 345 | return TupleDefinitions.ModuleConfiguration; | 345 | return SymbolDefinitions.ModuleConfiguration; |
| 346 | 346 | ||
| 347 | case TupleDefinitionType.ModuleDependency: | 347 | case SymbolDefinitionType.ModuleDependency: |
| 348 | return TupleDefinitions.ModuleDependency; | 348 | return SymbolDefinitions.ModuleDependency; |
| 349 | 349 | ||
| 350 | case TupleDefinitionType.ModuleExclusion: | 350 | case SymbolDefinitionType.ModuleExclusion: |
| 351 | return TupleDefinitions.ModuleExclusion; | 351 | return SymbolDefinitions.ModuleExclusion; |
| 352 | 352 | ||
| 353 | case TupleDefinitionType.ModuleIgnoreTable: | 353 | case SymbolDefinitionType.ModuleIgnoreTable: |
| 354 | return TupleDefinitions.ModuleIgnoreTable; | 354 | return SymbolDefinitions.ModuleIgnoreTable; |
| 355 | 355 | ||
| 356 | case TupleDefinitionType.ModuleSignature: | 356 | case SymbolDefinitionType.ModuleSignature: |
| 357 | return TupleDefinitions.ModuleSignature; | 357 | return SymbolDefinitions.ModuleSignature; |
| 358 | 358 | ||
| 359 | case TupleDefinitionType.ModuleSubstitution: | 359 | case SymbolDefinitionType.ModuleSubstitution: |
| 360 | return TupleDefinitions.ModuleSubstitution; | 360 | return SymbolDefinitions.ModuleSubstitution; |
| 361 | 361 | ||
| 362 | case TupleDefinitionType.MoveFile: | 362 | case SymbolDefinitionType.MoveFile: |
| 363 | return TupleDefinitions.MoveFile; | 363 | return SymbolDefinitions.MoveFile; |
| 364 | 364 | ||
| 365 | case TupleDefinitionType.Assembly: | 365 | case SymbolDefinitionType.Assembly: |
| 366 | return TupleDefinitions.Assembly; | 366 | return SymbolDefinitions.Assembly; |
| 367 | 367 | ||
| 368 | case TupleDefinitionType.MsiAssemblyName: | 368 | case SymbolDefinitionType.MsiAssemblyName: |
| 369 | return TupleDefinitions.MsiAssemblyName; | 369 | return SymbolDefinitions.MsiAssemblyName; |
| 370 | 370 | ||
| 371 | case TupleDefinitionType.MsiDigitalCertificate: | 371 | case SymbolDefinitionType.MsiDigitalCertificate: |
| 372 | return TupleDefinitions.MsiDigitalCertificate; | 372 | return SymbolDefinitions.MsiDigitalCertificate; |
| 373 | 373 | ||
| 374 | case TupleDefinitionType.MsiDigitalSignature: | 374 | case SymbolDefinitionType.MsiDigitalSignature: |
| 375 | return TupleDefinitions.MsiDigitalSignature; | 375 | return SymbolDefinitions.MsiDigitalSignature; |
| 376 | 376 | ||
| 377 | case TupleDefinitionType.MsiEmbeddedChainer: | 377 | case SymbolDefinitionType.MsiEmbeddedChainer: |
| 378 | return TupleDefinitions.MsiEmbeddedChainer; | 378 | return SymbolDefinitions.MsiEmbeddedChainer; |
| 379 | 379 | ||
| 380 | case TupleDefinitionType.MsiEmbeddedUI: | 380 | case SymbolDefinitionType.MsiEmbeddedUI: |
| 381 | return TupleDefinitions.MsiEmbeddedUI; | 381 | return SymbolDefinitions.MsiEmbeddedUI; |
| 382 | 382 | ||
| 383 | case TupleDefinitionType.MsiFileHash: | 383 | case SymbolDefinitionType.MsiFileHash: |
| 384 | return TupleDefinitions.MsiFileHash; | 384 | return SymbolDefinitions.MsiFileHash; |
| 385 | 385 | ||
| 386 | case TupleDefinitionType.MsiLockPermissionsEx: | 386 | case SymbolDefinitionType.MsiLockPermissionsEx: |
| 387 | return TupleDefinitions.MsiLockPermissionsEx; | 387 | return SymbolDefinitions.MsiLockPermissionsEx; |
| 388 | 388 | ||
| 389 | case TupleDefinitionType.MsiPackageCertificate: | 389 | case SymbolDefinitionType.MsiPackageCertificate: |
| 390 | return TupleDefinitions.MsiPackageCertificate; | 390 | return SymbolDefinitions.MsiPackageCertificate; |
| 391 | 391 | ||
| 392 | case TupleDefinitionType.MsiPatchCertificate: | 392 | case SymbolDefinitionType.MsiPatchCertificate: |
| 393 | return TupleDefinitions.MsiPatchCertificate; | 393 | return SymbolDefinitions.MsiPatchCertificate; |
| 394 | 394 | ||
| 395 | case TupleDefinitionType.MsiPatchHeaders: | 395 | case SymbolDefinitionType.MsiPatchHeaders: |
| 396 | return TupleDefinitions.MsiPatchHeaders; | 396 | return SymbolDefinitions.MsiPatchHeaders; |
| 397 | 397 | ||
| 398 | case TupleDefinitionType.MsiPatchMetadata: | 398 | case SymbolDefinitionType.MsiPatchMetadata: |
| 399 | return TupleDefinitions.MsiPatchMetadata; | 399 | return SymbolDefinitions.MsiPatchMetadata; |
| 400 | 400 | ||
| 401 | case TupleDefinitionType.MsiPatchOldAssemblyFile: | 401 | case SymbolDefinitionType.MsiPatchOldAssemblyFile: |
| 402 | return TupleDefinitions.MsiPatchOldAssemblyFile; | 402 | return SymbolDefinitions.MsiPatchOldAssemblyFile; |
| 403 | 403 | ||
| 404 | case TupleDefinitionType.MsiPatchOldAssemblyName: | 404 | case SymbolDefinitionType.MsiPatchOldAssemblyName: |
| 405 | return TupleDefinitions.MsiPatchOldAssemblyName; | 405 | return SymbolDefinitions.MsiPatchOldAssemblyName; |
| 406 | 406 | ||
| 407 | case TupleDefinitionType.MsiPatchSequence: | 407 | case SymbolDefinitionType.MsiPatchSequence: |
| 408 | return TupleDefinitions.MsiPatchSequence; | 408 | return SymbolDefinitions.MsiPatchSequence; |
| 409 | 409 | ||
| 410 | case TupleDefinitionType.MsiServiceConfig: | 410 | case SymbolDefinitionType.MsiServiceConfig: |
| 411 | return TupleDefinitions.MsiServiceConfig; | 411 | return SymbolDefinitions.MsiServiceConfig; |
| 412 | 412 | ||
| 413 | case TupleDefinitionType.MsiServiceConfigFailureActions: | 413 | case SymbolDefinitionType.MsiServiceConfigFailureActions: |
| 414 | return TupleDefinitions.MsiServiceConfigFailureActions; | 414 | return SymbolDefinitions.MsiServiceConfigFailureActions; |
| 415 | 415 | ||
| 416 | case TupleDefinitionType.MsiShortcutProperty: | 416 | case SymbolDefinitionType.MsiShortcutProperty: |
| 417 | return TupleDefinitions.MsiShortcutProperty; | 417 | return SymbolDefinitions.MsiShortcutProperty; |
| 418 | 418 | ||
| 419 | case TupleDefinitionType.ODBCAttribute: | 419 | case SymbolDefinitionType.ODBCAttribute: |
| 420 | return TupleDefinitions.ODBCAttribute; | 420 | return SymbolDefinitions.ODBCAttribute; |
| 421 | 421 | ||
| 422 | case TupleDefinitionType.ODBCDataSource: | 422 | case SymbolDefinitionType.ODBCDataSource: |
| 423 | return TupleDefinitions.ODBCDataSource; | 423 | return SymbolDefinitions.ODBCDataSource; |
| 424 | 424 | ||
| 425 | case TupleDefinitionType.ODBCDriver: | 425 | case SymbolDefinitionType.ODBCDriver: |
| 426 | return TupleDefinitions.ODBCDriver; | 426 | return SymbolDefinitions.ODBCDriver; |
| 427 | 427 | ||
| 428 | case TupleDefinitionType.ODBCSourceAttribute: | 428 | case SymbolDefinitionType.ODBCSourceAttribute: |
| 429 | return TupleDefinitions.ODBCSourceAttribute; | 429 | return SymbolDefinitions.ODBCSourceAttribute; |
| 430 | 430 | ||
| 431 | case TupleDefinitionType.ODBCTranslator: | 431 | case SymbolDefinitionType.ODBCTranslator: |
| 432 | return TupleDefinitions.ODBCTranslator; | 432 | return SymbolDefinitions.ODBCTranslator; |
| 433 | 433 | ||
| 434 | case TupleDefinitionType.Patch: | 434 | case SymbolDefinitionType.Patch: |
| 435 | return TupleDefinitions.Patch; | 435 | return SymbolDefinitions.Patch; |
| 436 | 436 | ||
| 437 | case TupleDefinitionType.PatchMetadata: | 437 | case SymbolDefinitionType.PatchMetadata: |
| 438 | return TupleDefinitions.PatchMetadata; | 438 | return SymbolDefinitions.PatchMetadata; |
| 439 | 439 | ||
| 440 | case TupleDefinitionType.PatchPackage: | 440 | case SymbolDefinitionType.PatchPackage: |
| 441 | return TupleDefinitions.PatchPackage; | 441 | return SymbolDefinitions.PatchPackage; |
| 442 | 442 | ||
| 443 | case TupleDefinitionType.PatchSequence: | 443 | case SymbolDefinitionType.PatchSequence: |
| 444 | return TupleDefinitions.PatchSequence; | 444 | return SymbolDefinitions.PatchSequence; |
| 445 | 445 | ||
| 446 | case TupleDefinitionType.ProgId: | 446 | case SymbolDefinitionType.ProgId: |
| 447 | return TupleDefinitions.ProgId; | 447 | return SymbolDefinitions.ProgId; |
| 448 | 448 | ||
| 449 | case TupleDefinitionType.Properties: | 449 | case SymbolDefinitionType.Properties: |
| 450 | return TupleDefinitions.Properties; | 450 | return SymbolDefinitions.Properties; |
| 451 | 451 | ||
| 452 | case TupleDefinitionType.Property: | 452 | case SymbolDefinitionType.Property: |
| 453 | return TupleDefinitions.Property; | 453 | return SymbolDefinitions.Property; |
| 454 | 454 | ||
| 455 | case TupleDefinitionType.PublishComponent: | 455 | case SymbolDefinitionType.PublishComponent: |
| 456 | return TupleDefinitions.PublishComponent; | 456 | return SymbolDefinitions.PublishComponent; |
| 457 | 457 | ||
| 458 | case TupleDefinitionType.ProvidesDependency: | 458 | case SymbolDefinitionType.ProvidesDependency: |
| 459 | return TupleDefinitions.ProvidesDependency; | 459 | return SymbolDefinitions.ProvidesDependency; |
| 460 | 460 | ||
| 461 | case TupleDefinitionType.RadioButton: | 461 | case SymbolDefinitionType.RadioButton: |
| 462 | return TupleDefinitions.RadioButton; | 462 | return SymbolDefinitions.RadioButton; |
| 463 | 463 | ||
| 464 | case TupleDefinitionType.Registry: | 464 | case SymbolDefinitionType.Registry: |
| 465 | return TupleDefinitions.Registry; | 465 | return SymbolDefinitions.Registry; |
| 466 | 466 | ||
| 467 | case TupleDefinitionType.RegLocator: | 467 | case SymbolDefinitionType.RegLocator: |
| 468 | return TupleDefinitions.RegLocator; | 468 | return SymbolDefinitions.RegLocator; |
| 469 | 469 | ||
| 470 | case TupleDefinitionType.RemoveFile: | 470 | case SymbolDefinitionType.RemoveFile: |
| 471 | return TupleDefinitions.RemoveFile; | 471 | return SymbolDefinitions.RemoveFile; |
| 472 | 472 | ||
| 473 | case TupleDefinitionType.RemoveRegistry: | 473 | case SymbolDefinitionType.RemoveRegistry: |
| 474 | return TupleDefinitions.RemoveRegistry; | 474 | return SymbolDefinitions.RemoveRegistry; |
| 475 | 475 | ||
| 476 | case TupleDefinitionType.ReserveCost: | 476 | case SymbolDefinitionType.ReserveCost: |
| 477 | return TupleDefinitions.ReserveCost; | 477 | return SymbolDefinitions.ReserveCost; |
| 478 | 478 | ||
| 479 | case TupleDefinitionType.ServiceControl: | 479 | case SymbolDefinitionType.ServiceControl: |
| 480 | return TupleDefinitions.ServiceControl; | 480 | return SymbolDefinitions.ServiceControl; |
| 481 | 481 | ||
| 482 | case TupleDefinitionType.ServiceInstall: | 482 | case SymbolDefinitionType.ServiceInstall: |
| 483 | return TupleDefinitions.ServiceInstall; | 483 | return SymbolDefinitions.ServiceInstall; |
| 484 | 484 | ||
| 485 | case TupleDefinitionType.SFPCatalog: | 485 | case SymbolDefinitionType.SFPCatalog: |
| 486 | return TupleDefinitions.SFPCatalog; | 486 | return SymbolDefinitions.SFPCatalog; |
| 487 | 487 | ||
| 488 | case TupleDefinitionType.Shortcut: | 488 | case SymbolDefinitionType.Shortcut: |
| 489 | return TupleDefinitions.Shortcut; | 489 | return SymbolDefinitions.Shortcut; |
| 490 | 490 | ||
| 491 | case TupleDefinitionType.Signature: | 491 | case SymbolDefinitionType.Signature: |
| 492 | return TupleDefinitions.Signature; | 492 | return SymbolDefinitions.Signature; |
| 493 | 493 | ||
| 494 | case TupleDefinitionType.TargetFilesOptionalData: | 494 | case SymbolDefinitionType.TargetFilesOptionalData: |
| 495 | return TupleDefinitions.TargetFilesOptionalData; | 495 | return SymbolDefinitions.TargetFilesOptionalData; |
| 496 | 496 | ||
| 497 | case TupleDefinitionType.TargetImages: | 497 | case SymbolDefinitionType.TargetImages: |
| 498 | return TupleDefinitions.TargetImages; | 498 | return SymbolDefinitions.TargetImages; |
| 499 | 499 | ||
| 500 | case TupleDefinitionType.TextStyle: | 500 | case SymbolDefinitionType.TextStyle: |
| 501 | return TupleDefinitions.TextStyle; | 501 | return SymbolDefinitions.TextStyle; |
| 502 | 502 | ||
| 503 | case TupleDefinitionType.TypeLib: | 503 | case SymbolDefinitionType.TypeLib: |
| 504 | return TupleDefinitions.TypeLib; | 504 | return SymbolDefinitions.TypeLib; |
| 505 | 505 | ||
| 506 | case TupleDefinitionType.UIText: | 506 | case SymbolDefinitionType.UIText: |
| 507 | return TupleDefinitions.UIText; | 507 | return SymbolDefinitions.UIText; |
| 508 | 508 | ||
| 509 | case TupleDefinitionType.Upgrade: | 509 | case SymbolDefinitionType.Upgrade: |
| 510 | return TupleDefinitions.Upgrade; | 510 | return SymbolDefinitions.Upgrade; |
| 511 | 511 | ||
| 512 | case TupleDefinitionType.UpgradedFilesOptionalData: | 512 | case SymbolDefinitionType.UpgradedFilesOptionalData: |
| 513 | return TupleDefinitions.UpgradedFilesOptionalData; | 513 | return SymbolDefinitions.UpgradedFilesOptionalData; |
| 514 | 514 | ||
| 515 | case TupleDefinitionType.UpgradedFilesToIgnore: | 515 | case SymbolDefinitionType.UpgradedFilesToIgnore: |
| 516 | return TupleDefinitions.UpgradedFilesToIgnore; | 516 | return SymbolDefinitions.UpgradedFilesToIgnore; |
| 517 | 517 | ||
| 518 | case TupleDefinitionType.UpgradedImages: | 518 | case SymbolDefinitionType.UpgradedImages: |
| 519 | return TupleDefinitions.UpgradedImages; | 519 | return SymbolDefinitions.UpgradedImages; |
| 520 | 520 | ||
| 521 | case TupleDefinitionType.Verb: | 521 | case SymbolDefinitionType.Verb: |
| 522 | return TupleDefinitions.Verb; | 522 | return SymbolDefinitions.Verb; |
| 523 | 523 | ||
| 524 | case TupleDefinitionType.WixAction: | 524 | case SymbolDefinitionType.WixAction: |
| 525 | return TupleDefinitions.WixAction; | 525 | return SymbolDefinitions.WixAction; |
| 526 | 526 | ||
| 527 | case TupleDefinitionType.WixApprovedExeForElevation: | 527 | case SymbolDefinitionType.WixApprovedExeForElevation: |
| 528 | return TupleDefinitions.WixApprovedExeForElevation; | 528 | return SymbolDefinitions.WixApprovedExeForElevation; |
| 529 | 529 | ||
| 530 | case TupleDefinitionType.WixBindUpdatedFiles: | 530 | case SymbolDefinitionType.WixBindUpdatedFiles: |
| 531 | return TupleDefinitions.WixBindUpdatedFiles; | 531 | return SymbolDefinitions.WixBindUpdatedFiles; |
| 532 | 532 | ||
| 533 | case TupleDefinitionType.WixBootstrapperApplication: | 533 | case SymbolDefinitionType.WixBootstrapperApplication: |
| 534 | return TupleDefinitions.WixBootstrapperApplication; | 534 | return SymbolDefinitions.WixBootstrapperApplication; |
| 535 | 535 | ||
| 536 | case TupleDefinitionType.WixBuildInfo: | 536 | case SymbolDefinitionType.WixBuildInfo: |
| 537 | return TupleDefinitions.WixBuildInfo; | 537 | return SymbolDefinitions.WixBuildInfo; |
| 538 | 538 | ||
| 539 | case TupleDefinitionType.WixBundle: | 539 | case SymbolDefinitionType.WixBundle: |
| 540 | return TupleDefinitions.WixBundle; | 540 | return SymbolDefinitions.WixBundle; |
| 541 | 541 | ||
| 542 | case TupleDefinitionType.WixBundleCatalog: | 542 | case SymbolDefinitionType.WixBundleCatalog: |
| 543 | return TupleDefinitions.WixBundleCatalog; | 543 | return SymbolDefinitions.WixBundleCatalog; |
| 544 | 544 | ||
| 545 | case TupleDefinitionType.WixBundleContainer: | 545 | case SymbolDefinitionType.WixBundleContainer: |
| 546 | return TupleDefinitions.WixBundleContainer; | 546 | return SymbolDefinitions.WixBundleContainer; |
| 547 | 547 | ||
| 548 | case TupleDefinitionType.WixBundleCustomData: | 548 | case SymbolDefinitionType.WixBundleCustomData: |
| 549 | return TupleDefinitions.WixBundleCustomData; | 549 | return SymbolDefinitions.WixBundleCustomData; |
| 550 | 550 | ||
| 551 | case TupleDefinitionType.WixBundleCustomDataAttribute: | 551 | case SymbolDefinitionType.WixBundleCustomDataAttribute: |
| 552 | return TupleDefinitions.WixBundleCustomDataAttribute; | 552 | return SymbolDefinitions.WixBundleCustomDataAttribute; |
| 553 | 553 | ||
| 554 | case TupleDefinitionType.WixBundleCustomDataCell: | 554 | case SymbolDefinitionType.WixBundleCustomDataCell: |
| 555 | return TupleDefinitions.WixBundleCustomDataCell; | 555 | return SymbolDefinitions.WixBundleCustomDataCell; |
| 556 | 556 | ||
| 557 | case TupleDefinitionType.WixBundleExtension: | 557 | case SymbolDefinitionType.WixBundleExtension: |
| 558 | return TupleDefinitions.WixBundleExtension; | 558 | return SymbolDefinitions.WixBundleExtension; |
| 559 | 559 | ||
| 560 | case TupleDefinitionType.WixBundleExePackage: | 560 | case SymbolDefinitionType.WixBundleExePackage: |
| 561 | return TupleDefinitions.WixBundleExePackage; | 561 | return SymbolDefinitions.WixBundleExePackage; |
| 562 | 562 | ||
| 563 | case TupleDefinitionType.WixBundleMsiFeature: | 563 | case SymbolDefinitionType.WixBundleMsiFeature: |
| 564 | return TupleDefinitions.WixBundleMsiFeature; | 564 | return SymbolDefinitions.WixBundleMsiFeature; |
| 565 | 565 | ||
| 566 | case TupleDefinitionType.WixBundleMsiPackage: | 566 | case SymbolDefinitionType.WixBundleMsiPackage: |
| 567 | return TupleDefinitions.WixBundleMsiPackage; | 567 | return SymbolDefinitions.WixBundleMsiPackage; |
| 568 | 568 | ||
| 569 | case TupleDefinitionType.WixBundleMsiProperty: | 569 | case SymbolDefinitionType.WixBundleMsiProperty: |
| 570 | return TupleDefinitions.WixBundleMsiProperty; | 570 | return SymbolDefinitions.WixBundleMsiProperty; |
| 571 | 571 | ||
| 572 | case TupleDefinitionType.WixBundleMspPackage: | 572 | case SymbolDefinitionType.WixBundleMspPackage: |
| 573 | return TupleDefinitions.WixBundleMspPackage; | 573 | return SymbolDefinitions.WixBundleMspPackage; |
| 574 | 574 | ||
| 575 | case TupleDefinitionType.WixBundleMsuPackage: | 575 | case SymbolDefinitionType.WixBundleMsuPackage: |
| 576 | return TupleDefinitions.WixBundleMsuPackage; | 576 | return SymbolDefinitions.WixBundleMsuPackage; |
| 577 | 577 | ||
| 578 | case TupleDefinitionType.WixBundlePackage: | 578 | case SymbolDefinitionType.WixBundlePackage: |
| 579 | return TupleDefinitions.WixBundlePackage; | 579 | return SymbolDefinitions.WixBundlePackage; |
| 580 | 580 | ||
| 581 | case TupleDefinitionType.WixBundlePackageCommandLine: | 581 | case SymbolDefinitionType.WixBundlePackageCommandLine: |
| 582 | return TupleDefinitions.WixBundlePackageCommandLine; | 582 | return SymbolDefinitions.WixBundlePackageCommandLine; |
| 583 | 583 | ||
| 584 | case TupleDefinitionType.WixBundlePackageExitCode: | 584 | case SymbolDefinitionType.WixBundlePackageExitCode: |
| 585 | return TupleDefinitions.WixBundlePackageExitCode; | 585 | return SymbolDefinitions.WixBundlePackageExitCode; |
| 586 | 586 | ||
| 587 | case TupleDefinitionType.WixBundlePackageGroup: | 587 | case SymbolDefinitionType.WixBundlePackageGroup: |
| 588 | return TupleDefinitions.WixBundlePackageGroup; | 588 | return SymbolDefinitions.WixBundlePackageGroup; |
| 589 | 589 | ||
| 590 | case TupleDefinitionType.WixBundlePatchTargetCode: | 590 | case SymbolDefinitionType.WixBundlePatchTargetCode: |
| 591 | return TupleDefinitions.WixBundlePatchTargetCode; | 591 | return SymbolDefinitions.WixBundlePatchTargetCode; |
| 592 | 592 | ||
| 593 | case TupleDefinitionType.WixBundlePayload: | 593 | case SymbolDefinitionType.WixBundlePayload: |
| 594 | return TupleDefinitions.WixBundlePayload; | 594 | return SymbolDefinitions.WixBundlePayload; |
| 595 | 595 | ||
| 596 | case TupleDefinitionType.WixBundlePayloadGroup: | 596 | case SymbolDefinitionType.WixBundlePayloadGroup: |
| 597 | return TupleDefinitions.WixBundlePayloadGroup; | 597 | return SymbolDefinitions.WixBundlePayloadGroup; |
| 598 | 598 | ||
| 599 | case TupleDefinitionType.WixBundleRelatedPackage: | 599 | case SymbolDefinitionType.WixBundleRelatedPackage: |
| 600 | return TupleDefinitions.WixBundleRelatedPackage; | 600 | return SymbolDefinitions.WixBundleRelatedPackage; |
| 601 | 601 | ||
| 602 | case TupleDefinitionType.WixBundleRollbackBoundary: | 602 | case SymbolDefinitionType.WixBundleRollbackBoundary: |
| 603 | return TupleDefinitions.WixBundleRollbackBoundary; | 603 | return SymbolDefinitions.WixBundleRollbackBoundary; |
| 604 | 604 | ||
| 605 | case TupleDefinitionType.WixBundleSlipstreamMsp: | 605 | case SymbolDefinitionType.WixBundleSlipstreamMsp: |
| 606 | return TupleDefinitions.WixBundleSlipstreamMsp; | 606 | return SymbolDefinitions.WixBundleSlipstreamMsp; |
| 607 | 607 | ||
| 608 | case TupleDefinitionType.WixBundleUpdate: | 608 | case SymbolDefinitionType.WixBundleUpdate: |
| 609 | return TupleDefinitions.WixBundleUpdate; | 609 | return SymbolDefinitions.WixBundleUpdate; |
| 610 | 610 | ||
| 611 | case TupleDefinitionType.WixBundleVariable: | 611 | case SymbolDefinitionType.WixBundleVariable: |
| 612 | return TupleDefinitions.WixBundleVariable; | 612 | return SymbolDefinitions.WixBundleVariable; |
| 613 | 613 | ||
| 614 | case TupleDefinitionType.WixChain: | 614 | case SymbolDefinitionType.WixChain: |
| 615 | return TupleDefinitions.WixChain; | 615 | return SymbolDefinitions.WixChain; |
| 616 | 616 | ||
| 617 | case TupleDefinitionType.WixChainItem: | 617 | case SymbolDefinitionType.WixChainItem: |
| 618 | return TupleDefinitions.WixChainItem; | 618 | return SymbolDefinitions.WixChainItem; |
| 619 | 619 | ||
| 620 | case TupleDefinitionType.WixComplexReference: | 620 | case SymbolDefinitionType.WixComplexReference: |
| 621 | return TupleDefinitions.WixComplexReference; | 621 | return SymbolDefinitions.WixComplexReference; |
| 622 | 622 | ||
| 623 | case TupleDefinitionType.WixComponentGroup: | 623 | case SymbolDefinitionType.WixComponentGroup: |
| 624 | return TupleDefinitions.WixComponentGroup; | 624 | return SymbolDefinitions.WixComponentGroup; |
| 625 | 625 | ||
| 626 | case TupleDefinitionType.WixComponentSearch: | 626 | case SymbolDefinitionType.WixComponentSearch: |
| 627 | return TupleDefinitions.WixComponentSearch; | 627 | return SymbolDefinitions.WixComponentSearch; |
| 628 | 628 | ||
| 629 | case TupleDefinitionType.WixCustomTable: | 629 | case SymbolDefinitionType.WixCustomTable: |
| 630 | return TupleDefinitions.WixCustomTable; | 630 | return SymbolDefinitions.WixCustomTable; |
| 631 | 631 | ||
| 632 | case TupleDefinitionType.WixCustomTableCell: | 632 | case SymbolDefinitionType.WixCustomTableCell: |
| 633 | return TupleDefinitions.WixCustomTableCell; | 633 | return SymbolDefinitions.WixCustomTableCell; |
| 634 | 634 | ||
| 635 | case TupleDefinitionType.WixCustomTableColumn: | 635 | case SymbolDefinitionType.WixCustomTableColumn: |
| 636 | return TupleDefinitions.WixCustomTableColumn; | 636 | return SymbolDefinitions.WixCustomTableColumn; |
| 637 | 637 | ||
| 638 | case TupleDefinitionType.WixDeltaPatchFile: | 638 | case SymbolDefinitionType.WixDeltaPatchFile: |
| 639 | return TupleDefinitions.WixDeltaPatchFile; | 639 | return SymbolDefinitions.WixDeltaPatchFile; |
| 640 | 640 | ||
| 641 | case TupleDefinitionType.WixDeltaPatchSymbolPaths: | 641 | case SymbolDefinitionType.WixDeltaPatchSymbolPaths: |
| 642 | return TupleDefinitions.WixDeltaPatchSymbolPaths; | 642 | return SymbolDefinitions.WixDeltaPatchSymbolPaths; |
| 643 | 643 | ||
| 644 | case TupleDefinitionType.WixEnsureTable: | 644 | case SymbolDefinitionType.WixEnsureTable: |
| 645 | return TupleDefinitions.WixEnsureTable; | 645 | return SymbolDefinitions.WixEnsureTable; |
| 646 | 646 | ||
| 647 | case TupleDefinitionType.WixFeatureGroup: | 647 | case SymbolDefinitionType.WixFeatureGroup: |
| 648 | return TupleDefinitions.WixFeatureGroup; | 648 | return SymbolDefinitions.WixFeatureGroup; |
| 649 | 649 | ||
| 650 | case TupleDefinitionType.WixFeatureModules: | 650 | case SymbolDefinitionType.WixFeatureModules: |
| 651 | return TupleDefinitions.WixFeatureModules; | 651 | return SymbolDefinitions.WixFeatureModules; |
| 652 | 652 | ||
| 653 | case TupleDefinitionType.WixFileSearch: | 653 | case SymbolDefinitionType.WixFileSearch: |
| 654 | return TupleDefinitions.WixFileSearch; | 654 | return SymbolDefinitions.WixFileSearch; |
| 655 | 655 | ||
| 656 | case TupleDefinitionType.WixFragment: | 656 | case SymbolDefinitionType.WixFragment: |
| 657 | return TupleDefinitions.WixFragment; | 657 | return SymbolDefinitions.WixFragment; |
| 658 | 658 | ||
| 659 | case TupleDefinitionType.WixGroup: | 659 | case SymbolDefinitionType.WixGroup: |
| 660 | return TupleDefinitions.WixGroup; | 660 | return SymbolDefinitions.WixGroup; |
| 661 | 661 | ||
| 662 | case TupleDefinitionType.WixInstanceComponent: | 662 | case SymbolDefinitionType.WixInstanceComponent: |
| 663 | return TupleDefinitions.WixInstanceComponent; | 663 | return SymbolDefinitions.WixInstanceComponent; |
| 664 | 664 | ||
| 665 | case TupleDefinitionType.WixInstanceTransforms: | 665 | case SymbolDefinitionType.WixInstanceTransforms: |
| 666 | return TupleDefinitions.WixInstanceTransforms; | 666 | return SymbolDefinitions.WixInstanceTransforms; |
| 667 | 667 | ||
| 668 | case TupleDefinitionType.WixMediaTemplate: | 668 | case SymbolDefinitionType.WixMediaTemplate: |
| 669 | return TupleDefinitions.WixMediaTemplate; | 669 | return SymbolDefinitions.WixMediaTemplate; |
| 670 | 670 | ||
| 671 | case TupleDefinitionType.WixMerge: | 671 | case SymbolDefinitionType.WixMerge: |
| 672 | return TupleDefinitions.WixMerge; | 672 | return SymbolDefinitions.WixMerge; |
| 673 | 673 | ||
| 674 | case TupleDefinitionType.WixOrdering: | 674 | case SymbolDefinitionType.WixOrdering: |
| 675 | return TupleDefinitions.WixOrdering; | 675 | return SymbolDefinitions.WixOrdering; |
| 676 | 676 | ||
| 677 | case TupleDefinitionType.WixPatchBaseline: | 677 | case SymbolDefinitionType.WixPatchBaseline: |
| 678 | return TupleDefinitions.WixPatchBaseline; | 678 | return SymbolDefinitions.WixPatchBaseline; |
| 679 | 679 | ||
| 680 | case TupleDefinitionType.WixPatchFamilyGroup: | 680 | case SymbolDefinitionType.WixPatchFamilyGroup: |
| 681 | return TupleDefinitions.WixPatchFamilyGroup; | 681 | return SymbolDefinitions.WixPatchFamilyGroup; |
| 682 | 682 | ||
| 683 | case TupleDefinitionType.WixPatchId: | 683 | case SymbolDefinitionType.WixPatchId: |
| 684 | return TupleDefinitions.WixPatchId; | 684 | return SymbolDefinitions.WixPatchId; |
| 685 | 685 | ||
| 686 | case TupleDefinitionType.WixPatchRef: | 686 | case SymbolDefinitionType.WixPatchRef: |
| 687 | return TupleDefinitions.WixPatchRef; | 687 | return SymbolDefinitions.WixPatchRef; |
| 688 | 688 | ||
| 689 | case TupleDefinitionType.WixPatchTarget: | 689 | case SymbolDefinitionType.WixPatchTarget: |
| 690 | return TupleDefinitions.WixPatchTarget; | 690 | return SymbolDefinitions.WixPatchTarget; |
| 691 | 691 | ||
| 692 | case TupleDefinitionType.WixProductSearch: | 692 | case SymbolDefinitionType.WixProductSearch: |
| 693 | return TupleDefinitions.WixProductSearch; | 693 | return SymbolDefinitions.WixProductSearch; |
| 694 | 694 | ||
| 695 | case TupleDefinitionType.WixProperty: | 695 | case SymbolDefinitionType.WixProperty: |
| 696 | return TupleDefinitions.WixProperty; | 696 | return SymbolDefinitions.WixProperty; |
| 697 | 697 | ||
| 698 | case TupleDefinitionType.WixRegistrySearch: | 698 | case SymbolDefinitionType.WixRegistrySearch: |
| 699 | return TupleDefinitions.WixRegistrySearch; | 699 | return SymbolDefinitions.WixRegistrySearch; |
| 700 | 700 | ||
| 701 | case TupleDefinitionType.WixRelatedBundle: | 701 | case SymbolDefinitionType.WixRelatedBundle: |
| 702 | return TupleDefinitions.WixRelatedBundle; | 702 | return SymbolDefinitions.WixRelatedBundle; |
| 703 | 703 | ||
| 704 | case TupleDefinitionType.WixSearch: | 704 | case SymbolDefinitionType.WixSearch: |
| 705 | return TupleDefinitions.WixSearch; | 705 | return SymbolDefinitions.WixSearch; |
| 706 | 706 | ||
| 707 | case TupleDefinitionType.WixSearchRelation: | 707 | case SymbolDefinitionType.WixSearchRelation: |
| 708 | return TupleDefinitions.WixSearchRelation; | 708 | return SymbolDefinitions.WixSearchRelation; |
| 709 | 709 | ||
| 710 | case TupleDefinitionType.WixSetVariable: | 710 | case SymbolDefinitionType.WixSetVariable: |
| 711 | return TupleDefinitions.WixSetVariable; | 711 | return SymbolDefinitions.WixSetVariable; |
| 712 | 712 | ||
| 713 | case TupleDefinitionType.WixSimpleReference: | 713 | case SymbolDefinitionType.WixSimpleReference: |
| 714 | return TupleDefinitions.WixSimpleReference; | 714 | return SymbolDefinitions.WixSimpleReference; |
| 715 | 715 | ||
| 716 | case TupleDefinitionType.WixSuppressAction: | 716 | case SymbolDefinitionType.WixSuppressAction: |
| 717 | return TupleDefinitions.WixSuppressAction; | 717 | return SymbolDefinitions.WixSuppressAction; |
| 718 | 718 | ||
| 719 | case TupleDefinitionType.WixSuppressModularization: | 719 | case SymbolDefinitionType.WixSuppressModularization: |
| 720 | return TupleDefinitions.WixSuppressModularization; | 720 | return SymbolDefinitions.WixSuppressModularization; |
| 721 | 721 | ||
| 722 | case TupleDefinitionType.WixUI: | 722 | case SymbolDefinitionType.WixUI: |
| 723 | return TupleDefinitions.WixUI; | 723 | return SymbolDefinitions.WixUI; |
| 724 | 724 | ||
| 725 | case TupleDefinitionType.WixUpdateRegistration: | 725 | case SymbolDefinitionType.WixUpdateRegistration: |
| 726 | return TupleDefinitions.WixUpdateRegistration; | 726 | return SymbolDefinitions.WixUpdateRegistration; |
| 727 | 727 | ||
| 728 | case TupleDefinitionType.WixVariable: | 728 | case SymbolDefinitionType.WixVariable: |
| 729 | return TupleDefinitions.WixVariable; | 729 | return SymbolDefinitions.WixVariable; |
| 730 | 730 | ||
| 731 | default: | 731 | default: |
| 732 | throw new ArgumentOutOfRangeException(nameof(type)); | 732 | throw new ArgumentOutOfRangeException(nameof(type)); |
diff --git a/src/WixToolset.Data/Tuples/TypeLibTuple.cs b/src/WixToolset.Data/Tuples/TypeLibTuple.cs index 071fe593..736ee292 100644 --- a/src/WixToolset.Data/Tuples/TypeLibTuple.cs +++ b/src/WixToolset.Data/Tuples/TypeLibTuple.cs | |||
| @@ -2,30 +2,30 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 TypeLib = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition TypeLib = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.TypeLib, | 10 | SymbolDefinitionType.TypeLib, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(TypeLibTupleFields.LibId), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(TypeLibSymbolFields.LibId), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(TypeLibTupleFields.Language), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(TypeLibSymbolFields.Language), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(TypeLibTupleFields.ComponentRef), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(TypeLibSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(TypeLibTupleFields.Version), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(TypeLibSymbolFields.Version), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(TypeLibTupleFields.Description), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(TypeLibSymbolFields.Description), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(TypeLibTupleFields.DirectoryRef), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(TypeLibSymbolFields.DirectoryRef), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(TypeLibTupleFields.FeatureRef), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(TypeLibSymbolFields.FeatureRef), IntermediateFieldType.String), |
| 20 | new IntermediateFieldDefinition(nameof(TypeLibTupleFields.Cost), IntermediateFieldType.Number), | 20 | new IntermediateFieldDefinition(nameof(TypeLibSymbolFields.Cost), IntermediateFieldType.Number), |
| 21 | }, | 21 | }, |
| 22 | typeof(TypeLibTuple)); | 22 | typeof(TypeLibSymbol)); |
| 23 | } | 23 | } |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | namespace WixToolset.Data.Tuples | 26 | namespace WixToolset.Data.Symbols |
| 27 | { | 27 | { |
| 28 | public enum TypeLibTupleFields | 28 | public enum TypeLibSymbolFields |
| 29 | { | 29 | { |
| 30 | LibId, | 30 | LibId, |
| 31 | Language, | 31 | Language, |
| @@ -37,64 +37,64 @@ namespace WixToolset.Data.Tuples | |||
| 37 | Cost, | 37 | Cost, |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public class TypeLibTuple : IntermediateTuple | 40 | public class TypeLibSymbol : IntermediateSymbol |
| 41 | { | 41 | { |
| 42 | public TypeLibTuple() : base(TupleDefinitions.TypeLib, null, null) | 42 | public TypeLibSymbol() : base(SymbolDefinitions.TypeLib, null, null) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public TypeLibTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.TypeLib, sourceLineNumber, id) | 46 | public TypeLibSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.TypeLib, sourceLineNumber, id) |
| 47 | { | 47 | { |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public IntermediateField this[TypeLibTupleFields index] => this.Fields[(int)index]; | 50 | public IntermediateField this[TypeLibSymbolFields index] => this.Fields[(int)index]; |
| 51 | 51 | ||
| 52 | public string LibId | 52 | public string LibId |
| 53 | { | 53 | { |
| 54 | get => (string)this.Fields[(int)TypeLibTupleFields.LibId]; | 54 | get => (string)this.Fields[(int)TypeLibSymbolFields.LibId]; |
| 55 | set => this.Set((int)TypeLibTupleFields.LibId, value); | 55 | set => this.Set((int)TypeLibSymbolFields.LibId, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public int Language | 58 | public int Language |
| 59 | { | 59 | { |
| 60 | get => (int)this.Fields[(int)TypeLibTupleFields.Language]; | 60 | get => (int)this.Fields[(int)TypeLibSymbolFields.Language]; |
| 61 | set => this.Set((int)TypeLibTupleFields.Language, value); | 61 | set => this.Set((int)TypeLibSymbolFields.Language, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public string ComponentRef | 64 | public string ComponentRef |
| 65 | { | 65 | { |
| 66 | get => (string)this.Fields[(int)TypeLibTupleFields.ComponentRef]; | 66 | get => (string)this.Fields[(int)TypeLibSymbolFields.ComponentRef]; |
| 67 | set => this.Set((int)TypeLibTupleFields.ComponentRef, value); | 67 | set => this.Set((int)TypeLibSymbolFields.ComponentRef, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public int? Version | 70 | public int? Version |
| 71 | { | 71 | { |
| 72 | get => (int?)this.Fields[(int)TypeLibTupleFields.Version]; | 72 | get => (int?)this.Fields[(int)TypeLibSymbolFields.Version]; |
| 73 | set => this.Set((int)TypeLibTupleFields.Version, value); | 73 | set => this.Set((int)TypeLibSymbolFields.Version, value); |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | public string Description | 76 | public string Description |
| 77 | { | 77 | { |
| 78 | get => (string)this.Fields[(int)TypeLibTupleFields.Description]; | 78 | get => (string)this.Fields[(int)TypeLibSymbolFields.Description]; |
| 79 | set => this.Set((int)TypeLibTupleFields.Description, value); | 79 | set => this.Set((int)TypeLibSymbolFields.Description, value); |
| 80 | } | 80 | } |
| 81 | 81 | ||
| 82 | public string DirectoryRef | 82 | public string DirectoryRef |
| 83 | { | 83 | { |
| 84 | get => (string)this.Fields[(int)TypeLibTupleFields.DirectoryRef]; | 84 | get => (string)this.Fields[(int)TypeLibSymbolFields.DirectoryRef]; |
| 85 | set => this.Set((int)TypeLibTupleFields.DirectoryRef, value); | 85 | set => this.Set((int)TypeLibSymbolFields.DirectoryRef, value); |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | public string FeatureRef | 88 | public string FeatureRef |
| 89 | { | 89 | { |
| 90 | get => (string)this.Fields[(int)TypeLibTupleFields.FeatureRef]; | 90 | get => (string)this.Fields[(int)TypeLibSymbolFields.FeatureRef]; |
| 91 | set => this.Set((int)TypeLibTupleFields.FeatureRef, value); | 91 | set => this.Set((int)TypeLibSymbolFields.FeatureRef, value); |
| 92 | } | 92 | } |
| 93 | 93 | ||
| 94 | public int? Cost | 94 | public int? Cost |
| 95 | { | 95 | { |
| 96 | get => (int?)this.Fields[(int)TypeLibTupleFields.Cost]; | 96 | get => (int?)this.Fields[(int)TypeLibSymbolFields.Cost]; |
| 97 | set => this.Set((int)TypeLibTupleFields.Cost, value); | 97 | set => this.Set((int)TypeLibSymbolFields.Cost, value); |
| 98 | } | 98 | } |
| 99 | } | 99 | } |
| 100 | } | 100 | } |
diff --git a/src/WixToolset.Data/Tuples/UITextTuple.cs b/src/WixToolset.Data/Tuples/UITextTuple.cs index fee04597..39b99398 100644 --- a/src/WixToolset.Data/Tuples/UITextTuple.cs +++ b/src/WixToolset.Data/Tuples/UITextTuple.cs | |||
| @@ -2,43 +2,43 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 UIText = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition UIText = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.UIText, | 10 | SymbolDefinitionType.UIText, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(UITextTupleFields.Text), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(UITextSymbolFields.Text), IntermediateFieldType.String), |
| 14 | }, | 14 | }, |
| 15 | typeof(UITextTuple)); | 15 | typeof(UITextSymbol)); |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
| 20 | { | 20 | { |
| 21 | public enum UITextTupleFields | 21 | public enum UITextSymbolFields |
| 22 | { | 22 | { |
| 23 | Text, | 23 | Text, |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | public class UITextTuple : IntermediateTuple | 26 | public class UITextSymbol : IntermediateSymbol |
| 27 | { | 27 | { |
| 28 | public UITextTuple() : base(TupleDefinitions.UIText, null, null) | 28 | public UITextSymbol() : base(SymbolDefinitions.UIText, null, null) |
| 29 | { | 29 | { |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public UITextTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.UIText, sourceLineNumber, id) | 32 | public UITextSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.UIText, sourceLineNumber, id) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public IntermediateField this[UITextTupleFields index] => this.Fields[(int)index]; | 36 | public IntermediateField this[UITextSymbolFields index] => this.Fields[(int)index]; |
| 37 | 37 | ||
| 38 | public string Text | 38 | public string Text |
| 39 | { | 39 | { |
| 40 | get => (string)this.Fields[(int)UITextTupleFields.Text]; | 40 | get => (string)this.Fields[(int)UITextSymbolFields.Text]; |
| 41 | set => this.Set((int)UITextTupleFields.Text, value); | 41 | set => this.Set((int)UITextSymbolFields.Text, value); |
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | } | 44 | } |
diff --git a/src/WixToolset.Data/Tuples/UpgradeTuple.cs b/src/WixToolset.Data/Tuples/UpgradeTuple.cs index 03e5edd2..d8deee73 100644 --- a/src/WixToolset.Data/Tuples/UpgradeTuple.cs +++ b/src/WixToolset.Data/Tuples/UpgradeTuple.cs | |||
| @@ -2,34 +2,34 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Upgrade = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Upgrade = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Upgrade, | 10 | SymbolDefinitionType.Upgrade, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.UpgradeCode), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(UpgradeSymbolFields.UpgradeCode), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.VersionMin), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(UpgradeSymbolFields.VersionMin), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.VersionMax), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(UpgradeSymbolFields.VersionMax), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.Language), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(UpgradeSymbolFields.Language), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.ExcludeLanguages), IntermediateFieldType.Bool), | 17 | new IntermediateFieldDefinition(nameof(UpgradeSymbolFields.ExcludeLanguages), IntermediateFieldType.Bool), |
| 18 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.IgnoreRemoveFailures), IntermediateFieldType.Bool), | 18 | new IntermediateFieldDefinition(nameof(UpgradeSymbolFields.IgnoreRemoveFailures), IntermediateFieldType.Bool), |
| 19 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.MigrateFeatures), IntermediateFieldType.Bool), | 19 | new IntermediateFieldDefinition(nameof(UpgradeSymbolFields.MigrateFeatures), IntermediateFieldType.Bool), |
| 20 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.OnlyDetect), IntermediateFieldType.Bool), | 20 | new IntermediateFieldDefinition(nameof(UpgradeSymbolFields.OnlyDetect), IntermediateFieldType.Bool), |
| 21 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.VersionMaxInclusive), IntermediateFieldType.Bool), | 21 | new IntermediateFieldDefinition(nameof(UpgradeSymbolFields.VersionMaxInclusive), IntermediateFieldType.Bool), |
| 22 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.VersionMinInclusive), IntermediateFieldType.Bool), | 22 | new IntermediateFieldDefinition(nameof(UpgradeSymbolFields.VersionMinInclusive), IntermediateFieldType.Bool), |
| 23 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.Remove), IntermediateFieldType.String), | 23 | new IntermediateFieldDefinition(nameof(UpgradeSymbolFields.Remove), IntermediateFieldType.String), |
| 24 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.ActionProperty), IntermediateFieldType.String), | 24 | new IntermediateFieldDefinition(nameof(UpgradeSymbolFields.ActionProperty), IntermediateFieldType.String), |
| 25 | }, | 25 | }, |
| 26 | typeof(UpgradeTuple)); | 26 | typeof(UpgradeSymbol)); |
| 27 | } | 27 | } |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | namespace WixToolset.Data.Tuples | 30 | namespace WixToolset.Data.Symbols |
| 31 | { | 31 | { |
| 32 | public enum UpgradeTupleFields | 32 | public enum UpgradeSymbolFields |
| 33 | { | 33 | { |
| 34 | UpgradeCode, | 34 | UpgradeCode, |
| 35 | VersionMin, | 35 | VersionMin, |
| @@ -45,88 +45,88 @@ namespace WixToolset.Data.Tuples | |||
| 45 | ActionProperty, | 45 | ActionProperty, |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public class UpgradeTuple : IntermediateTuple | 48 | public class UpgradeSymbol : IntermediateSymbol |
| 49 | { | 49 | { |
| 50 | public UpgradeTuple() : base(TupleDefinitions.Upgrade, null, null) | 50 | public UpgradeSymbol() : base(SymbolDefinitions.Upgrade, null, null) |
| 51 | { | 51 | { |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public UpgradeTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Upgrade, sourceLineNumber, id) | 54 | public UpgradeSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Upgrade, sourceLineNumber, id) |
| 55 | { | 55 | { |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public IntermediateField this[UpgradeTupleFields index] => this.Fields[(int)index]; | 58 | public IntermediateField this[UpgradeSymbolFields index] => this.Fields[(int)index]; |
| 59 | 59 | ||
| 60 | public string UpgradeCode | 60 | public string UpgradeCode |
| 61 | { | 61 | { |
| 62 | get => (string)this.Fields[(int)UpgradeTupleFields.UpgradeCode]; | 62 | get => (string)this.Fields[(int)UpgradeSymbolFields.UpgradeCode]; |
| 63 | set => this.Set((int)UpgradeTupleFields.UpgradeCode, value); | 63 | set => this.Set((int)UpgradeSymbolFields.UpgradeCode, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public string VersionMin | 66 | public string VersionMin |
| 67 | { | 67 | { |
| 68 | get => (string)this.Fields[(int)UpgradeTupleFields.VersionMin]; | 68 | get => (string)this.Fields[(int)UpgradeSymbolFields.VersionMin]; |
| 69 | set => this.Set((int)UpgradeTupleFields.VersionMin, value); | 69 | set => this.Set((int)UpgradeSymbolFields.VersionMin, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public string VersionMax | 72 | public string VersionMax |
| 73 | { | 73 | { |
| 74 | get => (string)this.Fields[(int)UpgradeTupleFields.VersionMax]; | 74 | get => (string)this.Fields[(int)UpgradeSymbolFields.VersionMax]; |
| 75 | set => this.Set((int)UpgradeTupleFields.VersionMax, value); | 75 | set => this.Set((int)UpgradeSymbolFields.VersionMax, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public string Language | 78 | public string Language |
| 79 | { | 79 | { |
| 80 | get => (string)this.Fields[(int)UpgradeTupleFields.Language]; | 80 | get => (string)this.Fields[(int)UpgradeSymbolFields.Language]; |
| 81 | set => this.Set((int)UpgradeTupleFields.Language, value); | 81 | set => this.Set((int)UpgradeSymbolFields.Language, value); |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | public bool ExcludeLanguages | 84 | public bool ExcludeLanguages |
| 85 | { | 85 | { |
| 86 | get => this.Fields[(int)UpgradeTupleFields.ExcludeLanguages].AsBool(); | 86 | get => this.Fields[(int)UpgradeSymbolFields.ExcludeLanguages].AsBool(); |
| 87 | set => this.Set((int)UpgradeTupleFields.ExcludeLanguages, value); | 87 | set => this.Set((int)UpgradeSymbolFields.ExcludeLanguages, value); |
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | public bool IgnoreRemoveFailures | 90 | public bool IgnoreRemoveFailures |
| 91 | { | 91 | { |
| 92 | get => this.Fields[(int)UpgradeTupleFields.IgnoreRemoveFailures].AsBool(); | 92 | get => this.Fields[(int)UpgradeSymbolFields.IgnoreRemoveFailures].AsBool(); |
| 93 | set => this.Set((int)UpgradeTupleFields.IgnoreRemoveFailures, value); | 93 | set => this.Set((int)UpgradeSymbolFields.IgnoreRemoveFailures, value); |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | public bool MigrateFeatures | 96 | public bool MigrateFeatures |
| 97 | { | 97 | { |
| 98 | get => this.Fields[(int)UpgradeTupleFields.MigrateFeatures].AsBool(); | 98 | get => this.Fields[(int)UpgradeSymbolFields.MigrateFeatures].AsBool(); |
| 99 | set => this.Set((int)UpgradeTupleFields.MigrateFeatures, value); | 99 | set => this.Set((int)UpgradeSymbolFields.MigrateFeatures, value); |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | public bool OnlyDetect | 102 | public bool OnlyDetect |
| 103 | { | 103 | { |
| 104 | get => this.Fields[(int)UpgradeTupleFields.OnlyDetect].AsBool(); | 104 | get => this.Fields[(int)UpgradeSymbolFields.OnlyDetect].AsBool(); |
| 105 | set => this.Set((int)UpgradeTupleFields.OnlyDetect, value); | 105 | set => this.Set((int)UpgradeSymbolFields.OnlyDetect, value); |
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | public bool VersionMaxInclusive | 108 | public bool VersionMaxInclusive |
| 109 | { | 109 | { |
| 110 | get => this.Fields[(int)UpgradeTupleFields.VersionMaxInclusive].AsBool(); | 110 | get => this.Fields[(int)UpgradeSymbolFields.VersionMaxInclusive].AsBool(); |
| 111 | set => this.Set((int)UpgradeTupleFields.VersionMaxInclusive, value); | 111 | set => this.Set((int)UpgradeSymbolFields.VersionMaxInclusive, value); |
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | public bool VersionMinInclusive | 114 | public bool VersionMinInclusive |
| 115 | { | 115 | { |
| 116 | get => this.Fields[(int)UpgradeTupleFields.VersionMinInclusive].AsBool(); | 116 | get => this.Fields[(int)UpgradeSymbolFields.VersionMinInclusive].AsBool(); |
| 117 | set => this.Set((int)UpgradeTupleFields.VersionMinInclusive, value); | 117 | set => this.Set((int)UpgradeSymbolFields.VersionMinInclusive, value); |
| 118 | } | 118 | } |
| 119 | 119 | ||
| 120 | public string Remove | 120 | public string Remove |
| 121 | { | 121 | { |
| 122 | get => (string)this.Fields[(int)UpgradeTupleFields.Remove]; | 122 | get => (string)this.Fields[(int)UpgradeSymbolFields.Remove]; |
| 123 | set => this.Set((int)UpgradeTupleFields.Remove, value); | 123 | set => this.Set((int)UpgradeSymbolFields.Remove, value); |
| 124 | } | 124 | } |
| 125 | 125 | ||
| 126 | public string ActionProperty | 126 | public string ActionProperty |
| 127 | { | 127 | { |
| 128 | get => (string)this.Fields[(int)UpgradeTupleFields.ActionProperty]; | 128 | get => (string)this.Fields[(int)UpgradeSymbolFields.ActionProperty]; |
| 129 | set => this.Set((int)UpgradeTupleFields.ActionProperty, value); | 129 | set => this.Set((int)UpgradeSymbolFields.ActionProperty, value); |
| 130 | } | 130 | } |
| 131 | } | 131 | } |
| 132 | } \ No newline at end of file | 132 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/UpgradedFilesOptionalDataTuple.cs b/src/WixToolset.Data/Tuples/UpgradedFilesOptionalDataTuple.cs index 1b4769b3..9e669ec3 100644 --- a/src/WixToolset.Data/Tuples/UpgradedFilesOptionalDataTuple.cs +++ b/src/WixToolset.Data/Tuples/UpgradedFilesOptionalDataTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 UpgradedFilesOptionalData = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition UpgradedFilesOptionalData = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.UpgradedFilesOptionalData, | 10 | SymbolDefinitionType.UpgradedFilesOptionalData, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(UpgradedFilesOptionalDataTupleFields.Upgraded), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(UpgradedFilesOptionalDataSymbolFields.Upgraded), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(UpgradedFilesOptionalDataTupleFields.FTK), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(UpgradedFilesOptionalDataSymbolFields.FTK), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(UpgradedFilesOptionalDataTupleFields.SymbolPaths), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(UpgradedFilesOptionalDataSymbolFields.SymbolPaths), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(UpgradedFilesOptionalDataTupleFields.AllowIgnoreOnPatchError), IntermediateFieldType.Bool), | 16 | new IntermediateFieldDefinition(nameof(UpgradedFilesOptionalDataSymbolFields.AllowIgnoreOnPatchError), IntermediateFieldType.Bool), |
| 17 | new IntermediateFieldDefinition(nameof(UpgradedFilesOptionalDataTupleFields.IncludeWholeFile), IntermediateFieldType.Bool), | 17 | new IntermediateFieldDefinition(nameof(UpgradedFilesOptionalDataSymbolFields.IncludeWholeFile), IntermediateFieldType.Bool), |
| 18 | }, | 18 | }, |
| 19 | typeof(UpgradedFilesOptionalDataTuple)); | 19 | typeof(UpgradedFilesOptionalDataSymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | public enum UpgradedFilesOptionalDataTupleFields | 25 | public enum UpgradedFilesOptionalDataSymbolFields |
| 26 | { | 26 | { |
| 27 | Upgraded, | 27 | Upgraded, |
| 28 | FTK, | 28 | FTK, |
| @@ -31,46 +31,46 @@ namespace WixToolset.Data.Tuples | |||
| 31 | IncludeWholeFile, | 31 | IncludeWholeFile, |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public class UpgradedFilesOptionalDataTuple : IntermediateTuple | 34 | public class UpgradedFilesOptionalDataSymbol : IntermediateSymbol |
| 35 | { | 35 | { |
| 36 | public UpgradedFilesOptionalDataTuple() : base(TupleDefinitions.UpgradedFilesOptionalData, null, null) | 36 | public UpgradedFilesOptionalDataSymbol() : base(SymbolDefinitions.UpgradedFilesOptionalData, null, null) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public UpgradedFilesOptionalDataTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.UpgradedFilesOptionalData, sourceLineNumber, id) | 40 | public UpgradedFilesOptionalDataSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.UpgradedFilesOptionalData, sourceLineNumber, id) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public IntermediateField this[UpgradedFilesOptionalDataTupleFields index] => this.Fields[(int)index]; | 44 | public IntermediateField this[UpgradedFilesOptionalDataSymbolFields index] => this.Fields[(int)index]; |
| 45 | 45 | ||
| 46 | public string Upgraded | 46 | public string Upgraded |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)UpgradedFilesOptionalDataTupleFields.Upgraded]; | 48 | get => (string)this.Fields[(int)UpgradedFilesOptionalDataSymbolFields.Upgraded]; |
| 49 | set => this.Set((int)UpgradedFilesOptionalDataTupleFields.Upgraded, value); | 49 | set => this.Set((int)UpgradedFilesOptionalDataSymbolFields.Upgraded, value); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | public string FTK | 52 | public string FTK |
| 53 | { | 53 | { |
| 54 | get => (string)this.Fields[(int)UpgradedFilesOptionalDataTupleFields.FTK]; | 54 | get => (string)this.Fields[(int)UpgradedFilesOptionalDataSymbolFields.FTK]; |
| 55 | set => this.Set((int)UpgradedFilesOptionalDataTupleFields.FTK, value); | 55 | set => this.Set((int)UpgradedFilesOptionalDataSymbolFields.FTK, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public string SymbolPaths | 58 | public string SymbolPaths |
| 59 | { | 59 | { |
| 60 | get => (string)this.Fields[(int)UpgradedFilesOptionalDataTupleFields.SymbolPaths]; | 60 | get => (string)this.Fields[(int)UpgradedFilesOptionalDataSymbolFields.SymbolPaths]; |
| 61 | set => this.Set((int)UpgradedFilesOptionalDataTupleFields.SymbolPaths, value); | 61 | set => this.Set((int)UpgradedFilesOptionalDataSymbolFields.SymbolPaths, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public bool? AllowIgnoreOnPatchError | 64 | public bool? AllowIgnoreOnPatchError |
| 65 | { | 65 | { |
| 66 | get => (bool?)this.Fields[(int)UpgradedFilesOptionalDataTupleFields.AllowIgnoreOnPatchError]; | 66 | get => (bool?)this.Fields[(int)UpgradedFilesOptionalDataSymbolFields.AllowIgnoreOnPatchError]; |
| 67 | set => this.Set((int)UpgradedFilesOptionalDataTupleFields.AllowIgnoreOnPatchError, value); | 67 | set => this.Set((int)UpgradedFilesOptionalDataSymbolFields.AllowIgnoreOnPatchError, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public bool? IncludeWholeFile | 70 | public bool? IncludeWholeFile |
| 71 | { | 71 | { |
| 72 | get => (bool?)this.Fields[(int)UpgradedFilesOptionalDataTupleFields.IncludeWholeFile]; | 72 | get => (bool?)this.Fields[(int)UpgradedFilesOptionalDataSymbolFields.IncludeWholeFile]; |
| 73 | set => this.Set((int)UpgradedFilesOptionalDataTupleFields.IncludeWholeFile, value); | 73 | set => this.Set((int)UpgradedFilesOptionalDataSymbolFields.IncludeWholeFile, value); |
| 74 | } | 74 | } |
| 75 | } | 75 | } |
| 76 | } | 76 | } |
diff --git a/src/WixToolset.Data/Tuples/UpgradedFilesToIgnoreTuple.cs b/src/WixToolset.Data/Tuples/UpgradedFilesToIgnoreTuple.cs index 95617c6f..e21af6a2 100644 --- a/src/WixToolset.Data/Tuples/UpgradedFilesToIgnoreTuple.cs +++ b/src/WixToolset.Data/Tuples/UpgradedFilesToIgnoreTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 UpgradedFilesToIgnore = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition UpgradedFilesToIgnore = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.UpgradedFilesToIgnore, | 10 | SymbolDefinitionType.UpgradedFilesToIgnore, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(UpgradedFilesToIgnoreTupleFields.Upgraded), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(UpgradedFilesToIgnoreSymbolFields.Upgraded), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(UpgradedFilesToIgnoreTupleFields.FTK), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(UpgradedFilesToIgnoreSymbolFields.FTK), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(UpgradedFilesToIgnoreTuple)); | 16 | typeof(UpgradedFilesToIgnoreSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum UpgradedFilesToIgnoreTupleFields | 22 | public enum UpgradedFilesToIgnoreSymbolFields |
| 23 | { | 23 | { |
| 24 | Upgraded, | 24 | Upgraded, |
| 25 | FTK, | 25 | FTK, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class UpgradedFilesToIgnoreTuple : IntermediateTuple | 28 | public class UpgradedFilesToIgnoreSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public UpgradedFilesToIgnoreTuple() : base(TupleDefinitions.UpgradedFilesToIgnore, null, null) | 30 | public UpgradedFilesToIgnoreSymbol() : base(SymbolDefinitions.UpgradedFilesToIgnore, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public UpgradedFilesToIgnoreTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.UpgradedFilesToIgnore, sourceLineNumber, id) | 34 | public UpgradedFilesToIgnoreSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.UpgradedFilesToIgnore, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[UpgradedFilesToIgnoreTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[UpgradedFilesToIgnoreSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string Upgraded | 40 | public string Upgraded |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)UpgradedFilesToIgnoreTupleFields.Upgraded]; | 42 | get => (string)this.Fields[(int)UpgradedFilesToIgnoreSymbolFields.Upgraded]; |
| 43 | set => this.Set((int)UpgradedFilesToIgnoreTupleFields.Upgraded, value); | 43 | set => this.Set((int)UpgradedFilesToIgnoreSymbolFields.Upgraded, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string FTK | 46 | public string FTK |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)UpgradedFilesToIgnoreTupleFields.FTK]; | 48 | get => (string)this.Fields[(int)UpgradedFilesToIgnoreSymbolFields.FTK]; |
| 49 | set => this.Set((int)UpgradedFilesToIgnoreTupleFields.FTK, value); | 49 | set => this.Set((int)UpgradedFilesToIgnoreSymbolFields.FTK, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/UpgradedImagesTuple.cs b/src/WixToolset.Data/Tuples/UpgradedImagesTuple.cs index 856c27e2..28eae08a 100644 --- a/src/WixToolset.Data/Tuples/UpgradedImagesTuple.cs +++ b/src/WixToolset.Data/Tuples/UpgradedImagesTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 UpgradedImages = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition UpgradedImages = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.UpgradedImages, | 10 | SymbolDefinitionType.UpgradedImages, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(UpgradedImagesTupleFields.Upgraded), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(UpgradedImagesSymbolFields.Upgraded), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(UpgradedImagesTupleFields.MsiPath), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(UpgradedImagesSymbolFields.MsiPath), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(UpgradedImagesTupleFields.PatchMsiPath), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(UpgradedImagesSymbolFields.PatchMsiPath), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(UpgradedImagesTupleFields.SymbolPaths), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(UpgradedImagesSymbolFields.SymbolPaths), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(UpgradedImagesTupleFields.Family), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(UpgradedImagesSymbolFields.Family), IntermediateFieldType.String), |
| 18 | }, | 18 | }, |
| 19 | typeof(UpgradedImagesTuple)); | 19 | typeof(UpgradedImagesSymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | public enum UpgradedImagesTupleFields | 25 | public enum UpgradedImagesSymbolFields |
| 26 | { | 26 | { |
| 27 | Upgraded, | 27 | Upgraded, |
| 28 | MsiPath, | 28 | MsiPath, |
| @@ -31,46 +31,46 @@ namespace WixToolset.Data.Tuples | |||
| 31 | Family, | 31 | Family, |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public class UpgradedImagesTuple : IntermediateTuple | 34 | public class UpgradedImagesSymbol : IntermediateSymbol |
| 35 | { | 35 | { |
| 36 | public UpgradedImagesTuple() : base(TupleDefinitions.UpgradedImages, null, null) | 36 | public UpgradedImagesSymbol() : base(SymbolDefinitions.UpgradedImages, null, null) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public UpgradedImagesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.UpgradedImages, sourceLineNumber, id) | 40 | public UpgradedImagesSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.UpgradedImages, sourceLineNumber, id) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public IntermediateField this[UpgradedImagesTupleFields index] => this.Fields[(int)index]; | 44 | public IntermediateField this[UpgradedImagesSymbolFields index] => this.Fields[(int)index]; |
| 45 | 45 | ||
| 46 | public string Upgraded | 46 | public string Upgraded |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)UpgradedImagesTupleFields.Upgraded]; | 48 | get => (string)this.Fields[(int)UpgradedImagesSymbolFields.Upgraded]; |
| 49 | set => this.Set((int)UpgradedImagesTupleFields.Upgraded, value); | 49 | set => this.Set((int)UpgradedImagesSymbolFields.Upgraded, value); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | public string MsiPath | 52 | public string MsiPath |
| 53 | { | 53 | { |
| 54 | get => (string)this.Fields[(int)UpgradedImagesTupleFields.MsiPath]; | 54 | get => (string)this.Fields[(int)UpgradedImagesSymbolFields.MsiPath]; |
| 55 | set => this.Set((int)UpgradedImagesTupleFields.MsiPath, value); | 55 | set => this.Set((int)UpgradedImagesSymbolFields.MsiPath, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public string PatchMsiPath | 58 | public string PatchMsiPath |
| 59 | { | 59 | { |
| 60 | get => (string)this.Fields[(int)UpgradedImagesTupleFields.PatchMsiPath]; | 60 | get => (string)this.Fields[(int)UpgradedImagesSymbolFields.PatchMsiPath]; |
| 61 | set => this.Set((int)UpgradedImagesTupleFields.PatchMsiPath, value); | 61 | set => this.Set((int)UpgradedImagesSymbolFields.PatchMsiPath, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public string SymbolPaths | 64 | public string SymbolPaths |
| 65 | { | 65 | { |
| 66 | get => (string)this.Fields[(int)UpgradedImagesTupleFields.SymbolPaths]; | 66 | get => (string)this.Fields[(int)UpgradedImagesSymbolFields.SymbolPaths]; |
| 67 | set => this.Set((int)UpgradedImagesTupleFields.SymbolPaths, value); | 67 | set => this.Set((int)UpgradedImagesSymbolFields.SymbolPaths, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public string Family | 70 | public string Family |
| 71 | { | 71 | { |
| 72 | get => (string)this.Fields[(int)UpgradedImagesTupleFields.Family]; | 72 | get => (string)this.Fields[(int)UpgradedImagesSymbolFields.Family]; |
| 73 | set => this.Set((int)UpgradedImagesTupleFields.Family, value); | 73 | set => this.Set((int)UpgradedImagesSymbolFields.Family, value); |
| 74 | } | 74 | } |
| 75 | } | 75 | } |
| 76 | } \ No newline at end of file | 76 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/VerbTuple.cs b/src/WixToolset.Data/Tuples/VerbTuple.cs index 7a257a3e..95f045d6 100644 --- a/src/WixToolset.Data/Tuples/VerbTuple.cs +++ b/src/WixToolset.Data/Tuples/VerbTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 Verb = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Verb = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Verb, | 10 | SymbolDefinitionType.Verb, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(VerbTupleFields.ExtensionRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(VerbSymbolFields.ExtensionRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(VerbTupleFields.Verb), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(VerbSymbolFields.Verb), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(VerbTupleFields.Sequence), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(VerbSymbolFields.Sequence), IntermediateFieldType.Number), |
| 16 | new IntermediateFieldDefinition(nameof(VerbTupleFields.Command), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(VerbSymbolFields.Command), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(VerbTupleFields.Argument), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(VerbSymbolFields.Argument), IntermediateFieldType.String), |
| 18 | }, | 18 | }, |
| 19 | typeof(VerbTuple)); | 19 | typeof(VerbSymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | public enum VerbTupleFields | 25 | public enum VerbSymbolFields |
| 26 | { | 26 | { |
| 27 | ExtensionRef, | 27 | ExtensionRef, |
| 28 | Verb, | 28 | Verb, |
| @@ -31,46 +31,46 @@ namespace WixToolset.Data.Tuples | |||
| 31 | Argument, | 31 | Argument, |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public class VerbTuple : IntermediateTuple | 34 | public class VerbSymbol : IntermediateSymbol |
| 35 | { | 35 | { |
| 36 | public VerbTuple() : base(TupleDefinitions.Verb, null, null) | 36 | public VerbSymbol() : base(SymbolDefinitions.Verb, null, null) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public VerbTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Verb, sourceLineNumber, id) | 40 | public VerbSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Verb, sourceLineNumber, id) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public IntermediateField this[VerbTupleFields index] => this.Fields[(int)index]; | 44 | public IntermediateField this[VerbSymbolFields index] => this.Fields[(int)index]; |
| 45 | 45 | ||
| 46 | public string ExtensionRef | 46 | public string ExtensionRef |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)VerbTupleFields.ExtensionRef]; | 48 | get => (string)this.Fields[(int)VerbSymbolFields.ExtensionRef]; |
| 49 | set => this.Set((int)VerbTupleFields.ExtensionRef, value); | 49 | set => this.Set((int)VerbSymbolFields.ExtensionRef, value); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | public string Verb | 52 | public string Verb |
| 53 | { | 53 | { |
| 54 | get => (string)this.Fields[(int)VerbTupleFields.Verb]; | 54 | get => (string)this.Fields[(int)VerbSymbolFields.Verb]; |
| 55 | set => this.Set((int)VerbTupleFields.Verb, value); | 55 | set => this.Set((int)VerbSymbolFields.Verb, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public int? Sequence | 58 | public int? Sequence |
| 59 | { | 59 | { |
| 60 | get => (int?)this.Fields[(int)VerbTupleFields.Sequence]; | 60 | get => (int?)this.Fields[(int)VerbSymbolFields.Sequence]; |
| 61 | set => this.Set((int)VerbTupleFields.Sequence, value); | 61 | set => this.Set((int)VerbSymbolFields.Sequence, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public string Command | 64 | public string Command |
| 65 | { | 65 | { |
| 66 | get => (string)this.Fields[(int)VerbTupleFields.Command]; | 66 | get => (string)this.Fields[(int)VerbSymbolFields.Command]; |
| 67 | set => this.Set((int)VerbTupleFields.Command, value); | 67 | set => this.Set((int)VerbSymbolFields.Command, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public string Argument | 70 | public string Argument |
| 71 | { | 71 | { |
| 72 | get => (string)this.Fields[(int)VerbTupleFields.Argument]; | 72 | get => (string)this.Fields[(int)VerbSymbolFields.Argument]; |
| 73 | set => this.Set((int)VerbTupleFields.Argument, value); | 73 | set => this.Set((int)VerbSymbolFields.Argument, value); |
| 74 | } | 74 | } |
| 75 | } | 75 | } |
| 76 | } \ No newline at end of file | 76 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixActionTuple.cs b/src/WixToolset.Data/Tuples/WixActionTuple.cs index 28a10698..a055d68f 100644 --- a/src/WixToolset.Data/Tuples/WixActionTuple.cs +++ b/src/WixToolset.Data/Tuples/WixActionTuple.cs | |||
| @@ -2,29 +2,29 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixAction = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixAction = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixAction, | 10 | SymbolDefinitionType.WixAction, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.SequenceTable), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(WixActionSymbolFields.SequenceTable), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.Action), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixActionSymbolFields.Action), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.Condition), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixActionSymbolFields.Condition), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.Sequence), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(WixActionSymbolFields.Sequence), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.Before), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(WixActionSymbolFields.Before), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.After), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(WixActionSymbolFields.After), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.Overridable), IntermediateFieldType.Bool), | 19 | new IntermediateFieldDefinition(nameof(WixActionSymbolFields.Overridable), IntermediateFieldType.Bool), |
| 20 | }, | 20 | }, |
| 21 | typeof(WixActionTuple)); | 21 | typeof(WixActionSymbol)); |
| 22 | } | 22 | } |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | namespace WixToolset.Data.Tuples | 25 | namespace WixToolset.Data.Symbols |
| 26 | { | 26 | { |
| 27 | public enum WixActionTupleFields | 27 | public enum WixActionSymbolFields |
| 28 | { | 28 | { |
| 29 | SequenceTable, | 29 | SequenceTable, |
| 30 | Action, | 30 | Action, |
| @@ -44,58 +44,58 @@ namespace WixToolset.Data.Tuples | |||
| 44 | InstallExecuteSequence | 44 | InstallExecuteSequence |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | public class WixActionTuple : IntermediateTuple | 47 | public class WixActionSymbol : IntermediateSymbol |
| 48 | { | 48 | { |
| 49 | public WixActionTuple() : base(TupleDefinitions.WixAction, null, null) | 49 | public WixActionSymbol() : base(SymbolDefinitions.WixAction, null, null) |
| 50 | { | 50 | { |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | public WixActionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixAction, sourceLineNumber, id) | 53 | public WixActionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixAction, sourceLineNumber, id) |
| 54 | { | 54 | { |
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | public IntermediateField this[WixActionTupleFields index] => this.Fields[(int)index]; | 57 | public IntermediateField this[WixActionSymbolFields index] => this.Fields[(int)index]; |
| 58 | 58 | ||
| 59 | public SequenceTable SequenceTable | 59 | public SequenceTable SequenceTable |
| 60 | { | 60 | { |
| 61 | get => (SequenceTable)this.Fields[(int)WixActionTupleFields.SequenceTable].AsNumber(); | 61 | get => (SequenceTable)this.Fields[(int)WixActionSymbolFields.SequenceTable].AsNumber(); |
| 62 | set => this.Set((int)WixActionTupleFields.SequenceTable, (int)value); | 62 | set => this.Set((int)WixActionSymbolFields.SequenceTable, (int)value); |
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | public string Action | 65 | public string Action |
| 66 | { | 66 | { |
| 67 | get => (string)this.Fields[(int)WixActionTupleFields.Action]; | 67 | get => (string)this.Fields[(int)WixActionSymbolFields.Action]; |
| 68 | set => this.Set((int)WixActionTupleFields.Action, value); | 68 | set => this.Set((int)WixActionSymbolFields.Action, value); |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | public string Condition | 71 | public string Condition |
| 72 | { | 72 | { |
| 73 | get => (string)this.Fields[(int)WixActionTupleFields.Condition]; | 73 | get => (string)this.Fields[(int)WixActionSymbolFields.Condition]; |
| 74 | set => this.Set((int)WixActionTupleFields.Condition, value); | 74 | set => this.Set((int)WixActionSymbolFields.Condition, value); |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | public int? Sequence | 77 | public int? Sequence |
| 78 | { | 78 | { |
| 79 | get => (int?)this.Fields[(int)WixActionTupleFields.Sequence]; | 79 | get => (int?)this.Fields[(int)WixActionSymbolFields.Sequence]; |
| 80 | set => this.Set((int)WixActionTupleFields.Sequence, value); | 80 | set => this.Set((int)WixActionSymbolFields.Sequence, value); |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | public string Before | 83 | public string Before |
| 84 | { | 84 | { |
| 85 | get => (string)this.Fields[(int)WixActionTupleFields.Before]; | 85 | get => (string)this.Fields[(int)WixActionSymbolFields.Before]; |
| 86 | set => this.Set((int)WixActionTupleFields.Before, value); | 86 | set => this.Set((int)WixActionSymbolFields.Before, value); |
| 87 | } | 87 | } |
| 88 | 88 | ||
| 89 | public string After | 89 | public string After |
| 90 | { | 90 | { |
| 91 | get => (string)this.Fields[(int)WixActionTupleFields.After]; | 91 | get => (string)this.Fields[(int)WixActionSymbolFields.After]; |
| 92 | set => this.Set((int)WixActionTupleFields.After, value); | 92 | set => this.Set((int)WixActionSymbolFields.After, value); |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | public bool Overridable | 95 | public bool Overridable |
| 96 | { | 96 | { |
| 97 | get => this.Fields[(int)WixActionTupleFields.Overridable].AsBool(); | 97 | get => this.Fields[(int)WixActionSymbolFields.Overridable].AsBool(); |
| 98 | set => this.Set((int)WixActionTupleFields.Overridable, value); | 98 | set => this.Set((int)WixActionSymbolFields.Overridable, value); |
| 99 | } | 99 | } |
| 100 | } | 100 | } |
| 101 | } | 101 | } |
diff --git a/src/WixToolset.Data/Tuples/WixApprovedExeForElevationTuple.cs b/src/WixToolset.Data/Tuples/WixApprovedExeForElevationTuple.cs index 07fe838b..04c6e712 100644 --- a/src/WixToolset.Data/Tuples/WixApprovedExeForElevationTuple.cs +++ b/src/WixToolset.Data/Tuples/WixApprovedExeForElevationTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixApprovedExeForElevation = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixApprovedExeForElevation = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixApprovedExeForElevation, | 10 | SymbolDefinitionType.WixApprovedExeForElevation, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixApprovedExeForElevationTupleFields.Key), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixApprovedExeForElevationSymbolFields.Key), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixApprovedExeForElevationTupleFields.ValueName), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixApprovedExeForElevationSymbolFields.ValueName), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixApprovedExeForElevationTupleFields.Attributes), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(WixApprovedExeForElevationSymbolFields.Attributes), IntermediateFieldType.Number), |
| 16 | }, | 16 | }, |
| 17 | typeof(WixApprovedExeForElevationTuple)); | 17 | typeof(WixApprovedExeForElevationSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | using System; | 23 | using System; |
| 24 | 24 | ||
| 25 | public enum WixApprovedExeForElevationTupleFields | 25 | public enum WixApprovedExeForElevationSymbolFields |
| 26 | { | 26 | { |
| 27 | Key, | 27 | Key, |
| 28 | ValueName, | 28 | ValueName, |
| @@ -36,34 +36,34 @@ namespace WixToolset.Data.Tuples | |||
| 36 | Win64 = 0x1, | 36 | Win64 = 0x1, |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | public class WixApprovedExeForElevationTuple : IntermediateTuple | 39 | public class WixApprovedExeForElevationSymbol : IntermediateSymbol |
| 40 | { | 40 | { |
| 41 | public WixApprovedExeForElevationTuple() : base(TupleDefinitions.WixApprovedExeForElevation, null, null) | 41 | public WixApprovedExeForElevationSymbol() : base(SymbolDefinitions.WixApprovedExeForElevation, null, null) |
| 42 | { | 42 | { |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | public WixApprovedExeForElevationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixApprovedExeForElevation, sourceLineNumber, id) | 45 | public WixApprovedExeForElevationSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixApprovedExeForElevation, sourceLineNumber, id) |
| 46 | { | 46 | { |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | public IntermediateField this[WixApprovedExeForElevationTupleFields index] => this.Fields[(int)index]; | 49 | public IntermediateField this[WixApprovedExeForElevationSymbolFields index] => this.Fields[(int)index]; |
| 50 | 50 | ||
| 51 | public string Key | 51 | public string Key |
| 52 | { | 52 | { |
| 53 | get => (string)this.Fields[(int)WixApprovedExeForElevationTupleFields.Key]; | 53 | get => (string)this.Fields[(int)WixApprovedExeForElevationSymbolFields.Key]; |
| 54 | set => this.Set((int)WixApprovedExeForElevationTupleFields.Key, value); | 54 | set => this.Set((int)WixApprovedExeForElevationSymbolFields.Key, value); |
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | public string ValueName | 57 | public string ValueName |
| 58 | { | 58 | { |
| 59 | get => (string)this.Fields[(int)WixApprovedExeForElevationTupleFields.ValueName]; | 59 | get => (string)this.Fields[(int)WixApprovedExeForElevationSymbolFields.ValueName]; |
| 60 | set => this.Set((int)WixApprovedExeForElevationTupleFields.ValueName, value); | 60 | set => this.Set((int)WixApprovedExeForElevationSymbolFields.ValueName, value); |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | public WixApprovedExeForElevationAttributes Attributes | 63 | public WixApprovedExeForElevationAttributes Attributes |
| 64 | { | 64 | { |
| 65 | get => (WixApprovedExeForElevationAttributes)this.Fields[(int)WixApprovedExeForElevationTupleFields.Attributes].AsNumber(); | 65 | get => (WixApprovedExeForElevationAttributes)this.Fields[(int)WixApprovedExeForElevationSymbolFields.Attributes].AsNumber(); |
| 66 | set => this.Set((int)WixApprovedExeForElevationTupleFields.Attributes, (int)value); | 66 | set => this.Set((int)WixApprovedExeForElevationSymbolFields.Attributes, (int)value); |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | public bool Win64 => (this.Attributes & WixApprovedExeForElevationAttributes.Win64) == WixApprovedExeForElevationAttributes.Win64; | 69 | public bool Win64 => (this.Attributes & WixApprovedExeForElevationAttributes.Win64) == WixApprovedExeForElevationAttributes.Win64; |
diff --git a/src/WixToolset.Data/Tuples/WixBindUpdatedFilesTuple.cs b/src/WixToolset.Data/Tuples/WixBindUpdatedFilesTuple.cs index aca47b6c..03bdb69b 100644 --- a/src/WixToolset.Data/Tuples/WixBindUpdatedFilesTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBindUpdatedFilesTuple.cs | |||
| @@ -2,43 +2,43 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBindUpdatedFiles = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBindUpdatedFiles = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBindUpdatedFiles, | 10 | SymbolDefinitionType.WixBindUpdatedFiles, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBindUpdatedFilesTupleFields.FileRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBindUpdatedFilesSymbolFields.FileRef), IntermediateFieldType.String), |
| 14 | }, | 14 | }, |
| 15 | typeof(WixBindUpdatedFilesTuple)); | 15 | typeof(WixBindUpdatedFilesSymbol)); |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
| 20 | { | 20 | { |
| 21 | public enum WixBindUpdatedFilesTupleFields | 21 | public enum WixBindUpdatedFilesSymbolFields |
| 22 | { | 22 | { |
| 23 | FileRef, | 23 | FileRef, |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | public class WixBindUpdatedFilesTuple : IntermediateTuple | 26 | public class WixBindUpdatedFilesSymbol : IntermediateSymbol |
| 27 | { | 27 | { |
| 28 | public WixBindUpdatedFilesTuple() : base(TupleDefinitions.WixBindUpdatedFiles, null, null) | 28 | public WixBindUpdatedFilesSymbol() : base(SymbolDefinitions.WixBindUpdatedFiles, null, null) |
| 29 | { | 29 | { |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public WixBindUpdatedFilesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBindUpdatedFiles, sourceLineNumber, id) | 32 | public WixBindUpdatedFilesSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBindUpdatedFiles, sourceLineNumber, id) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public IntermediateField this[WixBindUpdatedFilesTupleFields index] => this.Fields[(int)index]; | 36 | public IntermediateField this[WixBindUpdatedFilesSymbolFields index] => this.Fields[(int)index]; |
| 37 | 37 | ||
| 38 | public string FileRef | 38 | public string FileRef |
| 39 | { | 39 | { |
| 40 | get => (string)this.Fields[(int)WixBindUpdatedFilesTupleFields.FileRef]; | 40 | get => (string)this.Fields[(int)WixBindUpdatedFilesSymbolFields.FileRef]; |
| 41 | set => this.Set((int)WixBindUpdatedFilesTupleFields.FileRef, value); | 41 | set => this.Set((int)WixBindUpdatedFilesSymbolFields.FileRef, value); |
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | } \ No newline at end of file | 44 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixBootstrapperApplicationTuple.cs b/src/WixToolset.Data/Tuples/WixBootstrapperApplicationTuple.cs index 84a74b17..3d7876fd 100644 --- a/src/WixToolset.Data/Tuples/WixBootstrapperApplicationTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBootstrapperApplicationTuple.cs | |||
| @@ -2,35 +2,35 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBootstrapperApplication = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBootstrapperApplication = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBootstrapperApplication, | 10 | SymbolDefinitionType.WixBootstrapperApplication, |
| 11 | new IntermediateFieldDefinition[] | 11 | new IntermediateFieldDefinition[] |
| 12 | { | 12 | { |
| 13 | }, | 13 | }, |
| 14 | typeof(WixBootstrapperApplicationTuple)); | 14 | typeof(WixBootstrapperApplicationSymbol)); |
| 15 | } | 15 | } |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | namespace WixToolset.Data.Tuples | 18 | namespace WixToolset.Data.Symbols |
| 19 | { | 19 | { |
| 20 | public enum WixBootstrapperApplicationTupleFields | 20 | public enum WixBootstrapperApplicationSymbolFields |
| 21 | { | 21 | { |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | public class WixBootstrapperApplicationTuple : IntermediateTuple | 24 | public class WixBootstrapperApplicationSymbol : IntermediateSymbol |
| 25 | { | 25 | { |
| 26 | public WixBootstrapperApplicationTuple() : base(TupleDefinitions.WixBootstrapperApplication, null, null) | 26 | public WixBootstrapperApplicationSymbol() : base(SymbolDefinitions.WixBootstrapperApplication, null, null) |
| 27 | { | 27 | { |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public WixBootstrapperApplicationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBootstrapperApplication, sourceLineNumber, id) | 30 | public WixBootstrapperApplicationSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBootstrapperApplication, sourceLineNumber, id) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public IntermediateField this[WixBootstrapperApplicationTupleFields index] => this.Fields[(int)index]; | 34 | public IntermediateField this[WixBootstrapperApplicationSymbolFields index] => this.Fields[(int)index]; |
| 35 | } | 35 | } |
| 36 | } | 36 | } |
diff --git a/src/WixToolset.Data/Tuples/WixBuildInfoTuple.cs b/src/WixToolset.Data/Tuples/WixBuildInfoTuple.cs index 9abb999b..66e04d4b 100644 --- a/src/WixToolset.Data/Tuples/WixBuildInfoTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBuildInfoTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBuildInfo = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBuildInfo = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBuildInfo, | 10 | SymbolDefinitionType.WixBuildInfo, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBuildInfoTupleFields.WixVersion), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBuildInfoSymbolFields.WixVersion), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBuildInfoTupleFields.WixOutputFile), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBuildInfoSymbolFields.WixOutputFile), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixBuildInfoTupleFields.WixProjectFile), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixBuildInfoSymbolFields.WixProjectFile), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixBuildInfoTupleFields.WixPdbFile), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixBuildInfoSymbolFields.WixPdbFile), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(WixBuildInfoTuple)); | 18 | typeof(WixBuildInfoSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum WixBuildInfoTupleFields | 24 | public enum WixBuildInfoSymbolFields |
| 25 | { | 25 | { |
| 26 | WixVersion, | 26 | WixVersion, |
| 27 | WixOutputFile, | 27 | WixOutputFile, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | WixPdbFile, | 29 | WixPdbFile, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class WixBuildInfoTuple : IntermediateTuple | 32 | public class WixBuildInfoSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public WixBuildInfoTuple() : base(TupleDefinitions.WixBuildInfo, null, null) | 34 | public WixBuildInfoSymbol() : base(SymbolDefinitions.WixBuildInfo, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public WixBuildInfoTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBuildInfo, sourceLineNumber, id) | 38 | public WixBuildInfoSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBuildInfo, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[WixBuildInfoTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[WixBuildInfoSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string WixVersion | 44 | public string WixVersion |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)WixBuildInfoTupleFields.WixVersion]; | 46 | get => (string)this.Fields[(int)WixBuildInfoSymbolFields.WixVersion]; |
| 47 | set => this.Set((int)WixBuildInfoTupleFields.WixVersion, value); | 47 | set => this.Set((int)WixBuildInfoSymbolFields.WixVersion, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string WixOutputFile | 50 | public string WixOutputFile |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)WixBuildInfoTupleFields.WixOutputFile]; | 52 | get => (string)this.Fields[(int)WixBuildInfoSymbolFields.WixOutputFile]; |
| 53 | set => this.Set((int)WixBuildInfoTupleFields.WixOutputFile, value); | 53 | set => this.Set((int)WixBuildInfoSymbolFields.WixOutputFile, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string WixProjectFile | 56 | public string WixProjectFile |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)WixBuildInfoTupleFields.WixProjectFile]; | 58 | get => (string)this.Fields[(int)WixBuildInfoSymbolFields.WixProjectFile]; |
| 59 | set => this.Set((int)WixBuildInfoTupleFields.WixProjectFile, value); | 59 | set => this.Set((int)WixBuildInfoSymbolFields.WixProjectFile, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string WixPdbFile | 62 | public string WixPdbFile |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)WixBuildInfoTupleFields.WixPdbFile]; | 64 | get => (string)this.Fields[(int)WixBuildInfoSymbolFields.WixPdbFile]; |
| 65 | set => this.Set((int)WixBuildInfoTupleFields.WixPdbFile, value); | 65 | set => this.Set((int)WixBuildInfoSymbolFields.WixPdbFile, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixBundleCatalogTuple.cs b/src/WixToolset.Data/Tuples/WixBundleCatalogTuple.cs index 51c1306e..48415228 100644 --- a/src/WixToolset.Data/Tuples/WixBundleCatalogTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleCatalogTuple.cs | |||
| @@ -2,43 +2,43 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleCatalog = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleCatalog = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleCatalog, | 10 | SymbolDefinitionType.WixBundleCatalog, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleCatalogTupleFields.PayloadRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundleCatalogSymbolFields.PayloadRef), IntermediateFieldType.String), |
| 14 | }, | 14 | }, |
| 15 | typeof(WixBundleCatalogTuple)); | 15 | typeof(WixBundleCatalogSymbol)); |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
| 20 | { | 20 | { |
| 21 | public enum WixBundleCatalogTupleFields | 21 | public enum WixBundleCatalogSymbolFields |
| 22 | { | 22 | { |
| 23 | PayloadRef, | 23 | PayloadRef, |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | public class WixBundleCatalogTuple : IntermediateTuple | 26 | public class WixBundleCatalogSymbol : IntermediateSymbol |
| 27 | { | 27 | { |
| 28 | public WixBundleCatalogTuple() : base(TupleDefinitions.WixBundleCatalog, null, null) | 28 | public WixBundleCatalogSymbol() : base(SymbolDefinitions.WixBundleCatalog, null, null) |
| 29 | { | 29 | { |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public WixBundleCatalogTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleCatalog, sourceLineNumber, id) | 32 | public WixBundleCatalogSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleCatalog, sourceLineNumber, id) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public IntermediateField this[WixBundleCatalogTupleFields index] => this.Fields[(int)index]; | 36 | public IntermediateField this[WixBundleCatalogSymbolFields index] => this.Fields[(int)index]; |
| 37 | 37 | ||
| 38 | public string PayloadRef | 38 | public string PayloadRef |
| 39 | { | 39 | { |
| 40 | get => (string)this.Fields[(int)WixBundleCatalogTupleFields.PayloadRef]; | 40 | get => (string)this.Fields[(int)WixBundleCatalogSymbolFields.PayloadRef]; |
| 41 | set => this.Set((int)WixBundleCatalogTupleFields.PayloadRef, value); | 41 | set => this.Set((int)WixBundleCatalogSymbolFields.PayloadRef, value); |
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | } | 44 | } |
diff --git a/src/WixToolset.Data/Tuples/WixBundleContainerTuple.cs b/src/WixToolset.Data/Tuples/WixBundleContainerTuple.cs index a0f64611..80beda0a 100644 --- a/src/WixToolset.Data/Tuples/WixBundleContainerTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleContainerTuple.cs | |||
| @@ -2,31 +2,31 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleContainer = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleContainer = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleContainer, | 10 | SymbolDefinitionType.WixBundleContainer, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleContainerTupleFields.Name), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundleContainerSymbolFields.Name), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundleContainerTupleFields.Type), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(WixBundleContainerSymbolFields.Type), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(WixBundleContainerTupleFields.DownloadUrl), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixBundleContainerSymbolFields.DownloadUrl), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixBundleContainerTupleFields.Size), IntermediateFieldType.LargeNumber), | 16 | new IntermediateFieldDefinition(nameof(WixBundleContainerSymbolFields.Size), IntermediateFieldType.LargeNumber), |
| 17 | new IntermediateFieldDefinition(nameof(WixBundleContainerTupleFields.Hash), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(WixBundleContainerSymbolFields.Hash), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(WixBundleContainerTupleFields.AttachedContainerIndex), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(WixBundleContainerSymbolFields.AttachedContainerIndex), IntermediateFieldType.Number), |
| 19 | new IntermediateFieldDefinition(nameof(WixBundleContainerTupleFields.WorkingPath), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(WixBundleContainerSymbolFields.WorkingPath), IntermediateFieldType.String), |
| 20 | }, | 20 | }, |
| 21 | typeof(WixBundleContainerTuple)); | 21 | typeof(WixBundleContainerSymbol)); |
| 22 | } | 22 | } |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | namespace WixToolset.Data.Tuples | 25 | namespace WixToolset.Data.Symbols |
| 26 | { | 26 | { |
| 27 | using System; | 27 | using System; |
| 28 | 28 | ||
| 29 | public enum WixBundleContainerTupleFields | 29 | public enum WixBundleContainerSymbolFields |
| 30 | { | 30 | { |
| 31 | Name, | 31 | Name, |
| 32 | Type, | 32 | Type, |
| @@ -46,58 +46,58 @@ namespace WixToolset.Data.Tuples | |||
| 46 | Detached, | 46 | Detached, |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | public class WixBundleContainerTuple : IntermediateTuple | 49 | public class WixBundleContainerSymbol : IntermediateSymbol |
| 50 | { | 50 | { |
| 51 | public WixBundleContainerTuple() : base(TupleDefinitions.WixBundleContainer, null, null) | 51 | public WixBundleContainerSymbol() : base(SymbolDefinitions.WixBundleContainer, null, null) |
| 52 | { | 52 | { |
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | public WixBundleContainerTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleContainer, sourceLineNumber, id) | 55 | public WixBundleContainerSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleContainer, sourceLineNumber, id) |
| 56 | { | 56 | { |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | public IntermediateField this[WixBundleContainerTupleFields index] => this.Fields[(int)index]; | 59 | public IntermediateField this[WixBundleContainerSymbolFields index] => this.Fields[(int)index]; |
| 60 | 60 | ||
| 61 | public string Name | 61 | public string Name |
| 62 | { | 62 | { |
| 63 | get => (string)this.Fields[(int)WixBundleContainerTupleFields.Name]; | 63 | get => (string)this.Fields[(int)WixBundleContainerSymbolFields.Name]; |
| 64 | set => this.Set((int)WixBundleContainerTupleFields.Name, value); | 64 | set => this.Set((int)WixBundleContainerSymbolFields.Name, value); |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | public ContainerType Type | 67 | public ContainerType Type |
| 68 | { | 68 | { |
| 69 | get => (ContainerType)this.Fields[(int)WixBundleContainerTupleFields.Type].AsNumber(); | 69 | get => (ContainerType)this.Fields[(int)WixBundleContainerSymbolFields.Type].AsNumber(); |
| 70 | set => this.Set((int)WixBundleContainerTupleFields.Type, (int)value); | 70 | set => this.Set((int)WixBundleContainerSymbolFields.Type, (int)value); |
| 71 | } | 71 | } |
| 72 | 72 | ||
| 73 | public string DownloadUrl | 73 | public string DownloadUrl |
| 74 | { | 74 | { |
| 75 | get => (string)this.Fields[(int)WixBundleContainerTupleFields.DownloadUrl]; | 75 | get => (string)this.Fields[(int)WixBundleContainerSymbolFields.DownloadUrl]; |
| 76 | set => this.Set((int)WixBundleContainerTupleFields.DownloadUrl, value); | 76 | set => this.Set((int)WixBundleContainerSymbolFields.DownloadUrl, value); |
| 77 | } | 77 | } |
| 78 | 78 | ||
| 79 | public long? Size | 79 | public long? Size |
| 80 | { | 80 | { |
| 81 | get => (long?)this.Fields[(int)WixBundleContainerTupleFields.Size]; | 81 | get => (long?)this.Fields[(int)WixBundleContainerSymbolFields.Size]; |
| 82 | set => this.Set((int)WixBundleContainerTupleFields.Size, value); | 82 | set => this.Set((int)WixBundleContainerSymbolFields.Size, value); |
| 83 | } | 83 | } |
| 84 | 84 | ||
| 85 | public string Hash | 85 | public string Hash |
| 86 | { | 86 | { |
| 87 | get => (string)this.Fields[(int)WixBundleContainerTupleFields.Hash]; | 87 | get => (string)this.Fields[(int)WixBundleContainerSymbolFields.Hash]; |
| 88 | set => this.Set((int)WixBundleContainerTupleFields.Hash, value); | 88 | set => this.Set((int)WixBundleContainerSymbolFields.Hash, value); |
| 89 | } | 89 | } |
| 90 | 90 | ||
| 91 | public int? AttachedContainerIndex | 91 | public int? AttachedContainerIndex |
| 92 | { | 92 | { |
| 93 | get => (int?)this.Fields[(int)WixBundleContainerTupleFields.AttachedContainerIndex]; | 93 | get => (int?)this.Fields[(int)WixBundleContainerSymbolFields.AttachedContainerIndex]; |
| 94 | set => this.Set((int)WixBundleContainerTupleFields.AttachedContainerIndex, value); | 94 | set => this.Set((int)WixBundleContainerSymbolFields.AttachedContainerIndex, value); |
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | public string WorkingPath | 97 | public string WorkingPath |
| 98 | { | 98 | { |
| 99 | get => (string)this.Fields[(int)WixBundleContainerTupleFields.WorkingPath]; | 99 | get => (string)this.Fields[(int)WixBundleContainerSymbolFields.WorkingPath]; |
| 100 | set => this.Set((int)WixBundleContainerTupleFields.WorkingPath, value); | 100 | set => this.Set((int)WixBundleContainerSymbolFields.WorkingPath, value); |
| 101 | } | 101 | } |
| 102 | } | 102 | } |
| 103 | } | 103 | } |
diff --git a/src/WixToolset.Data/Tuples/WixBundleCustomDataAttributeTuple.cs b/src/WixToolset.Data/Tuples/WixBundleCustomDataAttributeTuple.cs index 9c27c9f4..c0a657ee 100644 --- a/src/WixToolset.Data/Tuples/WixBundleCustomDataAttributeTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleCustomDataAttributeTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleCustomDataAttribute = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleCustomDataAttribute = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleCustomDataAttribute, | 10 | SymbolDefinitionType.WixBundleCustomDataAttribute, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataAttributeTupleFields.CustomDataRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataAttributeSymbolFields.CustomDataRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataAttributeTupleFields.Name), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataAttributeSymbolFields.Name), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(WixBundleCustomDataAttributeTuple)); | 16 | typeof(WixBundleCustomDataAttributeSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum WixBundleCustomDataAttributeTupleFields | 22 | public enum WixBundleCustomDataAttributeSymbolFields |
| 23 | { | 23 | { |
| 24 | CustomDataRef, | 24 | CustomDataRef, |
| 25 | Name, | 25 | Name, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class WixBundleCustomDataAttributeTuple : IntermediateTuple | 28 | public class WixBundleCustomDataAttributeSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public WixBundleCustomDataAttributeTuple() : base(TupleDefinitions.WixBundleCustomDataAttribute, null, null) | 30 | public WixBundleCustomDataAttributeSymbol() : base(SymbolDefinitions.WixBundleCustomDataAttribute, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public WixBundleCustomDataAttributeTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleCustomDataAttribute, sourceLineNumber, id) | 34 | public WixBundleCustomDataAttributeSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleCustomDataAttribute, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[WixBundleCustomDataAttributeTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[WixBundleCustomDataAttributeSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string CustomDataRef | 40 | public string CustomDataRef |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)WixBundleCustomDataAttributeTupleFields.CustomDataRef]; | 42 | get => (string)this.Fields[(int)WixBundleCustomDataAttributeSymbolFields.CustomDataRef]; |
| 43 | set => this.Set((int)WixBundleCustomDataAttributeTupleFields.CustomDataRef, value); | 43 | set => this.Set((int)WixBundleCustomDataAttributeSymbolFields.CustomDataRef, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string Name | 46 | public string Name |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)WixBundleCustomDataAttributeTupleFields.Name]; | 48 | get => (string)this.Fields[(int)WixBundleCustomDataAttributeSymbolFields.Name]; |
| 49 | set => this.Set((int)WixBundleCustomDataAttributeTupleFields.Name, value); | 49 | set => this.Set((int)WixBundleCustomDataAttributeSymbolFields.Name, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } | 52 | } |
diff --git a/src/WixToolset.Data/Tuples/WixBundleCustomDataCellTuple.cs b/src/WixToolset.Data/Tuples/WixBundleCustomDataCellTuple.cs index d488d6d0..0488969a 100644 --- a/src/WixToolset.Data/Tuples/WixBundleCustomDataCellTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleCustomDataCellTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleCustomDataCell = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleCustomDataCell = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleCustomDataCell, | 10 | SymbolDefinitionType.WixBundleCustomDataCell, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataCellTupleFields.CustomDataRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataCellSymbolFields.CustomDataRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataCellTupleFields.AttributeRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataCellSymbolFields.AttributeRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataCellTupleFields.ElementId), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataCellSymbolFields.ElementId), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataCellTupleFields.Value), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataCellSymbolFields.Value), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(WixBundleCustomDataCellTuple)); | 18 | typeof(WixBundleCustomDataCellSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum WixBundleCustomDataCellTupleFields | 24 | public enum WixBundleCustomDataCellSymbolFields |
| 25 | { | 25 | { |
| 26 | CustomDataRef, | 26 | CustomDataRef, |
| 27 | AttributeRef, | 27 | AttributeRef, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Value, | 29 | Value, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class WixBundleCustomDataCellTuple : IntermediateTuple | 32 | public class WixBundleCustomDataCellSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public WixBundleCustomDataCellTuple() : base(TupleDefinitions.WixBundleCustomDataCell, null, null) | 34 | public WixBundleCustomDataCellSymbol() : base(SymbolDefinitions.WixBundleCustomDataCell, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public WixBundleCustomDataCellTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleCustomDataCell, sourceLineNumber, id) | 38 | public WixBundleCustomDataCellSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleCustomDataCell, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[WixBundleCustomDataCellTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[WixBundleCustomDataCellSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string CustomDataRef | 44 | public string CustomDataRef |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)WixBundleCustomDataCellTupleFields.CustomDataRef]; | 46 | get => (string)this.Fields[(int)WixBundleCustomDataCellSymbolFields.CustomDataRef]; |
| 47 | set => this.Set((int)WixBundleCustomDataCellTupleFields.CustomDataRef, value); | 47 | set => this.Set((int)WixBundleCustomDataCellSymbolFields.CustomDataRef, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string AttributeRef | 50 | public string AttributeRef |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)WixBundleCustomDataCellTupleFields.AttributeRef]; | 52 | get => (string)this.Fields[(int)WixBundleCustomDataCellSymbolFields.AttributeRef]; |
| 53 | set => this.Set((int)WixBundleCustomDataCellTupleFields.AttributeRef, value); | 53 | set => this.Set((int)WixBundleCustomDataCellSymbolFields.AttributeRef, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string ElementId | 56 | public string ElementId |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)WixBundleCustomDataCellTupleFields.ElementId]; | 58 | get => (string)this.Fields[(int)WixBundleCustomDataCellSymbolFields.ElementId]; |
| 59 | set => this.Set((int)WixBundleCustomDataCellTupleFields.ElementId, value); | 59 | set => this.Set((int)WixBundleCustomDataCellSymbolFields.ElementId, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Value | 62 | public string Value |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)WixBundleCustomDataCellTupleFields.Value]; | 64 | get => (string)this.Fields[(int)WixBundleCustomDataCellSymbolFields.Value]; |
| 65 | set => this.Set((int)WixBundleCustomDataCellTupleFields.Value, value); | 65 | set => this.Set((int)WixBundleCustomDataCellSymbolFields.Value, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } | 68 | } |
diff --git a/src/WixToolset.Data/Tuples/WixBundleCustomDataTuple.cs b/src/WixToolset.Data/Tuples/WixBundleCustomDataTuple.cs index d0878deb..0490f9f7 100644 --- a/src/WixToolset.Data/Tuples/WixBundleCustomDataTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleCustomDataTuple.cs | |||
| @@ -2,25 +2,25 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleCustomData = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleCustomData = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleCustomData, | 10 | SymbolDefinitionType.WixBundleCustomData, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataTupleFields.AttributeNames), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataSymbolFields.AttributeNames), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataTupleFields.Type), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataSymbolFields.Type), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataTupleFields.BundleExtensionRef), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixBundleCustomDataSymbolFields.BundleExtensionRef), IntermediateFieldType.String), |
| 16 | }, | 16 | }, |
| 17 | typeof(WixBundleCustomDataTuple)); | 17 | typeof(WixBundleCustomDataSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum WixBundleCustomDataTupleFields | 23 | public enum WixBundleCustomDataSymbolFields |
| 24 | { | 24 | { |
| 25 | AttributeNames, | 25 | AttributeNames, |
| 26 | Type, | 26 | Type, |
| @@ -34,36 +34,36 @@ namespace WixToolset.Data.Tuples | |||
| 34 | BundleExtension, | 34 | BundleExtension, |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | public class WixBundleCustomDataTuple : IntermediateTuple | 37 | public class WixBundleCustomDataSymbol : IntermediateSymbol |
| 38 | { | 38 | { |
| 39 | public const char AttributeNamesSeparator = '\x85'; | 39 | public const char AttributeNamesSeparator = '\x85'; |
| 40 | 40 | ||
| 41 | public WixBundleCustomDataTuple() : base(TupleDefinitions.WixBundleCustomData, null, null) | 41 | public WixBundleCustomDataSymbol() : base(SymbolDefinitions.WixBundleCustomData, null, null) |
| 42 | { | 42 | { |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | public WixBundleCustomDataTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleCustomData, sourceLineNumber, id) | 45 | public WixBundleCustomDataSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleCustomData, sourceLineNumber, id) |
| 46 | { | 46 | { |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | public IntermediateField this[WixBundleCustomDataTupleFields index] => this.Fields[(int)index]; | 49 | public IntermediateField this[WixBundleCustomDataSymbolFields index] => this.Fields[(int)index]; |
| 50 | 50 | ||
| 51 | public string AttributeNames | 51 | public string AttributeNames |
| 52 | { | 52 | { |
| 53 | get => (string)this.Fields[(int)WixBundleCustomDataTupleFields.AttributeNames]; | 53 | get => (string)this.Fields[(int)WixBundleCustomDataSymbolFields.AttributeNames]; |
| 54 | set => this.Set((int)WixBundleCustomDataTupleFields.AttributeNames, value); | 54 | set => this.Set((int)WixBundleCustomDataSymbolFields.AttributeNames, value); |
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | public WixBundleCustomDataType Type | 57 | public WixBundleCustomDataType Type |
| 58 | { | 58 | { |
| 59 | get => (WixBundleCustomDataType)this.Fields[(int)WixBundleCustomDataTupleFields.Type].AsNumber(); | 59 | get => (WixBundleCustomDataType)this.Fields[(int)WixBundleCustomDataSymbolFields.Type].AsNumber(); |
| 60 | set => this.Set((int)WixBundleCustomDataTupleFields.Type, (int)value); | 60 | set => this.Set((int)WixBundleCustomDataSymbolFields.Type, (int)value); |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | public string BundleExtensionRef | 63 | public string BundleExtensionRef |
| 64 | { | 64 | { |
| 65 | get => (string)this.Fields[(int)WixBundleCustomDataTupleFields.BundleExtensionRef]; | 65 | get => (string)this.Fields[(int)WixBundleCustomDataSymbolFields.BundleExtensionRef]; |
| 66 | set => this.Set((int)WixBundleCustomDataTupleFields.BundleExtensionRef, value); | 66 | set => this.Set((int)WixBundleCustomDataSymbolFields.BundleExtensionRef, value); |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | public string[] AttributeNamesSeparated => this.AttributeNames.Split(AttributeNamesSeparator); | 69 | public string[] AttributeNamesSeparated => this.AttributeNames.Split(AttributeNamesSeparator); |
diff --git a/src/WixToolset.Data/Tuples/WixBundleExePackageTuple.cs b/src/WixToolset.Data/Tuples/WixBundleExePackageTuple.cs index e87de26d..8a8cff1b 100644 --- a/src/WixToolset.Data/Tuples/WixBundleExePackageTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleExePackageTuple.cs | |||
| @@ -2,30 +2,30 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleExePackage = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleExePackage = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleExePackage, | 10 | SymbolDefinitionType.WixBundleExePackage, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.Attributes), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(WixBundleExePackageSymbolFields.Attributes), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.DetectCondition), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBundleExePackageSymbolFields.DetectCondition), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.InstallCommand), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixBundleExePackageSymbolFields.InstallCommand), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.RepairCommand), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixBundleExePackageSymbolFields.RepairCommand), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.UninstallCommand), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(WixBundleExePackageSymbolFields.UninstallCommand), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.ExeProtocol), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(WixBundleExePackageSymbolFields.ExeProtocol), IntermediateFieldType.String), |
| 19 | }, | 19 | }, |
| 20 | typeof(WixBundleExePackageTuple)); | 20 | typeof(WixBundleExePackageSymbol)); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
| 25 | { | 25 | { |
| 26 | using System; | 26 | using System; |
| 27 | 27 | ||
| 28 | public enum WixBundleExePackageTupleFields | 28 | public enum WixBundleExePackageSymbolFields |
| 29 | { | 29 | { |
| 30 | Attributes, | 30 | Attributes, |
| 31 | DetectCondition, | 31 | DetectCondition, |
| @@ -41,52 +41,52 @@ namespace WixToolset.Data.Tuples | |||
| 41 | None = 0, | 41 | None = 0, |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public class WixBundleExePackageTuple : IntermediateTuple | 44 | public class WixBundleExePackageSymbol : IntermediateSymbol |
| 45 | { | 45 | { |
| 46 | public WixBundleExePackageTuple() : base(TupleDefinitions.WixBundleExePackage, null, null) | 46 | public WixBundleExePackageSymbol() : base(SymbolDefinitions.WixBundleExePackage, null, null) |
| 47 | { | 47 | { |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public WixBundleExePackageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleExePackage, sourceLineNumber, id) | 50 | public WixBundleExePackageSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleExePackage, sourceLineNumber, id) |
| 51 | { | 51 | { |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public IntermediateField this[WixBundleExePackageTupleFields index] => this.Fields[(int)index]; | 54 | public IntermediateField this[WixBundleExePackageSymbolFields index] => this.Fields[(int)index]; |
| 55 | 55 | ||
| 56 | public WixBundleExePackageAttributes Attributes | 56 | public WixBundleExePackageAttributes Attributes |
| 57 | { | 57 | { |
| 58 | get => (WixBundleExePackageAttributes)(int)this.Fields[(int)WixBundleExePackageTupleFields.Attributes]; | 58 | get => (WixBundleExePackageAttributes)(int)this.Fields[(int)WixBundleExePackageSymbolFields.Attributes]; |
| 59 | set => this.Set((int)WixBundleExePackageTupleFields.Attributes, (int)value); | 59 | set => this.Set((int)WixBundleExePackageSymbolFields.Attributes, (int)value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string DetectCondition | 62 | public string DetectCondition |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)WixBundleExePackageTupleFields.DetectCondition]; | 64 | get => (string)this.Fields[(int)WixBundleExePackageSymbolFields.DetectCondition]; |
| 65 | set => this.Set((int)WixBundleExePackageTupleFields.DetectCondition, value); | 65 | set => this.Set((int)WixBundleExePackageSymbolFields.DetectCondition, value); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public string InstallCommand | 68 | public string InstallCommand |
| 69 | { | 69 | { |
| 70 | get => (string)this.Fields[(int)WixBundleExePackageTupleFields.InstallCommand]; | 70 | get => (string)this.Fields[(int)WixBundleExePackageSymbolFields.InstallCommand]; |
| 71 | set => this.Set((int)WixBundleExePackageTupleFields.InstallCommand, value); | 71 | set => this.Set((int)WixBundleExePackageSymbolFields.InstallCommand, value); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public string RepairCommand | 74 | public string RepairCommand |
| 75 | { | 75 | { |
| 76 | get => (string)this.Fields[(int)WixBundleExePackageTupleFields.RepairCommand]; | 76 | get => (string)this.Fields[(int)WixBundleExePackageSymbolFields.RepairCommand]; |
| 77 | set => this.Set((int)WixBundleExePackageTupleFields.RepairCommand, value); | 77 | set => this.Set((int)WixBundleExePackageSymbolFields.RepairCommand, value); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public string UninstallCommand | 80 | public string UninstallCommand |
| 81 | { | 81 | { |
| 82 | get => (string)this.Fields[(int)WixBundleExePackageTupleFields.UninstallCommand]; | 82 | get => (string)this.Fields[(int)WixBundleExePackageSymbolFields.UninstallCommand]; |
| 83 | set => this.Set((int)WixBundleExePackageTupleFields.UninstallCommand, value); | 83 | set => this.Set((int)WixBundleExePackageSymbolFields.UninstallCommand, value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public string ExeProtocol | 86 | public string ExeProtocol |
| 87 | { | 87 | { |
| 88 | get => (string)this.Fields[(int)WixBundleExePackageTupleFields.ExeProtocol]; | 88 | get => (string)this.Fields[(int)WixBundleExePackageSymbolFields.ExeProtocol]; |
| 89 | set => this.Set((int)WixBundleExePackageTupleFields.ExeProtocol, value); | 89 | set => this.Set((int)WixBundleExePackageSymbolFields.ExeProtocol, value); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | public bool Repairable => !String.IsNullOrEmpty(this.RepairCommand); | 92 | public bool Repairable => !String.IsNullOrEmpty(this.RepairCommand); |
diff --git a/src/WixToolset.Data/Tuples/WixBundleExtensionTuple.cs b/src/WixToolset.Data/Tuples/WixBundleExtensionTuple.cs index 7df56963..8e6bea58 100644 --- a/src/WixToolset.Data/Tuples/WixBundleExtensionTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleExtensionTuple.cs | |||
| @@ -2,43 +2,43 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleExtension = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleExtension = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleExtension, | 10 | SymbolDefinitionType.WixBundleExtension, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleExtensionTupleFields.PayloadRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundleExtensionSymbolFields.PayloadRef), IntermediateFieldType.String), |
| 14 | }, | 14 | }, |
| 15 | typeof(WixBundleExtensionTuple)); | 15 | typeof(WixBundleExtensionSymbol)); |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
| 20 | { | 20 | { |
| 21 | public enum WixBundleExtensionTupleFields | 21 | public enum WixBundleExtensionSymbolFields |
| 22 | { | 22 | { |
| 23 | PayloadRef, | 23 | PayloadRef, |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | public class WixBundleExtensionTuple : IntermediateTuple | 26 | public class WixBundleExtensionSymbol : IntermediateSymbol |
| 27 | { | 27 | { |
| 28 | public WixBundleExtensionTuple() : base(TupleDefinitions.WixBundleExtension, null, null) | 28 | public WixBundleExtensionSymbol() : base(SymbolDefinitions.WixBundleExtension, null, null) |
| 29 | { | 29 | { |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public WixBundleExtensionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleExtension, sourceLineNumber, id) | 32 | public WixBundleExtensionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleExtension, sourceLineNumber, id) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public IntermediateField this[WixBundleExtensionTupleFields index] => this.Fields[(int)index]; | 36 | public IntermediateField this[WixBundleExtensionSymbolFields index] => this.Fields[(int)index]; |
| 37 | 37 | ||
| 38 | public string PayloadRef | 38 | public string PayloadRef |
| 39 | { | 39 | { |
| 40 | get => (string)this.Fields[(int)WixBundleExtensionTupleFields.PayloadRef]; | 40 | get => (string)this.Fields[(int)WixBundleExtensionSymbolFields.PayloadRef]; |
| 41 | set => this.Set((int)WixBundleExtensionTupleFields.PayloadRef, value); | 41 | set => this.Set((int)WixBundleExtensionSymbolFields.PayloadRef, value); |
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | } | 44 | } |
diff --git a/src/WixToolset.Data/Tuples/WixBundleMsiFeatureTuple.cs b/src/WixToolset.Data/Tuples/WixBundleMsiFeatureTuple.cs index dab42529..f81da5b8 100644 --- a/src/WixToolset.Data/Tuples/WixBundleMsiFeatureTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleMsiFeatureTuple.cs | |||
| @@ -2,32 +2,32 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleMsiFeature = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleMsiFeature = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleMsiFeature, | 10 | SymbolDefinitionType.WixBundleMsiFeature, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.PackageRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureSymbolFields.PackageRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Name), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureSymbolFields.Name), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Size), IntermediateFieldType.LargeNumber), | 15 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureSymbolFields.Size), IntermediateFieldType.LargeNumber), |
| 16 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Parent), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureSymbolFields.Parent), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Title), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureSymbolFields.Title), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Description), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureSymbolFields.Description), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Display), IntermediateFieldType.Number), | 19 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureSymbolFields.Display), IntermediateFieldType.Number), |
| 20 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Level), IntermediateFieldType.Number), | 20 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureSymbolFields.Level), IntermediateFieldType.Number), |
| 21 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Directory), IntermediateFieldType.String), | 21 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureSymbolFields.Directory), IntermediateFieldType.String), |
| 22 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Attributes), IntermediateFieldType.Number), | 22 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureSymbolFields.Attributes), IntermediateFieldType.Number), |
| 23 | }, | 23 | }, |
| 24 | typeof(WixBundleMsiFeatureTuple)); | 24 | typeof(WixBundleMsiFeatureSymbol)); |
| 25 | } | 25 | } |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | namespace WixToolset.Data.Tuples | 28 | namespace WixToolset.Data.Symbols |
| 29 | { | 29 | { |
| 30 | public enum WixBundleMsiFeatureTupleFields | 30 | public enum WixBundleMsiFeatureSymbolFields |
| 31 | { | 31 | { |
| 32 | PackageRef, | 32 | PackageRef, |
| 33 | Name, | 33 | Name, |
| @@ -41,76 +41,76 @@ namespace WixToolset.Data.Tuples | |||
| 41 | Attributes, | 41 | Attributes, |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public class WixBundleMsiFeatureTuple : IntermediateTuple | 44 | public class WixBundleMsiFeatureSymbol : IntermediateSymbol |
| 45 | { | 45 | { |
| 46 | public WixBundleMsiFeatureTuple() : base(TupleDefinitions.WixBundleMsiFeature, null, null) | 46 | public WixBundleMsiFeatureSymbol() : base(SymbolDefinitions.WixBundleMsiFeature, null, null) |
| 47 | { | 47 | { |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public WixBundleMsiFeatureTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleMsiFeature, sourceLineNumber, id) | 50 | public WixBundleMsiFeatureSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleMsiFeature, sourceLineNumber, id) |
| 51 | { | 51 | { |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public IntermediateField this[WixBundleMsiFeatureTupleFields index] => this.Fields[(int)index]; | 54 | public IntermediateField this[WixBundleMsiFeatureSymbolFields index] => this.Fields[(int)index]; |
| 55 | 55 | ||
| 56 | public string PackageRef | 56 | public string PackageRef |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)WixBundleMsiFeatureTupleFields.PackageRef]; | 58 | get => (string)this.Fields[(int)WixBundleMsiFeatureSymbolFields.PackageRef]; |
| 59 | set => this.Set((int)WixBundleMsiFeatureTupleFields.PackageRef, value); | 59 | set => this.Set((int)WixBundleMsiFeatureSymbolFields.PackageRef, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Name | 62 | public string Name |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)WixBundleMsiFeatureTupleFields.Name]; | 64 | get => (string)this.Fields[(int)WixBundleMsiFeatureSymbolFields.Name]; |
| 65 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Name, value); | 65 | set => this.Set((int)WixBundleMsiFeatureSymbolFields.Name, value); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public long Size | 68 | public long Size |
| 69 | { | 69 | { |
| 70 | get => (long)this.Fields[(int)WixBundleMsiFeatureTupleFields.Size]; | 70 | get => (long)this.Fields[(int)WixBundleMsiFeatureSymbolFields.Size]; |
| 71 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Size, value); | 71 | set => this.Set((int)WixBundleMsiFeatureSymbolFields.Size, value); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public string Parent | 74 | public string Parent |
| 75 | { | 75 | { |
| 76 | get => (string)this.Fields[(int)WixBundleMsiFeatureTupleFields.Parent]; | 76 | get => (string)this.Fields[(int)WixBundleMsiFeatureSymbolFields.Parent]; |
| 77 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Parent, value); | 77 | set => this.Set((int)WixBundleMsiFeatureSymbolFields.Parent, value); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public string Title | 80 | public string Title |
| 81 | { | 81 | { |
| 82 | get => (string)this.Fields[(int)WixBundleMsiFeatureTupleFields.Title]; | 82 | get => (string)this.Fields[(int)WixBundleMsiFeatureSymbolFields.Title]; |
| 83 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Title, value); | 83 | set => this.Set((int)WixBundleMsiFeatureSymbolFields.Title, value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public string Description | 86 | public string Description |
| 87 | { | 87 | { |
| 88 | get => (string)this.Fields[(int)WixBundleMsiFeatureTupleFields.Description]; | 88 | get => (string)this.Fields[(int)WixBundleMsiFeatureSymbolFields.Description]; |
| 89 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Description, value); | 89 | set => this.Set((int)WixBundleMsiFeatureSymbolFields.Description, value); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | public int Display | 92 | public int Display |
| 93 | { | 93 | { |
| 94 | get => (int)this.Fields[(int)WixBundleMsiFeatureTupleFields.Display]; | 94 | get => (int)this.Fields[(int)WixBundleMsiFeatureSymbolFields.Display]; |
| 95 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Display, value); | 95 | set => this.Set((int)WixBundleMsiFeatureSymbolFields.Display, value); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | public int Level | 98 | public int Level |
| 99 | { | 99 | { |
| 100 | get => (int)this.Fields[(int)WixBundleMsiFeatureTupleFields.Level]; | 100 | get => (int)this.Fields[(int)WixBundleMsiFeatureSymbolFields.Level]; |
| 101 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Level, value); | 101 | set => this.Set((int)WixBundleMsiFeatureSymbolFields.Level, value); |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | public string Directory | 104 | public string Directory |
| 105 | { | 105 | { |
| 106 | get => (string)this.Fields[(int)WixBundleMsiFeatureTupleFields.Directory]; | 106 | get => (string)this.Fields[(int)WixBundleMsiFeatureSymbolFields.Directory]; |
| 107 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Directory, value); | 107 | set => this.Set((int)WixBundleMsiFeatureSymbolFields.Directory, value); |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | public int Attributes | 110 | public int Attributes |
| 111 | { | 111 | { |
| 112 | get => (int)this.Fields[(int)WixBundleMsiFeatureTupleFields.Attributes]; | 112 | get => (int)this.Fields[(int)WixBundleMsiFeatureSymbolFields.Attributes]; |
| 113 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Attributes, value); | 113 | set => this.Set((int)WixBundleMsiFeatureSymbolFields.Attributes, value); |
| 114 | } | 114 | } |
| 115 | } | 115 | } |
| 116 | } | 116 | } |
diff --git a/src/WixToolset.Data/Tuples/WixBundleMsiPackageTuple.cs b/src/WixToolset.Data/Tuples/WixBundleMsiPackageTuple.cs index 163b56ae..21735f64 100644 --- a/src/WixToolset.Data/Tuples/WixBundleMsiPackageTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleMsiPackageTuple.cs | |||
| @@ -2,31 +2,31 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleMsiPackage = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleMsiPackage = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleMsiPackage, | 10 | SymbolDefinitionType.WixBundleMsiPackage, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageTupleFields.Attributes), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageSymbolFields.Attributes), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageTupleFields.ProductCode), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageSymbolFields.ProductCode), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageTupleFields.UpgradeCode), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageSymbolFields.UpgradeCode), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageTupleFields.ProductVersion), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageSymbolFields.ProductVersion), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageTupleFields.ProductLanguage), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageSymbolFields.ProductLanguage), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageTupleFields.ProductName), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageSymbolFields.ProductName), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageTupleFields.Manufacturer), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageSymbolFields.Manufacturer), IntermediateFieldType.String), |
| 20 | }, | 20 | }, |
| 21 | typeof(WixBundleMsiPackageTuple)); | 21 | typeof(WixBundleMsiPackageSymbol)); |
| 22 | } | 22 | } |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | namespace WixToolset.Data.Tuples | 25 | namespace WixToolset.Data.Symbols |
| 26 | { | 26 | { |
| 27 | using System; | 27 | using System; |
| 28 | 28 | ||
| 29 | public enum WixBundleMsiPackageTupleFields | 29 | public enum WixBundleMsiPackageSymbolFields |
| 30 | { | 30 | { |
| 31 | Attributes, | 31 | Attributes, |
| 32 | ProductCode, | 32 | ProductCode, |
| @@ -44,58 +44,58 @@ namespace WixToolset.Data.Tuples | |||
| 44 | ForcePerMachine = 0x2, | 44 | ForcePerMachine = 0x2, |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | public class WixBundleMsiPackageTuple : IntermediateTuple | 47 | public class WixBundleMsiPackageSymbol : IntermediateSymbol |
| 48 | { | 48 | { |
| 49 | public WixBundleMsiPackageTuple() : base(TupleDefinitions.WixBundleMsiPackage, null, null) | 49 | public WixBundleMsiPackageSymbol() : base(SymbolDefinitions.WixBundleMsiPackage, null, null) |
| 50 | { | 50 | { |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | public WixBundleMsiPackageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleMsiPackage, sourceLineNumber, id) | 53 | public WixBundleMsiPackageSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleMsiPackage, sourceLineNumber, id) |
| 54 | { | 54 | { |
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | public IntermediateField this[WixBundleMsiPackageTupleFields index] => this.Fields[(int)index]; | 57 | public IntermediateField this[WixBundleMsiPackageSymbolFields index] => this.Fields[(int)index]; |
| 58 | 58 | ||
| 59 | public WixBundleMsiPackageAttributes Attributes | 59 | public WixBundleMsiPackageAttributes Attributes |
| 60 | { | 60 | { |
| 61 | get => (WixBundleMsiPackageAttributes)(int)this.Fields[(int)WixBundleMsiPackageTupleFields.Attributes]; | 61 | get => (WixBundleMsiPackageAttributes)(int)this.Fields[(int)WixBundleMsiPackageSymbolFields.Attributes]; |
| 62 | set => this.Set((int)WixBundleMsiPackageTupleFields.Attributes, (int)value); | 62 | set => this.Set((int)WixBundleMsiPackageSymbolFields.Attributes, (int)value); |
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | public string ProductCode | 65 | public string ProductCode |
| 66 | { | 66 | { |
| 67 | get => (string)this.Fields[(int)WixBundleMsiPackageTupleFields.ProductCode]; | 67 | get => (string)this.Fields[(int)WixBundleMsiPackageSymbolFields.ProductCode]; |
| 68 | set => this.Set((int)WixBundleMsiPackageTupleFields.ProductCode, value); | 68 | set => this.Set((int)WixBundleMsiPackageSymbolFields.ProductCode, value); |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | public string UpgradeCode | 71 | public string UpgradeCode |
| 72 | { | 72 | { |
| 73 | get => (string)this.Fields[(int)WixBundleMsiPackageTupleFields.UpgradeCode]; | 73 | get => (string)this.Fields[(int)WixBundleMsiPackageSymbolFields.UpgradeCode]; |
| 74 | set => this.Set((int)WixBundleMsiPackageTupleFields.UpgradeCode, value); | 74 | set => this.Set((int)WixBundleMsiPackageSymbolFields.UpgradeCode, value); |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | public string ProductVersion | 77 | public string ProductVersion |
| 78 | { | 78 | { |
| 79 | get => (string)this.Fields[(int)WixBundleMsiPackageTupleFields.ProductVersion]; | 79 | get => (string)this.Fields[(int)WixBundleMsiPackageSymbolFields.ProductVersion]; |
| 80 | set => this.Set((int)WixBundleMsiPackageTupleFields.ProductVersion, value); | 80 | set => this.Set((int)WixBundleMsiPackageSymbolFields.ProductVersion, value); |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | public int ProductLanguage | 83 | public int ProductLanguage |
| 84 | { | 84 | { |
| 85 | get => (int)this.Fields[(int)WixBundleMsiPackageTupleFields.ProductLanguage]; | 85 | get => (int)this.Fields[(int)WixBundleMsiPackageSymbolFields.ProductLanguage]; |
| 86 | set => this.Set((int)WixBundleMsiPackageTupleFields.ProductLanguage, value); | 86 | set => this.Set((int)WixBundleMsiPackageSymbolFields.ProductLanguage, value); |
| 87 | } | 87 | } |
| 88 | 88 | ||
| 89 | public string ProductName | 89 | public string ProductName |
| 90 | { | 90 | { |
| 91 | get => (string)this.Fields[(int)WixBundleMsiPackageTupleFields.ProductName]; | 91 | get => (string)this.Fields[(int)WixBundleMsiPackageSymbolFields.ProductName]; |
| 92 | set => this.Set((int)WixBundleMsiPackageTupleFields.ProductName, value); | 92 | set => this.Set((int)WixBundleMsiPackageSymbolFields.ProductName, value); |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | public string Manufacturer | 95 | public string Manufacturer |
| 96 | { | 96 | { |
| 97 | get => (string)this.Fields[(int)WixBundleMsiPackageTupleFields.Manufacturer]; | 97 | get => (string)this.Fields[(int)WixBundleMsiPackageSymbolFields.Manufacturer]; |
| 98 | set => this.Set((int)WixBundleMsiPackageTupleFields.Manufacturer, value); | 98 | set => this.Set((int)WixBundleMsiPackageSymbolFields.Manufacturer, value); |
| 99 | } | 99 | } |
| 100 | 100 | ||
| 101 | public bool EnableFeatureSelection => (this.Attributes & WixBundleMsiPackageAttributes.EnableFeatureSelection) == WixBundleMsiPackageAttributes.EnableFeatureSelection; | 101 | public bool EnableFeatureSelection => (this.Attributes & WixBundleMsiPackageAttributes.EnableFeatureSelection) == WixBundleMsiPackageAttributes.EnableFeatureSelection; |
diff --git a/src/WixToolset.Data/Tuples/WixBundleMsiPropertyTuple.cs b/src/WixToolset.Data/Tuples/WixBundleMsiPropertyTuple.cs index 80500f17..0d87f87d 100644 --- a/src/WixToolset.Data/Tuples/WixBundleMsiPropertyTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleMsiPropertyTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleMsiProperty = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleMsiProperty = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleMsiProperty, | 10 | SymbolDefinitionType.WixBundleMsiProperty, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleMsiPropertyTupleFields.PackageRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundleMsiPropertySymbolFields.PackageRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundleMsiPropertyTupleFields.Name), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBundleMsiPropertySymbolFields.Name), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixBundleMsiPropertyTupleFields.Value), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixBundleMsiPropertySymbolFields.Value), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixBundleMsiPropertyTupleFields.Condition), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixBundleMsiPropertySymbolFields.Condition), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(WixBundleMsiPropertyTuple)); | 18 | typeof(WixBundleMsiPropertySymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum WixBundleMsiPropertyTupleFields | 24 | public enum WixBundleMsiPropertySymbolFields |
| 25 | { | 25 | { |
| 26 | PackageRef, | 26 | PackageRef, |
| 27 | Name, | 27 | Name, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Condition, | 29 | Condition, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class WixBundleMsiPropertyTuple : IntermediateTuple | 32 | public class WixBundleMsiPropertySymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public WixBundleMsiPropertyTuple() : base(TupleDefinitions.WixBundleMsiProperty, null, null) | 34 | public WixBundleMsiPropertySymbol() : base(SymbolDefinitions.WixBundleMsiProperty, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public WixBundleMsiPropertyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleMsiProperty, sourceLineNumber, id) | 38 | public WixBundleMsiPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleMsiProperty, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[WixBundleMsiPropertyTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[WixBundleMsiPropertySymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string PackageRef | 44 | public string PackageRef |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)WixBundleMsiPropertyTupleFields.PackageRef]; | 46 | get => (string)this.Fields[(int)WixBundleMsiPropertySymbolFields.PackageRef]; |
| 47 | set => this.Set((int)WixBundleMsiPropertyTupleFields.PackageRef, value); | 47 | set => this.Set((int)WixBundleMsiPropertySymbolFields.PackageRef, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string Name | 50 | public string Name |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)WixBundleMsiPropertyTupleFields.Name]; | 52 | get => (string)this.Fields[(int)WixBundleMsiPropertySymbolFields.Name]; |
| 53 | set => this.Set((int)WixBundleMsiPropertyTupleFields.Name, value); | 53 | set => this.Set((int)WixBundleMsiPropertySymbolFields.Name, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string Value | 56 | public string Value |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)WixBundleMsiPropertyTupleFields.Value]; | 58 | get => (string)this.Fields[(int)WixBundleMsiPropertySymbolFields.Value]; |
| 59 | set => this.Set((int)WixBundleMsiPropertyTupleFields.Value, value); | 59 | set => this.Set((int)WixBundleMsiPropertySymbolFields.Value, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Condition | 62 | public string Condition |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)WixBundleMsiPropertyTupleFields.Condition]; | 64 | get => (string)this.Fields[(int)WixBundleMsiPropertySymbolFields.Condition]; |
| 65 | set => this.Set((int)WixBundleMsiPropertyTupleFields.Condition, value); | 65 | set => this.Set((int)WixBundleMsiPropertySymbolFields.Condition, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixBundleMspPackageTuple.cs b/src/WixToolset.Data/Tuples/WixBundleMspPackageTuple.cs index 7e94ff25..3784c2ff 100644 --- a/src/WixToolset.Data/Tuples/WixBundleMspPackageTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleMspPackageTuple.cs | |||
| @@ -2,28 +2,28 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleMspPackage = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleMspPackage = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleMspPackage, | 10 | SymbolDefinitionType.WixBundleMspPackage, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleMspPackageTupleFields.Attributes), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(WixBundleMspPackageSymbolFields.Attributes), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundleMspPackageTupleFields.PatchCode), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBundleMspPackageSymbolFields.PatchCode), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixBundleMspPackageTupleFields.Manufacturer), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixBundleMspPackageSymbolFields.Manufacturer), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixBundleMspPackageTupleFields.PatchXml), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixBundleMspPackageSymbolFields.PatchXml), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(WixBundleMspPackageTuple)); | 18 | typeof(WixBundleMspPackageSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | using System; | 24 | using System; |
| 25 | 25 | ||
| 26 | public enum WixBundleMspPackageTupleFields | 26 | public enum WixBundleMspPackageSymbolFields |
| 27 | { | 27 | { |
| 28 | Attributes, | 28 | Attributes, |
| 29 | PatchCode, | 29 | PatchCode, |
| @@ -38,40 +38,40 @@ namespace WixToolset.Data.Tuples | |||
| 38 | TargetUnspecified = 0x4, | 38 | TargetUnspecified = 0x4, |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | public class WixBundleMspPackageTuple : IntermediateTuple | 41 | public class WixBundleMspPackageSymbol : IntermediateSymbol |
| 42 | { | 42 | { |
| 43 | public WixBundleMspPackageTuple() : base(TupleDefinitions.WixBundleMspPackage, null, null) | 43 | public WixBundleMspPackageSymbol() : base(SymbolDefinitions.WixBundleMspPackage, null, null) |
| 44 | { | 44 | { |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | public WixBundleMspPackageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleMspPackage, sourceLineNumber, id) | 47 | public WixBundleMspPackageSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleMspPackage, sourceLineNumber, id) |
| 48 | { | 48 | { |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | public IntermediateField this[WixBundleMspPackageTupleFields index] => this.Fields[(int)index]; | 51 | public IntermediateField this[WixBundleMspPackageSymbolFields index] => this.Fields[(int)index]; |
| 52 | 52 | ||
| 53 | public WixBundleMspPackageAttributes Attributes | 53 | public WixBundleMspPackageAttributes Attributes |
| 54 | { | 54 | { |
| 55 | get => (WixBundleMspPackageAttributes)(int)this.Fields[(int)WixBundleMspPackageTupleFields.Attributes]; | 55 | get => (WixBundleMspPackageAttributes)(int)this.Fields[(int)WixBundleMspPackageSymbolFields.Attributes]; |
| 56 | set => this.Set((int)WixBundleMspPackageTupleFields.Attributes, (int)value); | 56 | set => this.Set((int)WixBundleMspPackageSymbolFields.Attributes, (int)value); |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | public string PatchCode | 59 | public string PatchCode |
| 60 | { | 60 | { |
| 61 | get => (string)this.Fields[(int)WixBundleMspPackageTupleFields.PatchCode]; | 61 | get => (string)this.Fields[(int)WixBundleMspPackageSymbolFields.PatchCode]; |
| 62 | set => this.Set((int)WixBundleMspPackageTupleFields.PatchCode, value); | 62 | set => this.Set((int)WixBundleMspPackageSymbolFields.PatchCode, value); |
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | public string Manufacturer | 65 | public string Manufacturer |
| 66 | { | 66 | { |
| 67 | get => (string)this.Fields[(int)WixBundleMspPackageTupleFields.Manufacturer]; | 67 | get => (string)this.Fields[(int)WixBundleMspPackageSymbolFields.Manufacturer]; |
| 68 | set => this.Set((int)WixBundleMspPackageTupleFields.Manufacturer, value); | 68 | set => this.Set((int)WixBundleMspPackageSymbolFields.Manufacturer, value); |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | public string PatchXml | 71 | public string PatchXml |
| 72 | { | 72 | { |
| 73 | get => (string)this.Fields[(int)WixBundleMspPackageTupleFields.PatchXml]; | 73 | get => (string)this.Fields[(int)WixBundleMspPackageSymbolFields.PatchXml]; |
| 74 | set => this.Set((int)WixBundleMspPackageTupleFields.PatchXml, value); | 74 | set => this.Set((int)WixBundleMspPackageSymbolFields.PatchXml, value); |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | public bool Slipstream => (this.Attributes & WixBundleMspPackageAttributes.Slipstream) == WixBundleMspPackageAttributes.Slipstream; | 77 | public bool Slipstream => (this.Attributes & WixBundleMspPackageAttributes.Slipstream) == WixBundleMspPackageAttributes.Slipstream; |
diff --git a/src/WixToolset.Data/Tuples/WixBundleMsuPackageTuple.cs b/src/WixToolset.Data/Tuples/WixBundleMsuPackageTuple.cs index 5d5a4672..e52a9b2d 100644 --- a/src/WixToolset.Data/Tuples/WixBundleMsuPackageTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleMsuPackageTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleMsuPackage = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleMsuPackage = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleMsuPackage, | 10 | SymbolDefinitionType.WixBundleMsuPackage, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleMsuPackageTupleFields.DetectCondition), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundleMsuPackageSymbolFields.DetectCondition), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundleMsuPackageTupleFields.MsuKB), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBundleMsuPackageSymbolFields.MsuKB), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(WixBundleMsuPackageTuple)); | 16 | typeof(WixBundleMsuPackageSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum WixBundleMsuPackageTupleFields | 22 | public enum WixBundleMsuPackageSymbolFields |
| 23 | { | 23 | { |
| 24 | DetectCondition, | 24 | DetectCondition, |
| 25 | MsuKB, | 25 | MsuKB, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class WixBundleMsuPackageTuple : IntermediateTuple | 28 | public class WixBundleMsuPackageSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public WixBundleMsuPackageTuple() : base(TupleDefinitions.WixBundleMsuPackage, null, null) | 30 | public WixBundleMsuPackageSymbol() : base(SymbolDefinitions.WixBundleMsuPackage, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public WixBundleMsuPackageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleMsuPackage, sourceLineNumber, id) | 34 | public WixBundleMsuPackageSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleMsuPackage, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[WixBundleMsuPackageTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[WixBundleMsuPackageSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string DetectCondition | 40 | public string DetectCondition |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)WixBundleMsuPackageTupleFields.DetectCondition]; | 42 | get => (string)this.Fields[(int)WixBundleMsuPackageSymbolFields.DetectCondition]; |
| 43 | set => this.Set((int)WixBundleMsuPackageTupleFields.DetectCondition, value); | 43 | set => this.Set((int)WixBundleMsuPackageSymbolFields.DetectCondition, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string MsuKB | 46 | public string MsuKB |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)WixBundleMsuPackageTupleFields.MsuKB]; | 48 | get => (string)this.Fields[(int)WixBundleMsuPackageSymbolFields.MsuKB]; |
| 49 | set => this.Set((int)WixBundleMsuPackageTupleFields.MsuKB, value); | 49 | set => this.Set((int)WixBundleMsuPackageSymbolFields.MsuKB, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixBundlePackageCommandLineTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePackageCommandLineTuple.cs index 42bad1f0..7ef254a6 100644 --- a/src/WixToolset.Data/Tuples/WixBundlePackageCommandLineTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundlePackageCommandLineTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundlePackageCommandLine = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundlePackageCommandLine = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundlePackageCommandLine, | 10 | SymbolDefinitionType.WixBundlePackageCommandLine, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundlePackageCommandLineTupleFields.WixBundlePackageRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundlePackageCommandLineSymbolFields.WixBundlePackageRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundlePackageCommandLineTupleFields.InstallArgument), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBundlePackageCommandLineSymbolFields.InstallArgument), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixBundlePackageCommandLineTupleFields.UninstallArgument), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixBundlePackageCommandLineSymbolFields.UninstallArgument), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixBundlePackageCommandLineTupleFields.RepairArgument), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixBundlePackageCommandLineSymbolFields.RepairArgument), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(WixBundlePackageCommandLineTupleFields.Condition), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(WixBundlePackageCommandLineSymbolFields.Condition), IntermediateFieldType.String), |
| 18 | }, | 18 | }, |
| 19 | typeof(WixBundlePackageCommandLineTuple)); | 19 | typeof(WixBundlePackageCommandLineSymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | public enum WixBundlePackageCommandLineTupleFields | 25 | public enum WixBundlePackageCommandLineSymbolFields |
| 26 | { | 26 | { |
| 27 | WixBundlePackageRef, | 27 | WixBundlePackageRef, |
| 28 | InstallArgument, | 28 | InstallArgument, |
| @@ -31,46 +31,46 @@ namespace WixToolset.Data.Tuples | |||
| 31 | Condition, | 31 | Condition, |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public class WixBundlePackageCommandLineTuple : IntermediateTuple | 34 | public class WixBundlePackageCommandLineSymbol : IntermediateSymbol |
| 35 | { | 35 | { |
| 36 | public WixBundlePackageCommandLineTuple() : base(TupleDefinitions.WixBundlePackageCommandLine, null, null) | 36 | public WixBundlePackageCommandLineSymbol() : base(SymbolDefinitions.WixBundlePackageCommandLine, null, null) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public WixBundlePackageCommandLineTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundlePackageCommandLine, sourceLineNumber, id) | 40 | public WixBundlePackageCommandLineSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundlePackageCommandLine, sourceLineNumber, id) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public IntermediateField this[WixBundlePackageCommandLineTupleFields index] => this.Fields[(int)index]; | 44 | public IntermediateField this[WixBundlePackageCommandLineSymbolFields index] => this.Fields[(int)index]; |
| 45 | 45 | ||
| 46 | public string WixBundlePackageRef | 46 | public string WixBundlePackageRef |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)WixBundlePackageCommandLineTupleFields.WixBundlePackageRef]; | 48 | get => (string)this.Fields[(int)WixBundlePackageCommandLineSymbolFields.WixBundlePackageRef]; |
| 49 | set => this.Set((int)WixBundlePackageCommandLineTupleFields.WixBundlePackageRef, value); | 49 | set => this.Set((int)WixBundlePackageCommandLineSymbolFields.WixBundlePackageRef, value); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | public string InstallArgument | 52 | public string InstallArgument |
| 53 | { | 53 | { |
| 54 | get => (string)this.Fields[(int)WixBundlePackageCommandLineTupleFields.InstallArgument]; | 54 | get => (string)this.Fields[(int)WixBundlePackageCommandLineSymbolFields.InstallArgument]; |
| 55 | set => this.Set((int)WixBundlePackageCommandLineTupleFields.InstallArgument, value); | 55 | set => this.Set((int)WixBundlePackageCommandLineSymbolFields.InstallArgument, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public string UninstallArgument | 58 | public string UninstallArgument |
| 59 | { | 59 | { |
| 60 | get => (string)this.Fields[(int)WixBundlePackageCommandLineTupleFields.UninstallArgument]; | 60 | get => (string)this.Fields[(int)WixBundlePackageCommandLineSymbolFields.UninstallArgument]; |
| 61 | set => this.Set((int)WixBundlePackageCommandLineTupleFields.UninstallArgument, value); | 61 | set => this.Set((int)WixBundlePackageCommandLineSymbolFields.UninstallArgument, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public string RepairArgument | 64 | public string RepairArgument |
| 65 | { | 65 | { |
| 66 | get => (string)this.Fields[(int)WixBundlePackageCommandLineTupleFields.RepairArgument]; | 66 | get => (string)this.Fields[(int)WixBundlePackageCommandLineSymbolFields.RepairArgument]; |
| 67 | set => this.Set((int)WixBundlePackageCommandLineTupleFields.RepairArgument, value); | 67 | set => this.Set((int)WixBundlePackageCommandLineSymbolFields.RepairArgument, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public string Condition | 70 | public string Condition |
| 71 | { | 71 | { |
| 72 | get => (string)this.Fields[(int)WixBundlePackageCommandLineTupleFields.Condition]; | 72 | get => (string)this.Fields[(int)WixBundlePackageCommandLineSymbolFields.Condition]; |
| 73 | set => this.Set((int)WixBundlePackageCommandLineTupleFields.Condition, value); | 73 | set => this.Set((int)WixBundlePackageCommandLineSymbolFields.Condition, value); |
| 74 | } | 74 | } |
| 75 | } | 75 | } |
| 76 | } \ No newline at end of file | 76 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixBundlePackageExitCodeTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePackageExitCodeTuple.cs index c585011d..d77d9d58 100644 --- a/src/WixToolset.Data/Tuples/WixBundlePackageExitCodeTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundlePackageExitCodeTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundlePackageExitCode = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundlePackageExitCode = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundlePackageExitCode, | 10 | SymbolDefinitionType.WixBundlePackageExitCode, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundlePackageExitCodeTupleFields.ChainPackageId), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundlePackageExitCodeSymbolFields.ChainPackageId), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundlePackageExitCodeTupleFields.Code), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(WixBundlePackageExitCodeSymbolFields.Code), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(WixBundlePackageExitCodeTupleFields.Behavior), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixBundlePackageExitCodeSymbolFields.Behavior), IntermediateFieldType.String), |
| 16 | }, | 16 | }, |
| 17 | typeof(WixBundlePackageExitCodeTuple)); | 17 | typeof(WixBundlePackageExitCodeSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | using System; | 23 | using System; |
| 24 | 24 | ||
| 25 | public enum WixBundlePackageExitCodeTupleFields | 25 | public enum WixBundlePackageExitCodeSymbolFields |
| 26 | { | 26 | { |
| 27 | ChainPackageId, | 27 | ChainPackageId, |
| 28 | Code, | 28 | Code, |
| @@ -38,34 +38,34 @@ namespace WixToolset.Data.Tuples | |||
| 38 | ForceReboot, | 38 | ForceReboot, |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | public class WixBundlePackageExitCodeTuple : IntermediateTuple | 41 | public class WixBundlePackageExitCodeSymbol : IntermediateSymbol |
| 42 | { | 42 | { |
| 43 | public WixBundlePackageExitCodeTuple() : base(TupleDefinitions.WixBundlePackageExitCode, null, null) | 43 | public WixBundlePackageExitCodeSymbol() : base(SymbolDefinitions.WixBundlePackageExitCode, null, null) |
| 44 | { | 44 | { |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | public WixBundlePackageExitCodeTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundlePackageExitCode, sourceLineNumber, id) | 47 | public WixBundlePackageExitCodeSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundlePackageExitCode, sourceLineNumber, id) |
| 48 | { | 48 | { |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | public IntermediateField this[WixBundlePackageExitCodeTupleFields index] => this.Fields[(int)index]; | 51 | public IntermediateField this[WixBundlePackageExitCodeSymbolFields index] => this.Fields[(int)index]; |
| 52 | 52 | ||
| 53 | public string ChainPackageId | 53 | public string ChainPackageId |
| 54 | { | 54 | { |
| 55 | get => (string)this.Fields[(int)WixBundlePackageExitCodeTupleFields.ChainPackageId]; | 55 | get => (string)this.Fields[(int)WixBundlePackageExitCodeSymbolFields.ChainPackageId]; |
| 56 | set => this.Set((int)WixBundlePackageExitCodeTupleFields.ChainPackageId, value); | 56 | set => this.Set((int)WixBundlePackageExitCodeSymbolFields.ChainPackageId, value); |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | public int? Code | 59 | public int? Code |
| 60 | { | 60 | { |
| 61 | get => (int?)this.Fields[(int)WixBundlePackageExitCodeTupleFields.Code]; | 61 | get => (int?)this.Fields[(int)WixBundlePackageExitCodeSymbolFields.Code]; |
| 62 | set => this.Set((int)WixBundlePackageExitCodeTupleFields.Code, value); | 62 | set => this.Set((int)WixBundlePackageExitCodeSymbolFields.Code, value); |
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | public ExitCodeBehaviorType Behavior | 65 | public ExitCodeBehaviorType Behavior |
| 66 | { | 66 | { |
| 67 | get => Enum.TryParse((string)this.Fields[(int)WixBundlePackageExitCodeTupleFields.Behavior], true, out ExitCodeBehaviorType value) ? value : ExitCodeBehaviorType.NotSet; | 67 | get => Enum.TryParse((string)this.Fields[(int)WixBundlePackageExitCodeSymbolFields.Behavior], true, out ExitCodeBehaviorType value) ? value : ExitCodeBehaviorType.NotSet; |
| 68 | set => this.Set((int)WixBundlePackageExitCodeTupleFields.Behavior, value.ToString()); | 68 | set => this.Set((int)WixBundlePackageExitCodeSymbolFields.Behavior, value.ToString()); |
| 69 | } | 69 | } |
| 70 | } | 70 | } |
| 71 | } | 71 | } |
diff --git a/src/WixToolset.Data/Tuples/WixBundlePackageGroupTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePackageGroupTuple.cs index ababd00e..a5e1943b 100644 --- a/src/WixToolset.Data/Tuples/WixBundlePackageGroupTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundlePackageGroupTuple.cs | |||
| @@ -2,35 +2,35 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundlePackageGroup = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundlePackageGroup = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundlePackageGroup, | 10 | SymbolDefinitionType.WixBundlePackageGroup, |
| 11 | new IntermediateFieldDefinition[] | 11 | new IntermediateFieldDefinition[] |
| 12 | { | 12 | { |
| 13 | }, | 13 | }, |
| 14 | typeof(WixBundlePackageGroupTuple)); | 14 | typeof(WixBundlePackageGroupSymbol)); |
| 15 | } | 15 | } |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | namespace WixToolset.Data.Tuples | 18 | namespace WixToolset.Data.Symbols |
| 19 | { | 19 | { |
| 20 | public enum WixBundlePackageGroupTupleFields | 20 | public enum WixBundlePackageGroupSymbolFields |
| 21 | { | 21 | { |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | public class WixBundlePackageGroupTuple : IntermediateTuple | 24 | public class WixBundlePackageGroupSymbol : IntermediateSymbol |
| 25 | { | 25 | { |
| 26 | public WixBundlePackageGroupTuple() : base(TupleDefinitions.WixBundlePackageGroup, null, null) | 26 | public WixBundlePackageGroupSymbol() : base(SymbolDefinitions.WixBundlePackageGroup, null, null) |
| 27 | { | 27 | { |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public WixBundlePackageGroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundlePackageGroup, sourceLineNumber, id) | 30 | public WixBundlePackageGroupSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundlePackageGroup, sourceLineNumber, id) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public IntermediateField this[WixBundlePackageGroupTupleFields index] => this.Fields[(int)index]; | 34 | public IntermediateField this[WixBundlePackageGroupSymbolFields index] => this.Fields[(int)index]; |
| 35 | } | 35 | } |
| 36 | } \ No newline at end of file | 36 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixBundlePackageTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePackageTuple.cs index 6d248062..8f073900 100644 --- a/src/WixToolset.Data/Tuples/WixBundlePackageTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundlePackageTuple.cs | |||
| @@ -2,43 +2,43 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundlePackage = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundlePackage = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundlePackage, | 10 | SymbolDefinitionType.WixBundlePackage, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Type), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.Type), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.PayloadRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.PayloadRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Attributes), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.Attributes), IntermediateFieldType.Number), |
| 16 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.InstallCondition), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.InstallCondition), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Cache), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.Cache), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.CacheId), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.CacheId), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Vital), IntermediateFieldType.Bool), | 19 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.Vital), IntermediateFieldType.Bool), |
| 20 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.PerMachine), IntermediateFieldType.String), | 20 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.PerMachine), IntermediateFieldType.String), |
| 21 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.LogPathVariable), IntermediateFieldType.String), | 21 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.LogPathVariable), IntermediateFieldType.String), |
| 22 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.RollbackLogPathVariable), IntermediateFieldType.String), | 22 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.RollbackLogPathVariable), IntermediateFieldType.String), |
| 23 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Size), IntermediateFieldType.Number), | 23 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.Size), IntermediateFieldType.Number), |
| 24 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.InstallSize), IntermediateFieldType.LargeNumber), | 24 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.InstallSize), IntermediateFieldType.LargeNumber), |
| 25 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Version), IntermediateFieldType.String), | 25 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.Version), IntermediateFieldType.String), |
| 26 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Language), IntermediateFieldType.Number), | 26 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.Language), IntermediateFieldType.Number), |
| 27 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.DisplayName), IntermediateFieldType.String), | 27 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.DisplayName), IntermediateFieldType.String), |
| 28 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Description), IntermediateFieldType.String), | 28 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.Description), IntermediateFieldType.String), |
| 29 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.RollbackBoundaryRef), IntermediateFieldType.String), | 29 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.RollbackBoundaryRef), IntermediateFieldType.String), |
| 30 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.RollbackBoundaryBackwardRef), IntermediateFieldType.String), | 30 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.RollbackBoundaryBackwardRef), IntermediateFieldType.String), |
| 31 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Win64), IntermediateFieldType.Bool), | 31 | new IntermediateFieldDefinition(nameof(WixBundlePackageSymbolFields.Win64), IntermediateFieldType.Bool), |
| 32 | }, | 32 | }, |
| 33 | typeof(WixBundlePackageTuple)); | 33 | typeof(WixBundlePackageSymbol)); |
| 34 | } | 34 | } |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | namespace WixToolset.Data.Tuples | 37 | namespace WixToolset.Data.Symbols |
| 38 | { | 38 | { |
| 39 | using System; | 39 | using System; |
| 40 | 40 | ||
| 41 | public enum WixBundlePackageTupleFields | 41 | public enum WixBundlePackageSymbolFields |
| 42 | { | 42 | { |
| 43 | Type, | 43 | Type, |
| 44 | PayloadRef, | 44 | PayloadRef, |
| @@ -81,130 +81,130 @@ namespace WixToolset.Data.Tuples | |||
| 81 | Win64 = 0x8, | 81 | Win64 = 0x8, |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | public class WixBundlePackageTuple : IntermediateTuple | 84 | public class WixBundlePackageSymbol : IntermediateSymbol |
| 85 | { | 85 | { |
| 86 | public WixBundlePackageTuple() : base(TupleDefinitions.WixBundlePackage, null, null) | 86 | public WixBundlePackageSymbol() : base(SymbolDefinitions.WixBundlePackage, null, null) |
| 87 | { | 87 | { |
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | public WixBundlePackageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundlePackage, sourceLineNumber, id) | 90 | public WixBundlePackageSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundlePackage, sourceLineNumber, id) |
| 91 | { | 91 | { |
| 92 | } | 92 | } |
| 93 | 93 | ||
| 94 | public IntermediateField this[WixBundlePackageTupleFields index] => this.Fields[(int)index]; | 94 | public IntermediateField this[WixBundlePackageSymbolFields index] => this.Fields[(int)index]; |
| 95 | 95 | ||
| 96 | public WixBundlePackageType Type | 96 | public WixBundlePackageType Type |
| 97 | { | 97 | { |
| 98 | get => (WixBundlePackageType)Enum.Parse(typeof(WixBundlePackageType), (string)this.Fields[(int)WixBundlePackageTupleFields.Type], true); | 98 | get => (WixBundlePackageType)Enum.Parse(typeof(WixBundlePackageType), (string)this.Fields[(int)WixBundlePackageSymbolFields.Type], true); |
| 99 | set => this.Set((int)WixBundlePackageTupleFields.Type, value.ToString()); | 99 | set => this.Set((int)WixBundlePackageSymbolFields.Type, value.ToString()); |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | public string PayloadRef | 102 | public string PayloadRef |
| 103 | { | 103 | { |
| 104 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.PayloadRef]; | 104 | get => (string)this.Fields[(int)WixBundlePackageSymbolFields.PayloadRef]; |
| 105 | set => this.Set((int)WixBundlePackageTupleFields.PayloadRef, value); | 105 | set => this.Set((int)WixBundlePackageSymbolFields.PayloadRef, value); |
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | public WixBundlePackageAttributes Attributes | 108 | public WixBundlePackageAttributes Attributes |
| 109 | { | 109 | { |
| 110 | get => (WixBundlePackageAttributes)(int)this.Fields[(int)WixBundlePackageTupleFields.Attributes]; | 110 | get => (WixBundlePackageAttributes)(int)this.Fields[(int)WixBundlePackageSymbolFields.Attributes]; |
| 111 | set => this.Set((int)WixBundlePackageTupleFields.Attributes, (int)value); | 111 | set => this.Set((int)WixBundlePackageSymbolFields.Attributes, (int)value); |
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | public string InstallCondition | 114 | public string InstallCondition |
| 115 | { | 115 | { |
| 116 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.InstallCondition]; | 116 | get => (string)this.Fields[(int)WixBundlePackageSymbolFields.InstallCondition]; |
| 117 | set => this.Set((int)WixBundlePackageTupleFields.InstallCondition, value); | 117 | set => this.Set((int)WixBundlePackageSymbolFields.InstallCondition, value); |
| 118 | } | 118 | } |
| 119 | 119 | ||
| 120 | public YesNoAlwaysType Cache | 120 | public YesNoAlwaysType Cache |
| 121 | { | 121 | { |
| 122 | get => Enum.TryParse((string)this.Fields[(int)WixBundlePackageTupleFields.Cache], true, out YesNoAlwaysType value) ? value : YesNoAlwaysType.NotSet; | 122 | get => Enum.TryParse((string)this.Fields[(int)WixBundlePackageSymbolFields.Cache], true, out YesNoAlwaysType value) ? value : YesNoAlwaysType.NotSet; |
| 123 | set => this.Set((int)WixBundlePackageTupleFields.Cache, value.ToString().ToLowerInvariant()); | 123 | set => this.Set((int)WixBundlePackageSymbolFields.Cache, value.ToString().ToLowerInvariant()); |
| 124 | } | 124 | } |
| 125 | 125 | ||
| 126 | public string CacheId | 126 | public string CacheId |
| 127 | { | 127 | { |
| 128 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.CacheId]; | 128 | get => (string)this.Fields[(int)WixBundlePackageSymbolFields.CacheId]; |
| 129 | set => this.Set((int)WixBundlePackageTupleFields.CacheId, value); | 129 | set => this.Set((int)WixBundlePackageSymbolFields.CacheId, value); |
| 130 | } | 130 | } |
| 131 | 131 | ||
| 132 | public bool? Vital | 132 | public bool? Vital |
| 133 | { | 133 | { |
| 134 | get => (bool?)this.Fields[(int)WixBundlePackageTupleFields.Vital]; | 134 | get => (bool?)this.Fields[(int)WixBundlePackageSymbolFields.Vital]; |
| 135 | set => this.Set((int)WixBundlePackageTupleFields.Vital, value); | 135 | set => this.Set((int)WixBundlePackageSymbolFields.Vital, value); |
| 136 | } | 136 | } |
| 137 | 137 | ||
| 138 | public YesNoDefaultType PerMachine | 138 | public YesNoDefaultType PerMachine |
| 139 | { | 139 | { |
| 140 | get => Enum.TryParse((string)this.Fields[(int)WixBundlePackageTupleFields.PerMachine], true, out YesNoDefaultType value) ? value : YesNoDefaultType.NotSet; | 140 | get => Enum.TryParse((string)this.Fields[(int)WixBundlePackageSymbolFields.PerMachine], true, out YesNoDefaultType value) ? value : YesNoDefaultType.NotSet; |
| 141 | set => this.Set((int)WixBundlePackageTupleFields.PerMachine, value.ToString().ToLowerInvariant()); | 141 | set => this.Set((int)WixBundlePackageSymbolFields.PerMachine, value.ToString().ToLowerInvariant()); |
| 142 | } | 142 | } |
| 143 | 143 | ||
| 144 | public string LogPathVariable | 144 | public string LogPathVariable |
| 145 | { | 145 | { |
| 146 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.LogPathVariable]; | 146 | get => (string)this.Fields[(int)WixBundlePackageSymbolFields.LogPathVariable]; |
| 147 | set => this.Set((int)WixBundlePackageTupleFields.LogPathVariable, value); | 147 | set => this.Set((int)WixBundlePackageSymbolFields.LogPathVariable, value); |
| 148 | } | 148 | } |
| 149 | 149 | ||
| 150 | public string RollbackLogPathVariable | 150 | public string RollbackLogPathVariable |
| 151 | { | 151 | { |
| 152 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.RollbackLogPathVariable]; | 152 | get => (string)this.Fields[(int)WixBundlePackageSymbolFields.RollbackLogPathVariable]; |
| 153 | set => this.Set((int)WixBundlePackageTupleFields.RollbackLogPathVariable, value); | 153 | set => this.Set((int)WixBundlePackageSymbolFields.RollbackLogPathVariable, value); |
| 154 | } | 154 | } |
| 155 | 155 | ||
| 156 | public int Size | 156 | public int Size |
| 157 | { | 157 | { |
| 158 | get => (int)this.Fields[(int)WixBundlePackageTupleFields.Size]; | 158 | get => (int)this.Fields[(int)WixBundlePackageSymbolFields.Size]; |
| 159 | set => this.Set((int)WixBundlePackageTupleFields.Size, value); | 159 | set => this.Set((int)WixBundlePackageSymbolFields.Size, value); |
| 160 | } | 160 | } |
| 161 | 161 | ||
| 162 | public long? InstallSize | 162 | public long? InstallSize |
| 163 | { | 163 | { |
| 164 | get => (long?)this.Fields[(int)WixBundlePackageTupleFields.InstallSize]; | 164 | get => (long?)this.Fields[(int)WixBundlePackageSymbolFields.InstallSize]; |
| 165 | set => this.Set((int)WixBundlePackageTupleFields.InstallSize, value); | 165 | set => this.Set((int)WixBundlePackageSymbolFields.InstallSize, value); |
| 166 | } | 166 | } |
| 167 | 167 | ||
| 168 | public string Version | 168 | public string Version |
| 169 | { | 169 | { |
| 170 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.Version]; | 170 | get => (string)this.Fields[(int)WixBundlePackageSymbolFields.Version]; |
| 171 | set => this.Set((int)WixBundlePackageTupleFields.Version, value); | 171 | set => this.Set((int)WixBundlePackageSymbolFields.Version, value); |
| 172 | } | 172 | } |
| 173 | 173 | ||
| 174 | public int? Language | 174 | public int? Language |
| 175 | { | 175 | { |
| 176 | get => (int?)this.Fields[(int)WixBundlePackageTupleFields.Language]; | 176 | get => (int?)this.Fields[(int)WixBundlePackageSymbolFields.Language]; |
| 177 | set => this.Set((int)WixBundlePackageTupleFields.Language, value); | 177 | set => this.Set((int)WixBundlePackageSymbolFields.Language, value); |
| 178 | } | 178 | } |
| 179 | 179 | ||
| 180 | public string DisplayName | 180 | public string DisplayName |
| 181 | { | 181 | { |
| 182 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.DisplayName]; | 182 | get => (string)this.Fields[(int)WixBundlePackageSymbolFields.DisplayName]; |
| 183 | set => this.Set((int)WixBundlePackageTupleFields.DisplayName, value); | 183 | set => this.Set((int)WixBundlePackageSymbolFields.DisplayName, value); |
| 184 | } | 184 | } |
| 185 | 185 | ||
| 186 | public string Description | 186 | public string Description |
| 187 | { | 187 | { |
| 188 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.Description]; | 188 | get => (string)this.Fields[(int)WixBundlePackageSymbolFields.Description]; |
| 189 | set => this.Set((int)WixBundlePackageTupleFields.Description, value); | 189 | set => this.Set((int)WixBundlePackageSymbolFields.Description, value); |
| 190 | } | 190 | } |
| 191 | 191 | ||
| 192 | public string RollbackBoundaryRef | 192 | public string RollbackBoundaryRef |
| 193 | { | 193 | { |
| 194 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.RollbackBoundaryRef]; | 194 | get => (string)this.Fields[(int)WixBundlePackageSymbolFields.RollbackBoundaryRef]; |
| 195 | set => this.Set((int)WixBundlePackageTupleFields.RollbackBoundaryRef, value); | 195 | set => this.Set((int)WixBundlePackageSymbolFields.RollbackBoundaryRef, value); |
| 196 | } | 196 | } |
| 197 | 197 | ||
| 198 | public string RollbackBoundaryBackwardRef | 198 | public string RollbackBoundaryBackwardRef |
| 199 | { | 199 | { |
| 200 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.RollbackBoundaryBackwardRef]; | 200 | get => (string)this.Fields[(int)WixBundlePackageSymbolFields.RollbackBoundaryBackwardRef]; |
| 201 | set => this.Set((int)WixBundlePackageTupleFields.RollbackBoundaryBackwardRef, value); | 201 | set => this.Set((int)WixBundlePackageSymbolFields.RollbackBoundaryBackwardRef, value); |
| 202 | } | 202 | } |
| 203 | 203 | ||
| 204 | public bool Win64 | 204 | public bool Win64 |
| 205 | { | 205 | { |
| 206 | get => (bool)this.Fields[(int)WixBundlePackageTupleFields.Win64]; | 206 | get => (bool)this.Fields[(int)WixBundlePackageSymbolFields.Win64]; |
| 207 | set => this.Set((int)WixBundlePackageTupleFields.Win64, value); | 207 | set => this.Set((int)WixBundlePackageSymbolFields.Win64, value); |
| 208 | } | 208 | } |
| 209 | 209 | ||
| 210 | public bool Permanent => (this.Attributes & WixBundlePackageAttributes.Permanent) == WixBundlePackageAttributes.Permanent; | 210 | public bool Permanent => (this.Attributes & WixBundlePackageAttributes.Permanent) == WixBundlePackageAttributes.Permanent; |
diff --git a/src/WixToolset.Data/Tuples/WixBundlePatchTargetCodeTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePatchTargetCodeTuple.cs index 56ca144f..b1aa9c77 100644 --- a/src/WixToolset.Data/Tuples/WixBundlePatchTargetCodeTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundlePatchTargetCodeTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundlePatchTargetCode = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundlePatchTargetCode = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundlePatchTargetCode, | 10 | SymbolDefinitionType.WixBundlePatchTargetCode, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundlePatchTargetCodeTupleFields.PackageRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundlePatchTargetCodeSymbolFields.PackageRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundlePatchTargetCodeTupleFields.TargetCode), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBundlePatchTargetCodeSymbolFields.TargetCode), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixBundlePatchTargetCodeTupleFields.Attributes), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(WixBundlePatchTargetCodeSymbolFields.Attributes), IntermediateFieldType.Number), |
| 16 | }, | 16 | }, |
| 17 | typeof(WixBundlePatchTargetCodeTuple)); | 17 | typeof(WixBundlePatchTargetCodeSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | using System; | 23 | using System; |
| 24 | 24 | ||
| 25 | public enum WixBundlePatchTargetCodeTupleFields | 25 | public enum WixBundlePatchTargetCodeSymbolFields |
| 26 | { | 26 | { |
| 27 | PackageRef, | 27 | PackageRef, |
| 28 | TargetCode, | 28 | TargetCode, |
| @@ -45,34 +45,34 @@ namespace WixToolset.Data.Tuples | |||
| 45 | TargetsUpgradeCode = 2, | 45 | TargetsUpgradeCode = 2, |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public class WixBundlePatchTargetCodeTuple : IntermediateTuple | 48 | public class WixBundlePatchTargetCodeSymbol : IntermediateSymbol |
| 49 | { | 49 | { |
| 50 | public WixBundlePatchTargetCodeTuple() : base(TupleDefinitions.WixBundlePatchTargetCode, null, null) | 50 | public WixBundlePatchTargetCodeSymbol() : base(SymbolDefinitions.WixBundlePatchTargetCode, null, null) |
| 51 | { | 51 | { |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public WixBundlePatchTargetCodeTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundlePatchTargetCode, sourceLineNumber, id) | 54 | public WixBundlePatchTargetCodeSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundlePatchTargetCode, sourceLineNumber, id) |
| 55 | { | 55 | { |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public IntermediateField this[WixBundlePatchTargetCodeTupleFields index] => this.Fields[(int)index]; | 58 | public IntermediateField this[WixBundlePatchTargetCodeSymbolFields index] => this.Fields[(int)index]; |
| 59 | 59 | ||
| 60 | public string PackageRef | 60 | public string PackageRef |
| 61 | { | 61 | { |
| 62 | get => (string)this.Fields[(int)WixBundlePatchTargetCodeTupleFields.PackageRef]; | 62 | get => (string)this.Fields[(int)WixBundlePatchTargetCodeSymbolFields.PackageRef]; |
| 63 | set => this.Set((int)WixBundlePatchTargetCodeTupleFields.PackageRef, value); | 63 | set => this.Set((int)WixBundlePatchTargetCodeSymbolFields.PackageRef, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public string TargetCode | 66 | public string TargetCode |
| 67 | { | 67 | { |
| 68 | get => (string)this.Fields[(int)WixBundlePatchTargetCodeTupleFields.TargetCode]; | 68 | get => (string)this.Fields[(int)WixBundlePatchTargetCodeSymbolFields.TargetCode]; |
| 69 | set => this.Set((int)WixBundlePatchTargetCodeTupleFields.TargetCode, value); | 69 | set => this.Set((int)WixBundlePatchTargetCodeSymbolFields.TargetCode, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public WixBundlePatchTargetCodeAttributes Attributes | 72 | public WixBundlePatchTargetCodeAttributes Attributes |
| 73 | { | 73 | { |
| 74 | get => (WixBundlePatchTargetCodeAttributes)this.Fields[(int)WixBundlePatchTargetCodeTupleFields.Attributes].AsNumber(); | 74 | get => (WixBundlePatchTargetCodeAttributes)this.Fields[(int)WixBundlePatchTargetCodeSymbolFields.Attributes].AsNumber(); |
| 75 | set => this.Set((int)WixBundlePatchTargetCodeTupleFields.Attributes, (int)value); | 75 | set => this.Set((int)WixBundlePatchTargetCodeSymbolFields.Attributes, (int)value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public bool TargetsProductCode => (this.Attributes & WixBundlePatchTargetCodeAttributes.TargetsProductCode) == WixBundlePatchTargetCodeAttributes.TargetsProductCode; | 78 | public bool TargetsProductCode => (this.Attributes & WixBundlePatchTargetCodeAttributes.TargetsProductCode) == WixBundlePatchTargetCodeAttributes.TargetsProductCode; |
diff --git a/src/WixToolset.Data/Tuples/WixBundlePayloadGroupTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePayloadGroupTuple.cs index 9c177a47..c53f6e73 100644 --- a/src/WixToolset.Data/Tuples/WixBundlePayloadGroupTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundlePayloadGroupTuple.cs | |||
| @@ -2,35 +2,35 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundlePayloadGroup = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundlePayloadGroup = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundlePayloadGroup, | 10 | SymbolDefinitionType.WixBundlePayloadGroup, |
| 11 | new IntermediateFieldDefinition[] | 11 | new IntermediateFieldDefinition[] |
| 12 | { | 12 | { |
| 13 | }, | 13 | }, |
| 14 | typeof(WixBundlePayloadGroupTuple)); | 14 | typeof(WixBundlePayloadGroupSymbol)); |
| 15 | } | 15 | } |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | namespace WixToolset.Data.Tuples | 18 | namespace WixToolset.Data.Symbols |
| 19 | { | 19 | { |
| 20 | public enum WixBundlePayloadGroupTupleFields | 20 | public enum WixBundlePayloadGroupSymbolFields |
| 21 | { | 21 | { |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | public class WixBundlePayloadGroupTuple : IntermediateTuple | 24 | public class WixBundlePayloadGroupSymbol : IntermediateSymbol |
| 25 | { | 25 | { |
| 26 | public WixBundlePayloadGroupTuple() : base(TupleDefinitions.WixBundlePayloadGroup, null, null) | 26 | public WixBundlePayloadGroupSymbol() : base(SymbolDefinitions.WixBundlePayloadGroup, null, null) |
| 27 | { | 27 | { |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public WixBundlePayloadGroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundlePayloadGroup, sourceLineNumber, id) | 30 | public WixBundlePayloadGroupSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundlePayloadGroup, sourceLineNumber, id) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public IntermediateField this[WixBundlePayloadGroupTupleFields index] => this.Fields[(int)index]; | 34 | public IntermediateField this[WixBundlePayloadGroupSymbolFields index] => this.Fields[(int)index]; |
| 35 | } | 35 | } |
| 36 | } \ No newline at end of file | 36 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixBundlePayloadTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePayloadTuple.cs index 6e3b1d70..94a02af8 100644 --- a/src/WixToolset.Data/Tuples/WixBundlePayloadTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundlePayloadTuple.cs | |||
| @@ -2,45 +2,45 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundlePayload = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundlePayload = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundlePayload, | 10 | SymbolDefinitionType.WixBundlePayload, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Name), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.Name), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.SourceFile), IntermediateFieldType.Path), | 14 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.SourceFile), IntermediateFieldType.Path), |
| 15 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.DownloadUrl), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.DownloadUrl), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Compressed), IntermediateFieldType.Bool), | 16 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.Compressed), IntermediateFieldType.Bool), |
| 17 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.UnresolvedSourceFile), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.UnresolvedSourceFile), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.DisplayName), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.DisplayName), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Description), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.Description), IntermediateFieldType.String), |
| 20 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.EnableSignatureValidation), IntermediateFieldType.Bool), | 20 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.EnableSignatureValidation), IntermediateFieldType.Bool), |
| 21 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.FileSize), IntermediateFieldType.Number), | 21 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.FileSize), IntermediateFieldType.Number), |
| 22 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Version), IntermediateFieldType.String), | 22 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.Version), IntermediateFieldType.String), |
| 23 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Hash), IntermediateFieldType.String), | 23 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.Hash), IntermediateFieldType.String), |
| 24 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.PublicKey), IntermediateFieldType.String), | 24 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.PublicKey), IntermediateFieldType.String), |
| 25 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Thumbprint), IntermediateFieldType.String), | 25 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.Thumbprint), IntermediateFieldType.String), |
| 26 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.CatalogRef), IntermediateFieldType.String), | 26 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.CatalogRef), IntermediateFieldType.String), |
| 27 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.ContainerRef), IntermediateFieldType.String), | 27 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.ContainerRef), IntermediateFieldType.String), |
| 28 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.PackageRef), IntermediateFieldType.String), | 28 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.PackageRef), IntermediateFieldType.String), |
| 29 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.ContentFile), IntermediateFieldType.Bool), | 29 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.ContentFile), IntermediateFieldType.Bool), |
| 30 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.EmbeddedId), IntermediateFieldType.String), | 30 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.EmbeddedId), IntermediateFieldType.String), |
| 31 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.LayoutOnly), IntermediateFieldType.Bool), | 31 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.LayoutOnly), IntermediateFieldType.Bool), |
| 32 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Packaging), IntermediateFieldType.Number), | 32 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.Packaging), IntermediateFieldType.Number), |
| 33 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.ParentPackagePayloadRef), IntermediateFieldType.String), | 33 | new IntermediateFieldDefinition(nameof(WixBundlePayloadSymbolFields.ParentPackagePayloadRef), IntermediateFieldType.String), |
| 34 | }, | 34 | }, |
| 35 | typeof(WixBundlePayloadTuple)); | 35 | typeof(WixBundlePayloadSymbol)); |
| 36 | } | 36 | } |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | namespace WixToolset.Data.Tuples | 39 | namespace WixToolset.Data.Symbols |
| 40 | { | 40 | { |
| 41 | using System; | 41 | using System; |
| 42 | 42 | ||
| 43 | public enum WixBundlePayloadTupleFields | 43 | public enum WixBundlePayloadSymbolFields |
| 44 | { | 44 | { |
| 45 | Name, | 45 | Name, |
| 46 | SourceFile, | 46 | SourceFile, |
| @@ -65,142 +65,142 @@ namespace WixToolset.Data.Tuples | |||
| 65 | ParentPackagePayloadRef, | 65 | ParentPackagePayloadRef, |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public class WixBundlePayloadTuple : IntermediateTuple | 68 | public class WixBundlePayloadSymbol : IntermediateSymbol |
| 69 | { | 69 | { |
| 70 | public WixBundlePayloadTuple() : base(TupleDefinitions.WixBundlePayload, null, null) | 70 | public WixBundlePayloadSymbol() : base(SymbolDefinitions.WixBundlePayload, null, null) |
| 71 | { | 71 | { |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public WixBundlePayloadTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundlePayload, sourceLineNumber, id) | 74 | public WixBundlePayloadSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundlePayload, sourceLineNumber, id) |
| 75 | { | 75 | { |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public IntermediateField this[WixBundlePayloadTupleFields index] => this.Fields[(int)index]; | 78 | public IntermediateField this[WixBundlePayloadSymbolFields index] => this.Fields[(int)index]; |
| 79 | 79 | ||
| 80 | public string Name | 80 | public string Name |
| 81 | { | 81 | { |
| 82 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.Name]; | 82 | get => (string)this.Fields[(int)WixBundlePayloadSymbolFields.Name]; |
| 83 | set => this.Set((int)WixBundlePayloadTupleFields.Name, value); | 83 | set => this.Set((int)WixBundlePayloadSymbolFields.Name, value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public IntermediateFieldPathValue SourceFile | 86 | public IntermediateFieldPathValue SourceFile |
| 87 | { | 87 | { |
| 88 | get => this.Fields[(int)WixBundlePayloadTupleFields.SourceFile].AsPath(); | 88 | get => this.Fields[(int)WixBundlePayloadSymbolFields.SourceFile].AsPath(); |
| 89 | set => this.Set((int)WixBundlePayloadTupleFields.SourceFile, value); | 89 | set => this.Set((int)WixBundlePayloadSymbolFields.SourceFile, value); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | public string DownloadUrl | 92 | public string DownloadUrl |
| 93 | { | 93 | { |
| 94 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.DownloadUrl]; | 94 | get => (string)this.Fields[(int)WixBundlePayloadSymbolFields.DownloadUrl]; |
| 95 | set => this.Set((int)WixBundlePayloadTupleFields.DownloadUrl, value); | 95 | set => this.Set((int)WixBundlePayloadSymbolFields.DownloadUrl, value); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | public bool? Compressed | 98 | public bool? Compressed |
| 99 | { | 99 | { |
| 100 | get => (bool?)this.Fields[(int)WixBundlePayloadTupleFields.Compressed]; | 100 | get => (bool?)this.Fields[(int)WixBundlePayloadSymbolFields.Compressed]; |
| 101 | set => this.Set((int)WixBundlePayloadTupleFields.Compressed, value); | 101 | set => this.Set((int)WixBundlePayloadSymbolFields.Compressed, value); |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | public string UnresolvedSourceFile | 104 | public string UnresolvedSourceFile |
| 105 | { | 105 | { |
| 106 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.UnresolvedSourceFile]; | 106 | get => (string)this.Fields[(int)WixBundlePayloadSymbolFields.UnresolvedSourceFile]; |
| 107 | set => this.Set((int)WixBundlePayloadTupleFields.UnresolvedSourceFile, value); | 107 | set => this.Set((int)WixBundlePayloadSymbolFields.UnresolvedSourceFile, value); |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | public string DisplayName | 110 | public string DisplayName |
| 111 | { | 111 | { |
| 112 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.DisplayName]; | 112 | get => (string)this.Fields[(int)WixBundlePayloadSymbolFields.DisplayName]; |
| 113 | set => this.Set((int)WixBundlePayloadTupleFields.DisplayName, value); | 113 | set => this.Set((int)WixBundlePayloadSymbolFields.DisplayName, value); |
| 114 | } | 114 | } |
| 115 | 115 | ||
| 116 | public string Description | 116 | public string Description |
| 117 | { | 117 | { |
| 118 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.Description]; | 118 | get => (string)this.Fields[(int)WixBundlePayloadSymbolFields.Description]; |
| 119 | set => this.Set((int)WixBundlePayloadTupleFields.Description, value); | 119 | set => this.Set((int)WixBundlePayloadSymbolFields.Description, value); |
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | public bool EnableSignatureValidation | 122 | public bool EnableSignatureValidation |
| 123 | { | 123 | { |
| 124 | get => (bool)this.Fields[(int)WixBundlePayloadTupleFields.EnableSignatureValidation]; | 124 | get => (bool)this.Fields[(int)WixBundlePayloadSymbolFields.EnableSignatureValidation]; |
| 125 | set => this.Set((int)WixBundlePayloadTupleFields.EnableSignatureValidation, value); | 125 | set => this.Set((int)WixBundlePayloadSymbolFields.EnableSignatureValidation, value); |
| 126 | } | 126 | } |
| 127 | 127 | ||
| 128 | public int? FileSize | 128 | public int? FileSize |
| 129 | { | 129 | { |
| 130 | get => (int?)this.Fields[(int)WixBundlePayloadTupleFields.FileSize]; | 130 | get => (int?)this.Fields[(int)WixBundlePayloadSymbolFields.FileSize]; |
| 131 | set => this.Set((int)WixBundlePayloadTupleFields.FileSize, value); | 131 | set => this.Set((int)WixBundlePayloadSymbolFields.FileSize, value); |
| 132 | } | 132 | } |
| 133 | 133 | ||
| 134 | public string Version | 134 | public string Version |
| 135 | { | 135 | { |
| 136 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.Version]; | 136 | get => (string)this.Fields[(int)WixBundlePayloadSymbolFields.Version]; |
| 137 | set => this.Set((int)WixBundlePayloadTupleFields.Version, value); | 137 | set => this.Set((int)WixBundlePayloadSymbolFields.Version, value); |
| 138 | } | 138 | } |
| 139 | 139 | ||
| 140 | public string Hash | 140 | public string Hash |
| 141 | { | 141 | { |
| 142 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.Hash]; | 142 | get => (string)this.Fields[(int)WixBundlePayloadSymbolFields.Hash]; |
| 143 | set => this.Set((int)WixBundlePayloadTupleFields.Hash, value); | 143 | set => this.Set((int)WixBundlePayloadSymbolFields.Hash, value); |
| 144 | } | 144 | } |
| 145 | 145 | ||
| 146 | public string PublicKey | 146 | public string PublicKey |
| 147 | { | 147 | { |
| 148 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.PublicKey]; | 148 | get => (string)this.Fields[(int)WixBundlePayloadSymbolFields.PublicKey]; |
| 149 | set => this.Set((int)WixBundlePayloadTupleFields.PublicKey, value); | 149 | set => this.Set((int)WixBundlePayloadSymbolFields.PublicKey, value); |
| 150 | } | 150 | } |
| 151 | 151 | ||
| 152 | public string Thumbprint | 152 | public string Thumbprint |
| 153 | { | 153 | { |
| 154 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.Thumbprint]; | 154 | get => (string)this.Fields[(int)WixBundlePayloadSymbolFields.Thumbprint]; |
| 155 | set => this.Set((int)WixBundlePayloadTupleFields.Thumbprint, value); | 155 | set => this.Set((int)WixBundlePayloadSymbolFields.Thumbprint, value); |
| 156 | } | 156 | } |
| 157 | 157 | ||
| 158 | public string CatalogRef | 158 | public string CatalogRef |
| 159 | { | 159 | { |
| 160 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.CatalogRef]; | 160 | get => (string)this.Fields[(int)WixBundlePayloadSymbolFields.CatalogRef]; |
| 161 | set => this.Set((int)WixBundlePayloadTupleFields.CatalogRef, value); | 161 | set => this.Set((int)WixBundlePayloadSymbolFields.CatalogRef, value); |
| 162 | } | 162 | } |
| 163 | 163 | ||
| 164 | public string ContainerRef | 164 | public string ContainerRef |
| 165 | { | 165 | { |
| 166 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.ContainerRef]; | 166 | get => (string)this.Fields[(int)WixBundlePayloadSymbolFields.ContainerRef]; |
| 167 | set => this.Set((int)WixBundlePayloadTupleFields.ContainerRef, value); | 167 | set => this.Set((int)WixBundlePayloadSymbolFields.ContainerRef, value); |
| 168 | } | 168 | } |
| 169 | 169 | ||
| 170 | public string PackageRef | 170 | public string PackageRef |
| 171 | { | 171 | { |
| 172 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.PackageRef]; | 172 | get => (string)this.Fields[(int)WixBundlePayloadSymbolFields.PackageRef]; |
| 173 | set => this.Set((int)WixBundlePayloadTupleFields.PackageRef, value); | 173 | set => this.Set((int)WixBundlePayloadSymbolFields.PackageRef, value); |
| 174 | } | 174 | } |
| 175 | 175 | ||
| 176 | public bool ContentFile | 176 | public bool ContentFile |
| 177 | { | 177 | { |
| 178 | get => (bool)this.Fields[(int)WixBundlePayloadTupleFields.ContentFile]; | 178 | get => (bool)this.Fields[(int)WixBundlePayloadSymbolFields.ContentFile]; |
| 179 | set => this.Set((int)WixBundlePayloadTupleFields.ContentFile, value); | 179 | set => this.Set((int)WixBundlePayloadSymbolFields.ContentFile, value); |
| 180 | } | 180 | } |
| 181 | 181 | ||
| 182 | public string EmbeddedId | 182 | public string EmbeddedId |
| 183 | { | 183 | { |
| 184 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.EmbeddedId]; | 184 | get => (string)this.Fields[(int)WixBundlePayloadSymbolFields.EmbeddedId]; |
| 185 | set => this.Set((int)WixBundlePayloadTupleFields.EmbeddedId, value); | 185 | set => this.Set((int)WixBundlePayloadSymbolFields.EmbeddedId, value); |
| 186 | } | 186 | } |
| 187 | 187 | ||
| 188 | public bool LayoutOnly | 188 | public bool LayoutOnly |
| 189 | { | 189 | { |
| 190 | get => (bool)this.Fields[(int)WixBundlePayloadTupleFields.LayoutOnly]; | 190 | get => (bool)this.Fields[(int)WixBundlePayloadSymbolFields.LayoutOnly]; |
| 191 | set => this.Set((int)WixBundlePayloadTupleFields.LayoutOnly, value); | 191 | set => this.Set((int)WixBundlePayloadSymbolFields.LayoutOnly, value); |
| 192 | } | 192 | } |
| 193 | 193 | ||
| 194 | public PackagingType? Packaging | 194 | public PackagingType? Packaging |
| 195 | { | 195 | { |
| 196 | get => (PackagingType?)this.Fields[(int)WixBundlePayloadTupleFields.Packaging].AsNumber(); | 196 | get => (PackagingType?)this.Fields[(int)WixBundlePayloadSymbolFields.Packaging].AsNumber(); |
| 197 | set => this.Set((int)WixBundlePayloadTupleFields.Packaging, (int?)value); | 197 | set => this.Set((int)WixBundlePayloadSymbolFields.Packaging, (int?)value); |
| 198 | } | 198 | } |
| 199 | 199 | ||
| 200 | public string ParentPackagePayloadRef | 200 | public string ParentPackagePayloadRef |
| 201 | { | 201 | { |
| 202 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.ParentPackagePayloadRef]; | 202 | get => (string)this.Fields[(int)WixBundlePayloadSymbolFields.ParentPackagePayloadRef]; |
| 203 | set => this.Set((int)WixBundlePayloadTupleFields.ParentPackagePayloadRef, value); | 203 | set => this.Set((int)WixBundlePayloadSymbolFields.ParentPackagePayloadRef, value); |
| 204 | } | 204 | } |
| 205 | } | 205 | } |
| 206 | } | 206 | } |
diff --git a/src/WixToolset.Data/Tuples/WixBundleRelatedPackageTuple.cs b/src/WixToolset.Data/Tuples/WixBundleRelatedPackageTuple.cs index 0d5cb0fe..7bd67b7f 100644 --- a/src/WixToolset.Data/Tuples/WixBundleRelatedPackageTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleRelatedPackageTuple.cs | |||
| @@ -2,30 +2,30 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleRelatedPackage = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleRelatedPackage = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleRelatedPackage, | 10 | SymbolDefinitionType.WixBundleRelatedPackage, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageTupleFields.PackageRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageSymbolFields.PackageRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageTupleFields.RelatedId), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageSymbolFields.RelatedId), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageTupleFields.MinVersion), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageSymbolFields.MinVersion), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageTupleFields.MaxVersion), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageSymbolFields.MaxVersion), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageTupleFields.Languages), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageSymbolFields.Languages), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageTupleFields.Attributes), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageSymbolFields.Attributes), IntermediateFieldType.Number), |
| 19 | }, | 19 | }, |
| 20 | typeof(WixBundleRelatedPackageTuple)); | 20 | typeof(WixBundleRelatedPackageSymbol)); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
| 25 | { | 25 | { |
| 26 | using System; | 26 | using System; |
| 27 | 27 | ||
| 28 | public enum WixBundleRelatedPackageTupleFields | 28 | public enum WixBundleRelatedPackageSymbolFields |
| 29 | { | 29 | { |
| 30 | PackageRef, | 30 | PackageRef, |
| 31 | RelatedId, | 31 | RelatedId, |
| @@ -45,52 +45,52 @@ namespace WixToolset.Data.Tuples | |||
| 45 | LangInclusive = 0x8, | 45 | LangInclusive = 0x8, |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public class WixBundleRelatedPackageTuple : IntermediateTuple | 48 | public class WixBundleRelatedPackageSymbol : IntermediateSymbol |
| 49 | { | 49 | { |
| 50 | public WixBundleRelatedPackageTuple() : base(TupleDefinitions.WixBundleRelatedPackage, null, null) | 50 | public WixBundleRelatedPackageSymbol() : base(SymbolDefinitions.WixBundleRelatedPackage, null, null) |
| 51 | { | 51 | { |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public WixBundleRelatedPackageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleRelatedPackage, sourceLineNumber, id) | 54 | public WixBundleRelatedPackageSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleRelatedPackage, sourceLineNumber, id) |
| 55 | { | 55 | { |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public IntermediateField this[WixBundleRelatedPackageTupleFields index] => this.Fields[(int)index]; | 58 | public IntermediateField this[WixBundleRelatedPackageSymbolFields index] => this.Fields[(int)index]; |
| 59 | 59 | ||
| 60 | public string PackageRef | 60 | public string PackageRef |
| 61 | { | 61 | { |
| 62 | get => (string)this.Fields[(int)WixBundleRelatedPackageTupleFields.PackageRef]; | 62 | get => (string)this.Fields[(int)WixBundleRelatedPackageSymbolFields.PackageRef]; |
| 63 | set => this.Set((int)WixBundleRelatedPackageTupleFields.PackageRef, value); | 63 | set => this.Set((int)WixBundleRelatedPackageSymbolFields.PackageRef, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public string RelatedId | 66 | public string RelatedId |
| 67 | { | 67 | { |
| 68 | get => (string)this.Fields[(int)WixBundleRelatedPackageTupleFields.RelatedId]; | 68 | get => (string)this.Fields[(int)WixBundleRelatedPackageSymbolFields.RelatedId]; |
| 69 | set => this.Set((int)WixBundleRelatedPackageTupleFields.RelatedId, value); | 69 | set => this.Set((int)WixBundleRelatedPackageSymbolFields.RelatedId, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public string MinVersion | 72 | public string MinVersion |
| 73 | { | 73 | { |
| 74 | get => (string)this.Fields[(int)WixBundleRelatedPackageTupleFields.MinVersion]; | 74 | get => (string)this.Fields[(int)WixBundleRelatedPackageSymbolFields.MinVersion]; |
| 75 | set => this.Set((int)WixBundleRelatedPackageTupleFields.MinVersion, value); | 75 | set => this.Set((int)WixBundleRelatedPackageSymbolFields.MinVersion, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public string MaxVersion | 78 | public string MaxVersion |
| 79 | { | 79 | { |
| 80 | get => (string)this.Fields[(int)WixBundleRelatedPackageTupleFields.MaxVersion]; | 80 | get => (string)this.Fields[(int)WixBundleRelatedPackageSymbolFields.MaxVersion]; |
| 81 | set => this.Set((int)WixBundleRelatedPackageTupleFields.MaxVersion, value); | 81 | set => this.Set((int)WixBundleRelatedPackageSymbolFields.MaxVersion, value); |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | public string Languages | 84 | public string Languages |
| 85 | { | 85 | { |
| 86 | get => (string)this.Fields[(int)WixBundleRelatedPackageTupleFields.Languages]; | 86 | get => (string)this.Fields[(int)WixBundleRelatedPackageSymbolFields.Languages]; |
| 87 | set => this.Set((int)WixBundleRelatedPackageTupleFields.Languages, value); | 87 | set => this.Set((int)WixBundleRelatedPackageSymbolFields.Languages, value); |
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | public WixBundleRelatedPackageAttributes Attributes | 90 | public WixBundleRelatedPackageAttributes Attributes |
| 91 | { | 91 | { |
| 92 | get => (WixBundleRelatedPackageAttributes)this.Fields[(int)WixBundleRelatedPackageTupleFields.Attributes].AsNumber(); | 92 | get => (WixBundleRelatedPackageAttributes)this.Fields[(int)WixBundleRelatedPackageSymbolFields.Attributes].AsNumber(); |
| 93 | set => this.Set((int)WixBundleRelatedPackageTupleFields.Attributes, (int)value); | 93 | set => this.Set((int)WixBundleRelatedPackageSymbolFields.Attributes, (int)value); |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | public bool MinInclusive => (this.Attributes & WixBundleRelatedPackageAttributes.MinInclusive) == WixBundleRelatedPackageAttributes.MinInclusive; | 96 | public bool MinInclusive => (this.Attributes & WixBundleRelatedPackageAttributes.MinInclusive) == WixBundleRelatedPackageAttributes.MinInclusive; |
diff --git a/src/WixToolset.Data/Tuples/WixBundleRollbackBoundaryTuple.cs b/src/WixToolset.Data/Tuples/WixBundleRollbackBoundaryTuple.cs index 648787f9..e54e898e 100644 --- a/src/WixToolset.Data/Tuples/WixBundleRollbackBoundaryTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleRollbackBoundaryTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleRollbackBoundary = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleRollbackBoundary = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleRollbackBoundary, | 10 | SymbolDefinitionType.WixBundleRollbackBoundary, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleRollbackBoundaryTupleFields.Vital), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(WixBundleRollbackBoundarySymbolFields.Vital), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundleRollbackBoundaryTupleFields.Transaction), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(WixBundleRollbackBoundarySymbolFields.Transaction), IntermediateFieldType.Number), |
| 15 | }, | 15 | }, |
| 16 | typeof(WixBundleRollbackBoundaryTuple)); | 16 | typeof(WixBundleRollbackBoundarySymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum WixBundleRollbackBoundaryTupleFields | 22 | public enum WixBundleRollbackBoundarySymbolFields |
| 23 | { | 23 | { |
| 24 | Vital, | 24 | Vital, |
| 25 | Transaction, | 25 | Transaction, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class WixBundleRollbackBoundaryTuple : IntermediateTuple | 28 | public class WixBundleRollbackBoundarySymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public WixBundleRollbackBoundaryTuple() : base(TupleDefinitions.WixBundleRollbackBoundary, null, null) | 30 | public WixBundleRollbackBoundarySymbol() : base(SymbolDefinitions.WixBundleRollbackBoundary, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public WixBundleRollbackBoundaryTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleRollbackBoundary, sourceLineNumber, id) | 34 | public WixBundleRollbackBoundarySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleRollbackBoundary, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[WixBundleRollbackBoundaryTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[WixBundleRollbackBoundarySymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public bool? Vital | 40 | public bool? Vital |
| 41 | { | 41 | { |
| 42 | get => (bool?)this.Fields[(int)WixBundleRollbackBoundaryTupleFields.Vital]; | 42 | get => (bool?)this.Fields[(int)WixBundleRollbackBoundarySymbolFields.Vital]; |
| 43 | set => this.Set((int)WixBundleRollbackBoundaryTupleFields.Vital, value); | 43 | set => this.Set((int)WixBundleRollbackBoundarySymbolFields.Vital, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public bool? Transaction | 46 | public bool? Transaction |
| 47 | { | 47 | { |
| 48 | get => (bool?)this.Fields[(int)WixBundleRollbackBoundaryTupleFields.Transaction]; | 48 | get => (bool?)this.Fields[(int)WixBundleRollbackBoundarySymbolFields.Transaction]; |
| 49 | set => this.Set((int)WixBundleRollbackBoundaryTupleFields.Transaction, value); | 49 | set => this.Set((int)WixBundleRollbackBoundarySymbolFields.Transaction, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixBundleSlipstreamMspTuple.cs b/src/WixToolset.Data/Tuples/WixBundleSlipstreamMspTuple.cs index bfe8c6e1..d8e9db3f 100644 --- a/src/WixToolset.Data/Tuples/WixBundleSlipstreamMspTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleSlipstreamMspTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleSlipstreamMsp = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleSlipstreamMsp = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleSlipstreamMsp, | 10 | SymbolDefinitionType.WixBundleSlipstreamMsp, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleSlipstreamMspTupleFields.TargetPackageRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundleSlipstreamMspSymbolFields.TargetPackageRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundleSlipstreamMspTupleFields.MspPackageRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBundleSlipstreamMspSymbolFields.MspPackageRef), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(WixBundleSlipstreamMspTuple)); | 16 | typeof(WixBundleSlipstreamMspSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum WixBundleSlipstreamMspTupleFields | 22 | public enum WixBundleSlipstreamMspSymbolFields |
| 23 | { | 23 | { |
| 24 | TargetPackageRef, | 24 | TargetPackageRef, |
| 25 | MspPackageRef, | 25 | MspPackageRef, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class WixBundleSlipstreamMspTuple : IntermediateTuple | 28 | public class WixBundleSlipstreamMspSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public WixBundleSlipstreamMspTuple() : base(TupleDefinitions.WixBundleSlipstreamMsp, null, null) | 30 | public WixBundleSlipstreamMspSymbol() : base(SymbolDefinitions.WixBundleSlipstreamMsp, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public WixBundleSlipstreamMspTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleSlipstreamMsp, sourceLineNumber, id) | 34 | public WixBundleSlipstreamMspSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleSlipstreamMsp, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[WixBundleSlipstreamMspTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[WixBundleSlipstreamMspSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string TargetPackageRef | 40 | public string TargetPackageRef |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)WixBundleSlipstreamMspTupleFields.TargetPackageRef]; | 42 | get => (string)this.Fields[(int)WixBundleSlipstreamMspSymbolFields.TargetPackageRef]; |
| 43 | set => this.Set((int)WixBundleSlipstreamMspTupleFields.TargetPackageRef, value); | 43 | set => this.Set((int)WixBundleSlipstreamMspSymbolFields.TargetPackageRef, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string MspPackageRef | 46 | public string MspPackageRef |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)WixBundleSlipstreamMspTupleFields.MspPackageRef]; | 48 | get => (string)this.Fields[(int)WixBundleSlipstreamMspSymbolFields.MspPackageRef]; |
| 49 | set => this.Set((int)WixBundleSlipstreamMspTupleFields.MspPackageRef, value); | 49 | set => this.Set((int)WixBundleSlipstreamMspSymbolFields.MspPackageRef, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } | 52 | } |
diff --git a/src/WixToolset.Data/Tuples/WixBundleTuple.cs b/src/WixToolset.Data/Tuples/WixBundleTuple.cs index 01318d0c..8cad5c36 100644 --- a/src/WixToolset.Data/Tuples/WixBundleTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleTuple.cs | |||
| @@ -2,46 +2,46 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundle = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundle = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundle, | 10 | SymbolDefinitionType.WixBundle, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.UpgradeCode), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.UpgradeCode), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Version), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.Version), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Copyright), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.Copyright), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Name), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.Name), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Manufacturer), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.Manufacturer), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Attributes), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.Attributes), IntermediateFieldType.Number), |
| 19 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.AboutUrl), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.AboutUrl), IntermediateFieldType.String), |
| 20 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.HelpUrl), IntermediateFieldType.String), | 20 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.HelpUrl), IntermediateFieldType.String), |
| 21 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.HelpTelephone), IntermediateFieldType.String), | 21 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.HelpTelephone), IntermediateFieldType.String), |
| 22 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.UpdateUrl), IntermediateFieldType.String), | 22 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.UpdateUrl), IntermediateFieldType.String), |
| 23 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Compressed), IntermediateFieldType.Bool), | 23 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.Compressed), IntermediateFieldType.Bool), |
| 24 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.LogPathVariable), IntermediateFieldType.String), | 24 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.LogPathVariable), IntermediateFieldType.String), |
| 25 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.LogPrefix), IntermediateFieldType.String), | 25 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.LogPrefix), IntermediateFieldType.String), |
| 26 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.LogExtension), IntermediateFieldType.String), | 26 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.LogExtension), IntermediateFieldType.String), |
| 27 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.IconSourceFile), IntermediateFieldType.Path), | 27 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.IconSourceFile), IntermediateFieldType.Path), |
| 28 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.SplashScreenSourceFile), IntermediateFieldType.Path), | 28 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.SplashScreenSourceFile), IntermediateFieldType.Path), |
| 29 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Condition), IntermediateFieldType.String), | 29 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.Condition), IntermediateFieldType.String), |
| 30 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Tag), IntermediateFieldType.String), | 30 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.Tag), IntermediateFieldType.String), |
| 31 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Platform), IntermediateFieldType.String), | 31 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.Platform), IntermediateFieldType.String), |
| 32 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.ParentName), IntermediateFieldType.String), | 32 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.ParentName), IntermediateFieldType.String), |
| 33 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.BundleId), IntermediateFieldType.String), | 33 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.BundleId), IntermediateFieldType.String), |
| 34 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.ProviderKey), IntermediateFieldType.String), | 34 | new IntermediateFieldDefinition(nameof(WixBundleSymbolFields.ProviderKey), IntermediateFieldType.String), |
| 35 | }, | 35 | }, |
| 36 | typeof(WixBundleTuple)); | 36 | typeof(WixBundleSymbol)); |
| 37 | } | 37 | } |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | namespace WixToolset.Data.Tuples | 40 | namespace WixToolset.Data.Symbols |
| 41 | { | 41 | { |
| 42 | using System; | 42 | using System; |
| 43 | 43 | ||
| 44 | public enum WixBundleTupleFields | 44 | public enum WixBundleSymbolFields |
| 45 | { | 45 | { |
| 46 | UpgradeCode, | 46 | UpgradeCode, |
| 47 | Version, | 47 | Version, |
| @@ -77,148 +77,148 @@ namespace WixToolset.Data.Tuples | |||
| 77 | PerMachine = 0x8, | 77 | PerMachine = 0x8, |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public class WixBundleTuple : IntermediateTuple | 80 | public class WixBundleSymbol : IntermediateSymbol |
| 81 | { | 81 | { |
| 82 | public WixBundleTuple() : base(TupleDefinitions.WixBundle, null, null) | 82 | public WixBundleSymbol() : base(SymbolDefinitions.WixBundle, null, null) |
| 83 | { | 83 | { |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public WixBundleTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundle, sourceLineNumber, id) | 86 | public WixBundleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundle, sourceLineNumber, id) |
| 87 | { | 87 | { |
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | public IntermediateField this[WixBundleTupleFields index] => this.Fields[(int)index]; | 90 | public IntermediateField this[WixBundleSymbolFields index] => this.Fields[(int)index]; |
| 91 | 91 | ||
| 92 | public string UpgradeCode | 92 | public string UpgradeCode |
| 93 | { | 93 | { |
| 94 | get => (string)this.Fields[(int)WixBundleTupleFields.UpgradeCode]; | 94 | get => (string)this.Fields[(int)WixBundleSymbolFields.UpgradeCode]; |
| 95 | set => this.Set((int)WixBundleTupleFields.UpgradeCode, value); | 95 | set => this.Set((int)WixBundleSymbolFields.UpgradeCode, value); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | public string Version | 98 | public string Version |
| 99 | { | 99 | { |
| 100 | get => (string)this.Fields[(int)WixBundleTupleFields.Version]; | 100 | get => (string)this.Fields[(int)WixBundleSymbolFields.Version]; |
| 101 | set => this.Set((int)WixBundleTupleFields.Version, value); | 101 | set => this.Set((int)WixBundleSymbolFields.Version, value); |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | public string Copyright | 104 | public string Copyright |
| 105 | { | 105 | { |
| 106 | get => (string)this.Fields[(int)WixBundleTupleFields.Copyright]; | 106 | get => (string)this.Fields[(int)WixBundleSymbolFields.Copyright]; |
| 107 | set => this.Set((int)WixBundleTupleFields.Copyright, value); | 107 | set => this.Set((int)WixBundleSymbolFields.Copyright, value); |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | public string Name | 110 | public string Name |
| 111 | { | 111 | { |
| 112 | get => (string)this.Fields[(int)WixBundleTupleFields.Name]; | 112 | get => (string)this.Fields[(int)WixBundleSymbolFields.Name]; |
| 113 | set => this.Set((int)WixBundleTupleFields.Name, value); | 113 | set => this.Set((int)WixBundleSymbolFields.Name, value); |
| 114 | } | 114 | } |
| 115 | 115 | ||
| 116 | public string Manufacturer | 116 | public string Manufacturer |
| 117 | { | 117 | { |
| 118 | get => (string)this.Fields[(int)WixBundleTupleFields.Manufacturer]; | 118 | get => (string)this.Fields[(int)WixBundleSymbolFields.Manufacturer]; |
| 119 | set => this.Set((int)WixBundleTupleFields.Manufacturer, value); | 119 | set => this.Set((int)WixBundleSymbolFields.Manufacturer, value); |
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | public WixBundleAttributes Attributes | 122 | public WixBundleAttributes Attributes |
| 123 | { | 123 | { |
| 124 | get => (WixBundleAttributes)this.Fields[(int)WixBundleTupleFields.Attributes].AsNumber(); | 124 | get => (WixBundleAttributes)this.Fields[(int)WixBundleSymbolFields.Attributes].AsNumber(); |
| 125 | set => this.Set((int)WixBundleTupleFields.Attributes, (int)value); | 125 | set => this.Set((int)WixBundleSymbolFields.Attributes, (int)value); |
| 126 | } | 126 | } |
| 127 | 127 | ||
| 128 | public string AboutUrl | 128 | public string AboutUrl |
| 129 | { | 129 | { |
| 130 | get => (string)this.Fields[(int)WixBundleTupleFields.AboutUrl]; | 130 | get => (string)this.Fields[(int)WixBundleSymbolFields.AboutUrl]; |
| 131 | set => this.Set((int)WixBundleTupleFields.AboutUrl, value); | 131 | set => this.Set((int)WixBundleSymbolFields.AboutUrl, value); |
| 132 | } | 132 | } |
| 133 | 133 | ||
| 134 | public string HelpTelephone | 134 | public string HelpTelephone |
| 135 | { | 135 | { |
| 136 | get => (string)this.Fields[(int)WixBundleTupleFields.HelpTelephone]; | 136 | get => (string)this.Fields[(int)WixBundleSymbolFields.HelpTelephone]; |
| 137 | set => this.Set((int)WixBundleTupleFields.HelpTelephone, value); | 137 | set => this.Set((int)WixBundleSymbolFields.HelpTelephone, value); |
| 138 | } | 138 | } |
| 139 | 139 | ||
| 140 | public string HelpUrl | 140 | public string HelpUrl |
| 141 | { | 141 | { |
| 142 | get => (string)this.Fields[(int)WixBundleTupleFields.HelpUrl]; | 142 | get => (string)this.Fields[(int)WixBundleSymbolFields.HelpUrl]; |
| 143 | set => this.Set((int)WixBundleTupleFields.HelpUrl, value); | 143 | set => this.Set((int)WixBundleSymbolFields.HelpUrl, value); |
| 144 | } | 144 | } |
| 145 | 145 | ||
| 146 | public string UpdateUrl | 146 | public string UpdateUrl |
| 147 | { | 147 | { |
| 148 | get => (string)this.Fields[(int)WixBundleTupleFields.UpdateUrl]; | 148 | get => (string)this.Fields[(int)WixBundleSymbolFields.UpdateUrl]; |
| 149 | set => this.Set((int)WixBundleTupleFields.UpdateUrl, value); | 149 | set => this.Set((int)WixBundleSymbolFields.UpdateUrl, value); |
| 150 | } | 150 | } |
| 151 | 151 | ||
| 152 | public bool? Compressed | 152 | public bool? Compressed |
| 153 | { | 153 | { |
| 154 | get => (bool?)this.Fields[(int)WixBundleTupleFields.Compressed]; | 154 | get => (bool?)this.Fields[(int)WixBundleSymbolFields.Compressed]; |
| 155 | set => this.Set((int)WixBundleTupleFields.Compressed, value); | 155 | set => this.Set((int)WixBundleSymbolFields.Compressed, value); |
| 156 | } | 156 | } |
| 157 | 157 | ||
| 158 | public string LogPathVariable | 158 | public string LogPathVariable |
| 159 | { | 159 | { |
| 160 | get => (string)this.Fields[(int)WixBundleTupleFields.LogPathVariable]; | 160 | get => (string)this.Fields[(int)WixBundleSymbolFields.LogPathVariable]; |
| 161 | set => this.Set((int)WixBundleTupleFields.LogPathVariable, value); | 161 | set => this.Set((int)WixBundleSymbolFields.LogPathVariable, value); |
| 162 | } | 162 | } |
| 163 | 163 | ||
| 164 | public string LogPrefix | 164 | public string LogPrefix |
| 165 | { | 165 | { |
| 166 | get => (string)this.Fields[(int)WixBundleTupleFields.LogPrefix]; | 166 | get => (string)this.Fields[(int)WixBundleSymbolFields.LogPrefix]; |
| 167 | set => this.Set((int)WixBundleTupleFields.LogPrefix, value); | 167 | set => this.Set((int)WixBundleSymbolFields.LogPrefix, value); |
| 168 | } | 168 | } |
| 169 | 169 | ||
| 170 | public string LogExtension | 170 | public string LogExtension |
| 171 | { | 171 | { |
| 172 | get => (string)this.Fields[(int)WixBundleTupleFields.LogExtension]; | 172 | get => (string)this.Fields[(int)WixBundleSymbolFields.LogExtension]; |
| 173 | set => this.Set((int)WixBundleTupleFields.LogExtension, value); | 173 | set => this.Set((int)WixBundleSymbolFields.LogExtension, value); |
| 174 | } | 174 | } |
| 175 | 175 | ||
| 176 | public string IconSourceFile | 176 | public string IconSourceFile |
| 177 | { | 177 | { |
| 178 | get => (string)this.Fields[(int)WixBundleTupleFields.IconSourceFile]; | 178 | get => (string)this.Fields[(int)WixBundleSymbolFields.IconSourceFile]; |
| 179 | set => this.Set((int)WixBundleTupleFields.IconSourceFile, value); | 179 | set => this.Set((int)WixBundleSymbolFields.IconSourceFile, value); |
| 180 | } | 180 | } |
| 181 | 181 | ||
| 182 | public string SplashScreenSourceFile | 182 | public string SplashScreenSourceFile |
| 183 | { | 183 | { |
| 184 | get => (string)this.Fields[(int)WixBundleTupleFields.SplashScreenSourceFile]; | 184 | get => (string)this.Fields[(int)WixBundleSymbolFields.SplashScreenSourceFile]; |
| 185 | set => this.Set((int)WixBundleTupleFields.SplashScreenSourceFile, value); | 185 | set => this.Set((int)WixBundleSymbolFields.SplashScreenSourceFile, value); |
| 186 | } | 186 | } |
| 187 | 187 | ||
| 188 | public string Condition | 188 | public string Condition |
| 189 | { | 189 | { |
| 190 | get => (string)this.Fields[(int)WixBundleTupleFields.Condition]; | 190 | get => (string)this.Fields[(int)WixBundleSymbolFields.Condition]; |
| 191 | set => this.Set((int)WixBundleTupleFields.Condition, value); | 191 | set => this.Set((int)WixBundleSymbolFields.Condition, value); |
| 192 | } | 192 | } |
| 193 | 193 | ||
| 194 | public string Tag | 194 | public string Tag |
| 195 | { | 195 | { |
| 196 | get => (string)this.Fields[(int)WixBundleTupleFields.Tag]; | 196 | get => (string)this.Fields[(int)WixBundleSymbolFields.Tag]; |
| 197 | set => this.Set((int)WixBundleTupleFields.Tag, value); | 197 | set => this.Set((int)WixBundleSymbolFields.Tag, value); |
| 198 | } | 198 | } |
| 199 | 199 | ||
| 200 | public Platform Platform | 200 | public Platform Platform |
| 201 | { | 201 | { |
| 202 | get => (Platform)this.Fields[(int)WixBundleTupleFields.Platform].AsNumber(); | 202 | get => (Platform)this.Fields[(int)WixBundleSymbolFields.Platform].AsNumber(); |
| 203 | set => this.Set((int)WixBundleTupleFields.Platform, (int)value); | 203 | set => this.Set((int)WixBundleSymbolFields.Platform, (int)value); |
| 204 | } | 204 | } |
| 205 | 205 | ||
| 206 | public string ParentName | 206 | public string ParentName |
| 207 | { | 207 | { |
| 208 | get => (string)this.Fields[(int)WixBundleTupleFields.ParentName]; | 208 | get => (string)this.Fields[(int)WixBundleSymbolFields.ParentName]; |
| 209 | set => this.Set((int)WixBundleTupleFields.ParentName, value); | 209 | set => this.Set((int)WixBundleSymbolFields.ParentName, value); |
| 210 | } | 210 | } |
| 211 | 211 | ||
| 212 | public string BundleId | 212 | public string BundleId |
| 213 | { | 213 | { |
| 214 | get => (string)this.Fields[(int)WixBundleTupleFields.BundleId]; | 214 | get => (string)this.Fields[(int)WixBundleSymbolFields.BundleId]; |
| 215 | set => this.Set((int)WixBundleTupleFields.BundleId, value); | 215 | set => this.Set((int)WixBundleSymbolFields.BundleId, value); |
| 216 | } | 216 | } |
| 217 | 217 | ||
| 218 | public string ProviderKey | 218 | public string ProviderKey |
| 219 | { | 219 | { |
| 220 | get => (string)this.Fields[(int)WixBundleTupleFields.ProviderKey]; | 220 | get => (string)this.Fields[(int)WixBundleSymbolFields.ProviderKey]; |
| 221 | set => this.Set((int)WixBundleTupleFields.ProviderKey, value); | 221 | set => this.Set((int)WixBundleSymbolFields.ProviderKey, value); |
| 222 | } | 222 | } |
| 223 | 223 | ||
| 224 | public PackagingType DefaultPackagingType => (this.Compressed.HasValue && !this.Compressed.Value) ? PackagingType.External : PackagingType.Embedded; | 224 | public PackagingType DefaultPackagingType => (this.Compressed.HasValue && !this.Compressed.Value) ? PackagingType.External : PackagingType.Embedded; |
diff --git a/src/WixToolset.Data/Tuples/WixBundleUpdateTuple.cs b/src/WixToolset.Data/Tuples/WixBundleUpdateTuple.cs index 08ca5d6e..d27bbc32 100644 --- a/src/WixToolset.Data/Tuples/WixBundleUpdateTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleUpdateTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleUpdate = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleUpdate = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleUpdate, | 10 | SymbolDefinitionType.WixBundleUpdate, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleUpdateTupleFields.Location), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundleUpdateSymbolFields.Location), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundleUpdateTupleFields.Attributes), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(WixBundleUpdateSymbolFields.Attributes), IntermediateFieldType.Number), |
| 15 | }, | 15 | }, |
| 16 | typeof(WixBundleUpdateTuple)); | 16 | typeof(WixBundleUpdateSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum WixBundleUpdateTupleFields | 22 | public enum WixBundleUpdateSymbolFields |
| 23 | { | 23 | { |
| 24 | Location, | 24 | Location, |
| 25 | Attributes, | 25 | Attributes, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class WixBundleUpdateTuple : IntermediateTuple | 28 | public class WixBundleUpdateSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public WixBundleUpdateTuple() : base(TupleDefinitions.WixBundleUpdate, null, null) | 30 | public WixBundleUpdateSymbol() : base(SymbolDefinitions.WixBundleUpdate, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public WixBundleUpdateTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleUpdate, sourceLineNumber, id) | 34 | public WixBundleUpdateSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleUpdate, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[WixBundleUpdateTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[WixBundleUpdateSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string Location | 40 | public string Location |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)WixBundleUpdateTupleFields.Location]; | 42 | get => (string)this.Fields[(int)WixBundleUpdateSymbolFields.Location]; |
| 43 | set => this.Set((int)WixBundleUpdateTupleFields.Location, value); | 43 | set => this.Set((int)WixBundleUpdateSymbolFields.Location, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public int Attributes | 46 | public int Attributes |
| 47 | { | 47 | { |
| 48 | get => (int)this.Fields[(int)WixBundleUpdateTupleFields.Attributes]; | 48 | get => (int)this.Fields[(int)WixBundleUpdateSymbolFields.Attributes]; |
| 49 | set => this.Set((int)WixBundleUpdateTupleFields.Attributes, value); | 49 | set => this.Set((int)WixBundleUpdateSymbolFields.Attributes, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixBundleVariableTuple.cs b/src/WixToolset.Data/Tuples/WixBundleVariableTuple.cs index d7d74657..85cf2798 100644 --- a/src/WixToolset.Data/Tuples/WixBundleVariableTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundleVariableTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixBundleVariable = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixBundleVariable = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixBundleVariable, | 10 | SymbolDefinitionType.WixBundleVariable, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixBundleVariableTupleFields.Value), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixBundleVariableSymbolFields.Value), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixBundleVariableTupleFields.Type), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixBundleVariableSymbolFields.Type), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixBundleVariableTupleFields.Hidden), IntermediateFieldType.Bool), | 15 | new IntermediateFieldDefinition(nameof(WixBundleVariableSymbolFields.Hidden), IntermediateFieldType.Bool), |
| 16 | new IntermediateFieldDefinition(nameof(WixBundleVariableTupleFields.Persisted), IntermediateFieldType.Bool), | 16 | new IntermediateFieldDefinition(nameof(WixBundleVariableSymbolFields.Persisted), IntermediateFieldType.Bool), |
| 17 | }, | 17 | }, |
| 18 | typeof(WixBundleVariableTuple)); | 18 | typeof(WixBundleVariableSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum WixBundleVariableTupleFields | 24 | public enum WixBundleVariableSymbolFields |
| 25 | { | 25 | { |
| 26 | Value, | 26 | Value, |
| 27 | Type, | 27 | Type, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Persisted, | 29 | Persisted, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class WixBundleVariableTuple : IntermediateTuple | 32 | public class WixBundleVariableSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public WixBundleVariableTuple() : base(TupleDefinitions.WixBundleVariable, null, null) | 34 | public WixBundleVariableSymbol() : base(SymbolDefinitions.WixBundleVariable, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public WixBundleVariableTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleVariable, sourceLineNumber, id) | 38 | public WixBundleVariableSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixBundleVariable, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[WixBundleVariableTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[WixBundleVariableSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string Value | 44 | public string Value |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)WixBundleVariableTupleFields.Value]; | 46 | get => (string)this.Fields[(int)WixBundleVariableSymbolFields.Value]; |
| 47 | set => this.Set((int)WixBundleVariableTupleFields.Value, value); | 47 | set => this.Set((int)WixBundleVariableSymbolFields.Value, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string Type | 50 | public string Type |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)WixBundleVariableTupleFields.Type]; | 52 | get => (string)this.Fields[(int)WixBundleVariableSymbolFields.Type]; |
| 53 | set => this.Set((int)WixBundleVariableTupleFields.Type, value); | 53 | set => this.Set((int)WixBundleVariableSymbolFields.Type, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public bool Hidden | 56 | public bool Hidden |
| 57 | { | 57 | { |
| 58 | get => (bool)this.Fields[(int)WixBundleVariableTupleFields.Hidden]; | 58 | get => (bool)this.Fields[(int)WixBundleVariableSymbolFields.Hidden]; |
| 59 | set => this.Set((int)WixBundleVariableTupleFields.Hidden, value); | 59 | set => this.Set((int)WixBundleVariableSymbolFields.Hidden, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public bool Persisted | 62 | public bool Persisted |
| 63 | { | 63 | { |
| 64 | get => (bool)this.Fields[(int)WixBundleVariableTupleFields.Persisted]; | 64 | get => (bool)this.Fields[(int)WixBundleVariableSymbolFields.Persisted]; |
| 65 | set => this.Set((int)WixBundleVariableTupleFields.Persisted, value); | 65 | set => this.Set((int)WixBundleVariableSymbolFields.Persisted, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } | 68 | } |
diff --git a/src/WixToolset.Data/Tuples/WixChainItemTuple.cs b/src/WixToolset.Data/Tuples/WixChainItemTuple.cs index 6c0633e0..c657678c 100644 --- a/src/WixToolset.Data/Tuples/WixChainItemTuple.cs +++ b/src/WixToolset.Data/Tuples/WixChainItemTuple.cs | |||
| @@ -2,35 +2,35 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixChainItem = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixChainItem = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixChainItem, | 10 | SymbolDefinitionType.WixChainItem, |
| 11 | new IntermediateFieldDefinition[] | 11 | new IntermediateFieldDefinition[] |
| 12 | { | 12 | { |
| 13 | }, | 13 | }, |
| 14 | typeof(WixChainItemTuple)); | 14 | typeof(WixChainItemSymbol)); |
| 15 | } | 15 | } |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | namespace WixToolset.Data.Tuples | 18 | namespace WixToolset.Data.Symbols |
| 19 | { | 19 | { |
| 20 | public enum WixChainItemTupleFields | 20 | public enum WixChainItemSymbolFields |
| 21 | { | 21 | { |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | public class WixChainItemTuple : IntermediateTuple | 24 | public class WixChainItemSymbol : IntermediateSymbol |
| 25 | { | 25 | { |
| 26 | public WixChainItemTuple() : base(TupleDefinitions.WixChainItem, null, null) | 26 | public WixChainItemSymbol() : base(SymbolDefinitions.WixChainItem, null, null) |
| 27 | { | 27 | { |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public WixChainItemTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixChainItem, sourceLineNumber, id) | 30 | public WixChainItemSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixChainItem, sourceLineNumber, id) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public IntermediateField this[WixChainItemTupleFields index] => this.Fields[(int)index]; | 34 | public IntermediateField this[WixChainItemSymbolFields index] => this.Fields[(int)index]; |
| 35 | } | 35 | } |
| 36 | } \ No newline at end of file | 36 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixChainTuple.cs b/src/WixToolset.Data/Tuples/WixChainTuple.cs index 9343ead1..8ec5fc63 100644 --- a/src/WixToolset.Data/Tuples/WixChainTuple.cs +++ b/src/WixToolset.Data/Tuples/WixChainTuple.cs | |||
| @@ -2,25 +2,25 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixChain = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixChain = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixChain, | 10 | SymbolDefinitionType.WixChain, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixChainTupleFields.Attributes), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(WixChainSymbolFields.Attributes), IntermediateFieldType.Number), |
| 14 | }, | 14 | }, |
| 15 | typeof(WixChainTuple)); | 15 | typeof(WixChainSymbol)); |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
| 20 | { | 20 | { |
| 21 | using System; | 21 | using System; |
| 22 | 22 | ||
| 23 | public enum WixChainTupleFields | 23 | public enum WixChainSymbolFields |
| 24 | { | 24 | { |
| 25 | Attributes, | 25 | Attributes, |
| 26 | } | 26 | } |
| @@ -34,22 +34,22 @@ namespace WixToolset.Data.Tuples | |||
| 34 | ParallelCache = 0x4, | 34 | ParallelCache = 0x4, |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | public class WixChainTuple : IntermediateTuple | 37 | public class WixChainSymbol : IntermediateSymbol |
| 38 | { | 38 | { |
| 39 | public WixChainTuple() : base(TupleDefinitions.WixChain, null, null) | 39 | public WixChainSymbol() : base(SymbolDefinitions.WixChain, null, null) |
| 40 | { | 40 | { |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | public WixChainTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixChain, sourceLineNumber, id) | 43 | public WixChainSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixChain, sourceLineNumber, id) |
| 44 | { | 44 | { |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | public IntermediateField this[WixChainTupleFields index] => this.Fields[(int)index]; | 47 | public IntermediateField this[WixChainSymbolFields index] => this.Fields[(int)index]; |
| 48 | 48 | ||
| 49 | public WixChainAttributes Attributes | 49 | public WixChainAttributes Attributes |
| 50 | { | 50 | { |
| 51 | get => (WixChainAttributes)(int)this.Fields[(int)WixChainTupleFields.Attributes]; | 51 | get => (WixChainAttributes)(int)this.Fields[(int)WixChainSymbolFields.Attributes]; |
| 52 | set => this.Set((int)WixChainTupleFields.Attributes, (int)value); | 52 | set => this.Set((int)WixChainSymbolFields.Attributes, (int)value); |
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | public bool DisableRollback => (this.Attributes & WixChainAttributes.DisableRollback) == WixChainAttributes.DisableRollback; | 55 | public bool DisableRollback => (this.Attributes & WixChainAttributes.DisableRollback) == WixChainAttributes.DisableRollback; |
diff --git a/src/WixToolset.Data/Tuples/WixComplexReferenceTuple.cs b/src/WixToolset.Data/Tuples/WixComplexReferenceTuple.cs index 3d573f7a..89365605 100644 --- a/src/WixToolset.Data/Tuples/WixComplexReferenceTuple.cs +++ b/src/WixToolset.Data/Tuples/WixComplexReferenceTuple.cs | |||
| @@ -2,30 +2,30 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixComplexReference = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixComplexReference = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixComplexReference, | 10 | SymbolDefinitionType.WixComplexReference, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixComplexReferenceTupleFields.Parent), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixComplexReferenceSymbolFields.Parent), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixComplexReferenceTupleFields.ParentAttributes), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixComplexReferenceSymbolFields.ParentAttributes), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixComplexReferenceTupleFields.ParentLanguage), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixComplexReferenceSymbolFields.ParentLanguage), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixComplexReferenceTupleFields.Child), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixComplexReferenceSymbolFields.Child), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(WixComplexReferenceTupleFields.ChildAttributes), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(WixComplexReferenceSymbolFields.ChildAttributes), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(WixComplexReferenceTupleFields.Attributes), IntermediateFieldType.Bool), | 18 | new IntermediateFieldDefinition(nameof(WixComplexReferenceSymbolFields.Attributes), IntermediateFieldType.Bool), |
| 19 | }, | 19 | }, |
| 20 | typeof(WixComplexReferenceTuple)); | 20 | typeof(WixComplexReferenceSymbol)); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
| 25 | { | 25 | { |
| 26 | using System; | 26 | using System; |
| 27 | 27 | ||
| 28 | public enum WixComplexReferenceTupleFields | 28 | public enum WixComplexReferenceSymbolFields |
| 29 | { | 29 | { |
| 30 | Parent, | 30 | Parent, |
| 31 | ParentAttributes, | 31 | ParentAttributes, |
| @@ -35,52 +35,52 @@ namespace WixToolset.Data.Tuples | |||
| 35 | Attributes, | 35 | Attributes, |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public class WixComplexReferenceTuple : IntermediateTuple | 38 | public class WixComplexReferenceSymbol : IntermediateSymbol |
| 39 | { | 39 | { |
| 40 | public WixComplexReferenceTuple() : base(TupleDefinitions.WixComplexReference, null, null) | 40 | public WixComplexReferenceSymbol() : base(SymbolDefinitions.WixComplexReference, null, null) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public WixComplexReferenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixComplexReference, sourceLineNumber, id) | 44 | public WixComplexReferenceSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixComplexReference, sourceLineNumber, id) |
| 45 | { | 45 | { |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public IntermediateField this[WixComplexReferenceTupleFields index] => this.Fields[(int)index]; | 48 | public IntermediateField this[WixComplexReferenceSymbolFields index] => this.Fields[(int)index]; |
| 49 | 49 | ||
| 50 | public string Parent | 50 | public string Parent |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)WixComplexReferenceTupleFields.Parent]; | 52 | get => (string)this.Fields[(int)WixComplexReferenceSymbolFields.Parent]; |
| 53 | set => this.Set((int)WixComplexReferenceTupleFields.Parent, value); | 53 | set => this.Set((int)WixComplexReferenceSymbolFields.Parent, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public ComplexReferenceParentType ParentType | 56 | public ComplexReferenceParentType ParentType |
| 57 | { | 57 | { |
| 58 | get => (ComplexReferenceParentType)Enum.Parse(typeof(ComplexReferenceParentType), (string)this.Fields[(int)WixComplexReferenceTupleFields.ParentAttributes], true); | 58 | get => (ComplexReferenceParentType)Enum.Parse(typeof(ComplexReferenceParentType), (string)this.Fields[(int)WixComplexReferenceSymbolFields.ParentAttributes], true); |
| 59 | set => this.Set((int)WixComplexReferenceTupleFields.ParentAttributes, value.ToString()); | 59 | set => this.Set((int)WixComplexReferenceSymbolFields.ParentAttributes, value.ToString()); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string ParentLanguage | 62 | public string ParentLanguage |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)WixComplexReferenceTupleFields.ParentLanguage]; | 64 | get => (string)this.Fields[(int)WixComplexReferenceSymbolFields.ParentLanguage]; |
| 65 | set => this.Set((int)WixComplexReferenceTupleFields.ParentLanguage, value); | 65 | set => this.Set((int)WixComplexReferenceSymbolFields.ParentLanguage, value); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public string Child | 68 | public string Child |
| 69 | { | 69 | { |
| 70 | get => (string)this.Fields[(int)WixComplexReferenceTupleFields.Child]; | 70 | get => (string)this.Fields[(int)WixComplexReferenceSymbolFields.Child]; |
| 71 | set => this.Set((int)WixComplexReferenceTupleFields.Child, value); | 71 | set => this.Set((int)WixComplexReferenceSymbolFields.Child, value); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public ComplexReferenceChildType ChildType | 74 | public ComplexReferenceChildType ChildType |
| 75 | { | 75 | { |
| 76 | get => (ComplexReferenceChildType)Enum.Parse(typeof(ComplexReferenceChildType), (string)this.Fields[(int)WixComplexReferenceTupleFields.ChildAttributes], true); | 76 | get => (ComplexReferenceChildType)Enum.Parse(typeof(ComplexReferenceChildType), (string)this.Fields[(int)WixComplexReferenceSymbolFields.ChildAttributes], true); |
| 77 | set => this.Set((int)WixComplexReferenceTupleFields.ChildAttributes, value.ToString()); | 77 | set => this.Set((int)WixComplexReferenceSymbolFields.ChildAttributes, value.ToString()); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public bool IsPrimary | 80 | public bool IsPrimary |
| 81 | { | 81 | { |
| 82 | get => (bool)this.Fields[(int)WixComplexReferenceTupleFields.Attributes]; | 82 | get => (bool)this.Fields[(int)WixComplexReferenceSymbolFields.Attributes]; |
| 83 | set => this.Set((int)WixComplexReferenceTupleFields.Attributes, value); | 83 | set => this.Set((int)WixComplexReferenceSymbolFields.Attributes, value); |
| 84 | } | 84 | } |
| 85 | } | 85 | } |
| 86 | } \ No newline at end of file | 86 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs b/src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs index 1209790f..4dd5a3b5 100644 --- a/src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs +++ b/src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs | |||
| @@ -2,43 +2,43 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixComponentGroup = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixComponentGroup = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixComponentGroup, | 10 | SymbolDefinitionType.WixComponentGroup, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixComponentGroupTupleFields.WixComponentGroup), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixComponentGroupSymbolFields.WixComponentGroup), IntermediateFieldType.String), |
| 14 | }, | 14 | }, |
| 15 | typeof(WixComponentGroupTuple)); | 15 | typeof(WixComponentGroupSymbol)); |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
| 20 | { | 20 | { |
| 21 | public enum WixComponentGroupTupleFields | 21 | public enum WixComponentGroupSymbolFields |
| 22 | { | 22 | { |
| 23 | WixComponentGroup, | 23 | WixComponentGroup, |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | public class WixComponentGroupTuple : IntermediateTuple | 26 | public class WixComponentGroupSymbol : IntermediateSymbol |
| 27 | { | 27 | { |
| 28 | public WixComponentGroupTuple() : base(TupleDefinitions.WixComponentGroup, null, null) | 28 | public WixComponentGroupSymbol() : base(SymbolDefinitions.WixComponentGroup, null, null) |
| 29 | { | 29 | { |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public WixComponentGroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixComponentGroup, sourceLineNumber, id) | 32 | public WixComponentGroupSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixComponentGroup, sourceLineNumber, id) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public IntermediateField this[WixComponentGroupTupleFields index] => this.Fields[(int)index]; | 36 | public IntermediateField this[WixComponentGroupSymbolFields index] => this.Fields[(int)index]; |
| 37 | 37 | ||
| 38 | public string WixComponentGroup | 38 | public string WixComponentGroup |
| 39 | { | 39 | { |
| 40 | get => (string)this.Fields[(int)WixComponentGroupTupleFields.WixComponentGroup]; | 40 | get => (string)this.Fields[(int)WixComponentGroupSymbolFields.WixComponentGroup]; |
| 41 | set => this.Set((int)WixComponentGroupTupleFields.WixComponentGroup, value); | 41 | set => this.Set((int)WixComponentGroupSymbolFields.WixComponentGroup, value); |
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | } \ No newline at end of file | 44 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixComponentSearchTuple.cs b/src/WixToolset.Data/Tuples/WixComponentSearchTuple.cs index de6f47b9..63f7179f 100644 --- a/src/WixToolset.Data/Tuples/WixComponentSearchTuple.cs +++ b/src/WixToolset.Data/Tuples/WixComponentSearchTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixComponentSearch = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixComponentSearch = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixComponentSearch, | 10 | SymbolDefinitionType.WixComponentSearch, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixComponentSearchTupleFields.Guid), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixComponentSearchSymbolFields.Guid), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixComponentSearchTupleFields.ProductCode), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixComponentSearchSymbolFields.ProductCode), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixComponentSearchTupleFields.Attributes), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(WixComponentSearchSymbolFields.Attributes), IntermediateFieldType.Number), |
| 16 | }, | 16 | }, |
| 17 | typeof(WixComponentSearchTuple)); | 17 | typeof(WixComponentSearchSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | using System; | 23 | using System; |
| 24 | 24 | ||
| 25 | public enum WixComponentSearchTupleFields | 25 | public enum WixComponentSearchSymbolFields |
| 26 | { | 26 | { |
| 27 | Guid, | 27 | Guid, |
| 28 | ProductCode, | 28 | ProductCode, |
| @@ -37,34 +37,34 @@ namespace WixToolset.Data.Tuples | |||
| 37 | WantDirectory = 0x4, | 37 | WantDirectory = 0x4, |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public class WixComponentSearchTuple : IntermediateTuple | 40 | public class WixComponentSearchSymbol : IntermediateSymbol |
| 41 | { | 41 | { |
| 42 | public WixComponentSearchTuple() : base(TupleDefinitions.WixComponentSearch, null, null) | 42 | public WixComponentSearchSymbol() : base(SymbolDefinitions.WixComponentSearch, null, null) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public WixComponentSearchTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixComponentSearch, sourceLineNumber, id) | 46 | public WixComponentSearchSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixComponentSearch, sourceLineNumber, id) |
| 47 | { | 47 | { |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public IntermediateField this[WixComponentSearchTupleFields index] => this.Fields[(int)index]; | 50 | public IntermediateField this[WixComponentSearchSymbolFields index] => this.Fields[(int)index]; |
| 51 | 51 | ||
| 52 | public string Guid | 52 | public string Guid |
| 53 | { | 53 | { |
| 54 | get => (string)this.Fields[(int)WixComponentSearchTupleFields.Guid]; | 54 | get => (string)this.Fields[(int)WixComponentSearchSymbolFields.Guid]; |
| 55 | set => this.Set((int)WixComponentSearchTupleFields.Guid, value); | 55 | set => this.Set((int)WixComponentSearchSymbolFields.Guid, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public string ProductCode | 58 | public string ProductCode |
| 59 | { | 59 | { |
| 60 | get => (string)this.Fields[(int)WixComponentSearchTupleFields.ProductCode]; | 60 | get => (string)this.Fields[(int)WixComponentSearchSymbolFields.ProductCode]; |
| 61 | set => this.Set((int)WixComponentSearchTupleFields.ProductCode, value); | 61 | set => this.Set((int)WixComponentSearchSymbolFields.ProductCode, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public WixComponentSearchAttributes Attributes | 64 | public WixComponentSearchAttributes Attributes |
| 65 | { | 65 | { |
| 66 | get => (WixComponentSearchAttributes)this.Fields[(int)WixComponentSearchTupleFields.Attributes].AsNumber(); | 66 | get => (WixComponentSearchAttributes)this.Fields[(int)WixComponentSearchSymbolFields.Attributes].AsNumber(); |
| 67 | set => this.Set((int)WixComponentSearchTupleFields.Attributes, (int)value); | 67 | set => this.Set((int)WixComponentSearchSymbolFields.Attributes, (int)value); |
| 68 | } | 68 | } |
| 69 | } | 69 | } |
| 70 | } | 70 | } |
diff --git a/src/WixToolset.Data/Tuples/WixCustomTableCellTuple.cs b/src/WixToolset.Data/Tuples/WixCustomTableCellTuple.cs index 18be675e..b45cda43 100644 --- a/src/WixToolset.Data/Tuples/WixCustomTableCellTuple.cs +++ b/src/WixToolset.Data/Tuples/WixCustomTableCellTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixCustomTableCell = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixCustomTableCell = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixCustomTableCell, | 10 | SymbolDefinitionType.WixCustomTableCell, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixCustomTableCellTupleFields.TableRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixCustomTableCellSymbolFields.TableRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixCustomTableCellTupleFields.ColumnRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixCustomTableCellSymbolFields.ColumnRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixCustomTableCellTupleFields.RowId), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixCustomTableCellSymbolFields.RowId), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixCustomTableCellTupleFields.Data), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixCustomTableCellSymbolFields.Data), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(WixCustomTableCellTuple)); | 18 | typeof(WixCustomTableCellSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum WixCustomTableCellTupleFields | 24 | public enum WixCustomTableCellSymbolFields |
| 25 | { | 25 | { |
| 26 | TableRef, | 26 | TableRef, |
| 27 | ColumnRef, | 27 | ColumnRef, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Data, | 29 | Data, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class WixCustomTableCellTuple : IntermediateTuple | 32 | public class WixCustomTableCellSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public WixCustomTableCellTuple() : base(TupleDefinitions.WixCustomTableCell, null, null) | 34 | public WixCustomTableCellSymbol() : base(SymbolDefinitions.WixCustomTableCell, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public WixCustomTableCellTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixCustomTableCell, sourceLineNumber, id) | 38 | public WixCustomTableCellSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixCustomTableCell, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[WixCustomTableCellTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[WixCustomTableCellSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string TableRef | 44 | public string TableRef |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)WixCustomTableCellTupleFields.TableRef]; | 46 | get => (string)this.Fields[(int)WixCustomTableCellSymbolFields.TableRef]; |
| 47 | set => this.Set((int)WixCustomTableCellTupleFields.TableRef, value); | 47 | set => this.Set((int)WixCustomTableCellSymbolFields.TableRef, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string ColumnRef | 50 | public string ColumnRef |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)WixCustomTableCellTupleFields.ColumnRef]; | 52 | get => (string)this.Fields[(int)WixCustomTableCellSymbolFields.ColumnRef]; |
| 53 | set => this.Set((int)WixCustomTableCellTupleFields.ColumnRef, value); | 53 | set => this.Set((int)WixCustomTableCellSymbolFields.ColumnRef, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string RowId | 56 | public string RowId |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)WixCustomTableCellTupleFields.RowId]; | 58 | get => (string)this.Fields[(int)WixCustomTableCellSymbolFields.RowId]; |
| 59 | set => this.Set((int)WixCustomTableCellTupleFields.RowId, value); | 59 | set => this.Set((int)WixCustomTableCellSymbolFields.RowId, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string Data | 62 | public string Data |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)WixCustomTableCellTupleFields.Data]; | 64 | get => (string)this.Fields[(int)WixCustomTableCellSymbolFields.Data]; |
| 65 | set => this.Set((int)WixCustomTableCellTupleFields.Data, value); | 65 | set => this.Set((int)WixCustomTableCellSymbolFields.Data, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } | 68 | } |
diff --git a/src/WixToolset.Data/Tuples/WixCustomTableColumnTuple.cs b/src/WixToolset.Data/Tuples/WixCustomTableColumnTuple.cs index 8f3cf571..9ae2a904 100644 --- a/src/WixToolset.Data/Tuples/WixCustomTableColumnTuple.cs +++ b/src/WixToolset.Data/Tuples/WixCustomTableColumnTuple.cs | |||
| @@ -2,37 +2,37 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixCustomTableColumn = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixCustomTableColumn = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixCustomTableColumn, | 10 | SymbolDefinitionType.WixCustomTableColumn, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnTupleFields.TableRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnSymbolFields.TableRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnTupleFields.Name), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnSymbolFields.Name), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnTupleFields.Type), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnSymbolFields.Type), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnTupleFields.Attributes), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnSymbolFields.Attributes), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnTupleFields.Width), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnSymbolFields.Width), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnTupleFields.MinValue), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnSymbolFields.MinValue), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnTupleFields.MaxValue), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnSymbolFields.MaxValue), IntermediateFieldType.String), |
| 20 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnTupleFields.KeyTable), IntermediateFieldType.String), | 20 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnSymbolFields.KeyTable), IntermediateFieldType.String), |
| 21 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnTupleFields.KeyColumn), IntermediateFieldType.String), | 21 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnSymbolFields.KeyColumn), IntermediateFieldType.String), |
| 22 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnTupleFields.Category), IntermediateFieldType.String), | 22 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnSymbolFields.Category), IntermediateFieldType.String), |
| 23 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnTupleFields.Set), IntermediateFieldType.String), | 23 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnSymbolFields.Set), IntermediateFieldType.String), |
| 24 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnTupleFields.Description), IntermediateFieldType.String), | 24 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnSymbolFields.Description), IntermediateFieldType.String), |
| 25 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnTupleFields.Modularize), IntermediateFieldType.Number) | 25 | new IntermediateFieldDefinition(nameof(WixCustomTableColumnSymbolFields.Modularize), IntermediateFieldType.Number) |
| 26 | }, | 26 | }, |
| 27 | typeof(WixCustomTableColumnTuple)); | 27 | typeof(WixCustomTableColumnSymbol)); |
| 28 | } | 28 | } |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | namespace WixToolset.Data.Tuples | 31 | namespace WixToolset.Data.Symbols |
| 32 | { | 32 | { |
| 33 | using System; | 33 | using System; |
| 34 | 34 | ||
| 35 | public enum WixCustomTableColumnTupleFields | 35 | public enum WixCustomTableColumnSymbolFields |
| 36 | { | 36 | { |
| 37 | TableRef, | 37 | TableRef, |
| 38 | Name, | 38 | Name, |
| @@ -50,7 +50,7 @@ namespace WixToolset.Data.Tuples | |||
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | [Flags] | 52 | [Flags] |
| 53 | public enum WixCustomTableColumnTupleAttributes | 53 | public enum WixCustomTableColumnSymbolAttributes |
| 54 | { | 54 | { |
| 55 | None = 0x0, | 55 | None = 0x0, |
| 56 | PrimaryKey = 0x1, | 56 | PrimaryKey = 0x1, |
| @@ -102,102 +102,102 @@ namespace WixToolset.Data.Tuples | |||
| 102 | SemicolonDelimited, | 102 | SemicolonDelimited, |
| 103 | } | 103 | } |
| 104 | 104 | ||
| 105 | public class WixCustomTableColumnTuple : IntermediateTuple | 105 | public class WixCustomTableColumnSymbol : IntermediateSymbol |
| 106 | { | 106 | { |
| 107 | public WixCustomTableColumnTuple() : base(TupleDefinitions.WixCustomTableColumn, null, null) | 107 | public WixCustomTableColumnSymbol() : base(SymbolDefinitions.WixCustomTableColumn, null, null) |
| 108 | { | 108 | { |
| 109 | } | 109 | } |
| 110 | 110 | ||
| 111 | public WixCustomTableColumnTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixCustomTableColumn, sourceLineNumber, id) | 111 | public WixCustomTableColumnSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixCustomTableColumn, sourceLineNumber, id) |
| 112 | { | 112 | { |
| 113 | } | 113 | } |
| 114 | 114 | ||
| 115 | public IntermediateField this[WixCustomTableColumnTupleFields index] => this.Fields[(int)index]; | 115 | public IntermediateField this[WixCustomTableColumnSymbolFields index] => this.Fields[(int)index]; |
| 116 | 116 | ||
| 117 | public string TableRef | 117 | public string TableRef |
| 118 | { | 118 | { |
| 119 | get => (string)this.Fields[(int)WixCustomTableColumnTupleFields.TableRef]; | 119 | get => (string)this.Fields[(int)WixCustomTableColumnSymbolFields.TableRef]; |
| 120 | set => this.Set((int)WixCustomTableColumnTupleFields.TableRef, value); | 120 | set => this.Set((int)WixCustomTableColumnSymbolFields.TableRef, value); |
| 121 | } | 121 | } |
| 122 | 122 | ||
| 123 | public string Name | 123 | public string Name |
| 124 | { | 124 | { |
| 125 | get => (string)this.Fields[(int)WixCustomTableColumnTupleFields.Name]; | 125 | get => (string)this.Fields[(int)WixCustomTableColumnSymbolFields.Name]; |
| 126 | set => this.Set((int)WixCustomTableColumnTupleFields.Name, value); | 126 | set => this.Set((int)WixCustomTableColumnSymbolFields.Name, value); |
| 127 | } | 127 | } |
| 128 | 128 | ||
| 129 | public IntermediateFieldType Type | 129 | public IntermediateFieldType Type |
| 130 | { | 130 | { |
| 131 | get => (IntermediateFieldType)this.Fields[(int)WixCustomTableColumnTupleFields.Type].AsNumber(); | 131 | get => (IntermediateFieldType)this.Fields[(int)WixCustomTableColumnSymbolFields.Type].AsNumber(); |
| 132 | set => this.Set((int)WixCustomTableColumnTupleFields.Type, (int)value); | 132 | set => this.Set((int)WixCustomTableColumnSymbolFields.Type, (int)value); |
| 133 | } | 133 | } |
| 134 | 134 | ||
| 135 | public WixCustomTableColumnTupleAttributes Attributes | 135 | public WixCustomTableColumnSymbolAttributes Attributes |
| 136 | { | 136 | { |
| 137 | get => (WixCustomTableColumnTupleAttributes)this.Fields[(int)WixCustomTableColumnTupleFields.Attributes].AsNumber(); | 137 | get => (WixCustomTableColumnSymbolAttributes)this.Fields[(int)WixCustomTableColumnSymbolFields.Attributes].AsNumber(); |
| 138 | set => this.Set((int)WixCustomTableColumnTupleFields.Attributes, (int)value); | 138 | set => this.Set((int)WixCustomTableColumnSymbolFields.Attributes, (int)value); |
| 139 | } | 139 | } |
| 140 | 140 | ||
| 141 | public int Width | 141 | public int Width |
| 142 | { | 142 | { |
| 143 | get => (int)this.Fields[(int)WixCustomTableColumnTupleFields.Width]; | 143 | get => (int)this.Fields[(int)WixCustomTableColumnSymbolFields.Width]; |
| 144 | set => this.Set((int)WixCustomTableColumnTupleFields.Width, value); | 144 | set => this.Set((int)WixCustomTableColumnSymbolFields.Width, value); |
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | public long? MinValue | 147 | public long? MinValue |
| 148 | { | 148 | { |
| 149 | get => (long?)this.Fields[(int)WixCustomTableColumnTupleFields.MinValue]; | 149 | get => (long?)this.Fields[(int)WixCustomTableColumnSymbolFields.MinValue]; |
| 150 | set => this.Set((int)WixCustomTableColumnTupleFields.MinValue, value); | 150 | set => this.Set((int)WixCustomTableColumnSymbolFields.MinValue, value); |
| 151 | } | 151 | } |
| 152 | 152 | ||
| 153 | public long? MaxValue | 153 | public long? MaxValue |
| 154 | { | 154 | { |
| 155 | get => (long?)this.Fields[(int)WixCustomTableColumnTupleFields.MaxValue]; | 155 | get => (long?)this.Fields[(int)WixCustomTableColumnSymbolFields.MaxValue]; |
| 156 | set => this.Set((int)WixCustomTableColumnTupleFields.MaxValue, value); | 156 | set => this.Set((int)WixCustomTableColumnSymbolFields.MaxValue, value); |
| 157 | } | 157 | } |
| 158 | 158 | ||
| 159 | public string KeyTable | 159 | public string KeyTable |
| 160 | { | 160 | { |
| 161 | get => (string)this.Fields[(int)WixCustomTableColumnTupleFields.KeyTable]; | 161 | get => (string)this.Fields[(int)WixCustomTableColumnSymbolFields.KeyTable]; |
| 162 | set => this.Set((int)WixCustomTableColumnTupleFields.KeyTable, value); | 162 | set => this.Set((int)WixCustomTableColumnSymbolFields.KeyTable, value); |
| 163 | } | 163 | } |
| 164 | 164 | ||
| 165 | public int? KeyColumn | 165 | public int? KeyColumn |
| 166 | { | 166 | { |
| 167 | get => (int?)this.Fields[(int)WixCustomTableColumnTupleFields.KeyColumn]; | 167 | get => (int?)this.Fields[(int)WixCustomTableColumnSymbolFields.KeyColumn]; |
| 168 | set => this.Set((int)WixCustomTableColumnTupleFields.KeyColumn, value); | 168 | set => this.Set((int)WixCustomTableColumnSymbolFields.KeyColumn, value); |
| 169 | } | 169 | } |
| 170 | 170 | ||
| 171 | public WixCustomTableColumnCategoryType? Category | 171 | public WixCustomTableColumnCategoryType? Category |
| 172 | { | 172 | { |
| 173 | get => (WixCustomTableColumnCategoryType?)this.Fields[(int)WixCustomTableColumnTupleFields.Category].AsNullableNumber(); | 173 | get => (WixCustomTableColumnCategoryType?)this.Fields[(int)WixCustomTableColumnSymbolFields.Category].AsNullableNumber(); |
| 174 | set => this.Set((int)WixCustomTableColumnTupleFields.Category, (int?)value); | 174 | set => this.Set((int)WixCustomTableColumnSymbolFields.Category, (int?)value); |
| 175 | } | 175 | } |
| 176 | 176 | ||
| 177 | public string Set | 177 | public string Set |
| 178 | { | 178 | { |
| 179 | get => (string)this.Fields[(int)WixCustomTableColumnTupleFields.Set]; | 179 | get => (string)this.Fields[(int)WixCustomTableColumnSymbolFields.Set]; |
| 180 | set => this.Set((int)WixCustomTableColumnTupleFields.Set, value); | 180 | set => this.Set((int)WixCustomTableColumnSymbolFields.Set, value); |
| 181 | } | 181 | } |
| 182 | 182 | ||
| 183 | public string Description | 183 | public string Description |
| 184 | { | 184 | { |
| 185 | get => (string)this.Fields[(int)WixCustomTableColumnTupleFields.Description]; | 185 | get => (string)this.Fields[(int)WixCustomTableColumnSymbolFields.Description]; |
| 186 | set => this.Set((int)WixCustomTableColumnTupleFields.Description, value); | 186 | set => this.Set((int)WixCustomTableColumnSymbolFields.Description, value); |
| 187 | } | 187 | } |
| 188 | 188 | ||
| 189 | public WixCustomTableColumnModularizeType? Modularize | 189 | public WixCustomTableColumnModularizeType? Modularize |
| 190 | { | 190 | { |
| 191 | get => (WixCustomTableColumnModularizeType?)this.Fields[(int)WixCustomTableColumnTupleFields.Modularize].AsNullableNumber(); | 191 | get => (WixCustomTableColumnModularizeType?)this.Fields[(int)WixCustomTableColumnSymbolFields.Modularize].AsNullableNumber(); |
| 192 | set => this.Set((int)WixCustomTableColumnTupleFields.Modularize, (int?)value); | 192 | set => this.Set((int)WixCustomTableColumnSymbolFields.Modularize, (int?)value); |
| 193 | } | 193 | } |
| 194 | 194 | ||
| 195 | public bool PrimaryKey => (this.Attributes & WixCustomTableColumnTupleAttributes.PrimaryKey) == WixCustomTableColumnTupleAttributes.PrimaryKey; | 195 | public bool PrimaryKey => (this.Attributes & WixCustomTableColumnSymbolAttributes.PrimaryKey) == WixCustomTableColumnSymbolAttributes.PrimaryKey; |
| 196 | 196 | ||
| 197 | public bool Localizable => (this.Attributes & WixCustomTableColumnTupleAttributes.Localizable) == WixCustomTableColumnTupleAttributes.Localizable; | 197 | public bool Localizable => (this.Attributes & WixCustomTableColumnSymbolAttributes.Localizable) == WixCustomTableColumnSymbolAttributes.Localizable; |
| 198 | 198 | ||
| 199 | public bool Nullable => (this.Attributes & WixCustomTableColumnTupleAttributes.Nullable) == WixCustomTableColumnTupleAttributes.Nullable; | 199 | public bool Nullable => (this.Attributes & WixCustomTableColumnSymbolAttributes.Nullable) == WixCustomTableColumnSymbolAttributes.Nullable; |
| 200 | 200 | ||
| 201 | public bool Unreal => (this.Attributes & WixCustomTableColumnTupleAttributes.Unreal) == WixCustomTableColumnTupleAttributes.Unreal; | 201 | public bool Unreal => (this.Attributes & WixCustomTableColumnSymbolAttributes.Unreal) == WixCustomTableColumnSymbolAttributes.Unreal; |
| 202 | } | 202 | } |
| 203 | } | 203 | } |
diff --git a/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs b/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs index b0d12a63..af731443 100644 --- a/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs +++ b/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs | |||
| @@ -2,53 +2,53 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixCustomTable = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixCustomTable = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixCustomTable, | 10 | SymbolDefinitionType.WixCustomTable, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.ColumnNames), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixCustomTableSymbolFields.ColumnNames), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.Unreal), IntermediateFieldType.Bool), | 14 | new IntermediateFieldDefinition(nameof(WixCustomTableSymbolFields.Unreal), IntermediateFieldType.Bool), |
| 15 | }, | 15 | }, |
| 16 | typeof(WixCustomTableTuple)); | 16 | typeof(WixCustomTableSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum WixCustomTableTupleFields | 22 | public enum WixCustomTableSymbolFields |
| 23 | { | 23 | { |
| 24 | ColumnNames, | 24 | ColumnNames, |
| 25 | Unreal, | 25 | Unreal, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class WixCustomTableTuple : IntermediateTuple | 28 | public class WixCustomTableSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public const char ColumnNamesSeparator = '\x85'; | 30 | public const char ColumnNamesSeparator = '\x85'; |
| 31 | 31 | ||
| 32 | public WixCustomTableTuple() : base(TupleDefinitions.WixCustomTable, null, null) | 32 | public WixCustomTableSymbol() : base(SymbolDefinitions.WixCustomTable, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public WixCustomTableTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixCustomTable, sourceLineNumber, id) | 36 | public WixCustomTableSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixCustomTable, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[WixCustomTableTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[WixCustomTableSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string ColumnNames | 42 | public string ColumnNames |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)WixCustomTableTupleFields.ColumnNames]; | 44 | get => (string)this.Fields[(int)WixCustomTableSymbolFields.ColumnNames]; |
| 45 | set => this.Set((int)WixCustomTableTupleFields.ColumnNames, value); | 45 | set => this.Set((int)WixCustomTableSymbolFields.ColumnNames, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public bool Unreal | 48 | public bool Unreal |
| 49 | { | 49 | { |
| 50 | get => (bool)this.Fields[(int)WixCustomTableTupleFields.Unreal]; | 50 | get => (bool)this.Fields[(int)WixCustomTableSymbolFields.Unreal]; |
| 51 | set => this.Set((int)WixCustomTableTupleFields.Unreal, value); | 51 | set => this.Set((int)WixCustomTableSymbolFields.Unreal, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string[] ColumnNamesSeparated => this.ColumnNames.Split(ColumnNamesSeparator); | 54 | public string[] ColumnNamesSeparated => this.ColumnNames.Split(ColumnNamesSeparator); |
diff --git a/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs b/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs index 4f90bb7c..77203b03 100644 --- a/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs +++ b/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs | |||
| @@ -2,28 +2,28 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixDeltaPatchFile = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixDeltaPatchFile = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixDeltaPatchFile, | 10 | SymbolDefinitionType.WixDeltaPatchFile, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.FileRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileSymbolFields.FileRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.RetainLengths), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileSymbolFields.RetainLengths), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.IgnoreOffsets), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileSymbolFields.IgnoreOffsets), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.IgnoreLengths), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileSymbolFields.IgnoreLengths), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.RetainOffsets), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileSymbolFields.RetainOffsets), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.SymbolPaths), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileSymbolFields.SymbolPaths), IntermediateFieldType.String), |
| 19 | }, | 19 | }, |
| 20 | typeof(WixDeltaPatchFileTuple)); | 20 | typeof(WixDeltaPatchFileSymbol)); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
| 25 | { | 25 | { |
| 26 | public enum WixDeltaPatchFileTupleFields | 26 | public enum WixDeltaPatchFileSymbolFields |
| 27 | { | 27 | { |
| 28 | FileRef, | 28 | FileRef, |
| 29 | RetainLengths, | 29 | RetainLengths, |
| @@ -33,52 +33,52 @@ namespace WixToolset.Data.Tuples | |||
| 33 | SymbolPaths, | 33 | SymbolPaths, |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public class WixDeltaPatchFileTuple : IntermediateTuple | 36 | public class WixDeltaPatchFileSymbol : IntermediateSymbol |
| 37 | { | 37 | { |
| 38 | public WixDeltaPatchFileTuple() : base(TupleDefinitions.WixDeltaPatchFile, null, null) | 38 | public WixDeltaPatchFileSymbol() : base(SymbolDefinitions.WixDeltaPatchFile, null, null) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public WixDeltaPatchFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixDeltaPatchFile, sourceLineNumber, id) | 42 | public WixDeltaPatchFileSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixDeltaPatchFile, sourceLineNumber, id) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public IntermediateField this[WixDeltaPatchFileTupleFields index] => this.Fields[(int)index]; | 46 | public IntermediateField this[WixDeltaPatchFileSymbolFields index] => this.Fields[(int)index]; |
| 47 | 47 | ||
| 48 | public string FileRef | 48 | public string FileRef |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.FileRef]; | 50 | get => (string)this.Fields[(int)WixDeltaPatchFileSymbolFields.FileRef]; |
| 51 | set => this.Set((int)WixDeltaPatchFileTupleFields.FileRef, value); | 51 | set => this.Set((int)WixDeltaPatchFileSymbolFields.FileRef, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string RetainLengths | 54 | public string RetainLengths |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.RetainLengths]; | 56 | get => (string)this.Fields[(int)WixDeltaPatchFileSymbolFields.RetainLengths]; |
| 57 | set => this.Set((int)WixDeltaPatchFileTupleFields.RetainLengths, value); | 57 | set => this.Set((int)WixDeltaPatchFileSymbolFields.RetainLengths, value); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | public string IgnoreOffsets | 60 | public string IgnoreOffsets |
| 61 | { | 61 | { |
| 62 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.IgnoreOffsets]; | 62 | get => (string)this.Fields[(int)WixDeltaPatchFileSymbolFields.IgnoreOffsets]; |
| 63 | set => this.Set((int)WixDeltaPatchFileTupleFields.IgnoreOffsets, value); | 63 | set => this.Set((int)WixDeltaPatchFileSymbolFields.IgnoreOffsets, value); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | public string IgnoreLengths | 66 | public string IgnoreLengths |
| 67 | { | 67 | { |
| 68 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.IgnoreLengths]; | 68 | get => (string)this.Fields[(int)WixDeltaPatchFileSymbolFields.IgnoreLengths]; |
| 69 | set => this.Set((int)WixDeltaPatchFileTupleFields.IgnoreLengths, value); | 69 | set => this.Set((int)WixDeltaPatchFileSymbolFields.IgnoreLengths, value); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public string RetainOffsets | 72 | public string RetainOffsets |
| 73 | { | 73 | { |
| 74 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.RetainOffsets]; | 74 | get => (string)this.Fields[(int)WixDeltaPatchFileSymbolFields.RetainOffsets]; |
| 75 | set => this.Set((int)WixDeltaPatchFileTupleFields.RetainOffsets, value); | 75 | set => this.Set((int)WixDeltaPatchFileSymbolFields.RetainOffsets, value); |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | public string SymbolPaths | 78 | public string SymbolPaths |
| 79 | { | 79 | { |
| 80 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.SymbolPaths]; | 80 | get => (string)this.Fields[(int)WixDeltaPatchFileSymbolFields.SymbolPaths]; |
| 81 | set => this.Set((int)WixDeltaPatchFileTupleFields.SymbolPaths, value); | 81 | set => this.Set((int)WixDeltaPatchFileSymbolFields.SymbolPaths, value); |
| 82 | } | 82 | } |
| 83 | } | 83 | } |
| 84 | } \ No newline at end of file | 84 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixDeltaPatchSymbolPathsTuple.cs b/src/WixToolset.Data/Tuples/WixDeltaPatchSymbolPathsTuple.cs index 29acf111..6e50d07f 100644 --- a/src/WixToolset.Data/Tuples/WixDeltaPatchSymbolPathsTuple.cs +++ b/src/WixToolset.Data/Tuples/WixDeltaPatchSymbolPathsTuple.cs | |||
| @@ -4,25 +4,25 @@ using System; | |||
| 4 | 4 | ||
| 5 | namespace WixToolset.Data | 5 | namespace WixToolset.Data |
| 6 | { | 6 | { |
| 7 | using WixToolset.Data.Tuples; | 7 | using WixToolset.Data.Symbols; |
| 8 | 8 | ||
| 9 | public static partial class TupleDefinitions | 9 | public static partial class SymbolDefinitions |
| 10 | { | 10 | { |
| 11 | public static readonly IntermediateTupleDefinition WixDeltaPatchSymbolPaths = new IntermediateTupleDefinition( | 11 | public static readonly IntermediateSymbolDefinition WixDeltaPatchSymbolPaths = new IntermediateSymbolDefinition( |
| 12 | TupleDefinitionType.WixDeltaPatchSymbolPaths, | 12 | SymbolDefinitionType.WixDeltaPatchSymbolPaths, |
| 13 | new[] | 13 | new[] |
| 14 | { | 14 | { |
| 15 | new IntermediateFieldDefinition(nameof(WixDeltaPatchSymbolPathsTupleFields.SymbolType), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(WixDeltaPatchSymbolPathsSymbolFields.SymbolType), IntermediateFieldType.Number), |
| 16 | new IntermediateFieldDefinition(nameof(WixDeltaPatchSymbolPathsTupleFields.SymbolId), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixDeltaPatchSymbolPathsSymbolFields.SymbolId), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(WixDeltaPatchSymbolPathsTupleFields.SymbolPaths), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(WixDeltaPatchSymbolPathsSymbolFields.SymbolPaths), IntermediateFieldType.String), |
| 18 | }, | 18 | }, |
| 19 | typeof(WixDeltaPatchSymbolPathsTuple)); | 19 | typeof(WixDeltaPatchSymbolPathsSymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | public enum WixDeltaPatchSymbolPathsTupleFields | 25 | public enum WixDeltaPatchSymbolPathsSymbolFields |
| 26 | { | 26 | { |
| 27 | SymbolType, | 27 | SymbolType, |
| 28 | SymbolId, | 28 | SymbolId, |
| @@ -42,34 +42,34 @@ namespace WixToolset.Data.Tuples | |||
| 42 | Product | 42 | Product |
| 43 | }; | 43 | }; |
| 44 | 44 | ||
| 45 | public class WixDeltaPatchSymbolPathsTuple : IntermediateTuple | 45 | public class WixDeltaPatchSymbolPathsSymbol : IntermediateSymbol |
| 46 | { | 46 | { |
| 47 | public WixDeltaPatchSymbolPathsTuple() : base(TupleDefinitions.WixDeltaPatchSymbolPaths, null, null) | 47 | public WixDeltaPatchSymbolPathsSymbol() : base(SymbolDefinitions.WixDeltaPatchSymbolPaths, null, null) |
| 48 | { | 48 | { |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | public WixDeltaPatchSymbolPathsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixDeltaPatchSymbolPaths, sourceLineNumber, id) | 51 | public WixDeltaPatchSymbolPathsSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixDeltaPatchSymbolPaths, sourceLineNumber, id) |
| 52 | { | 52 | { |
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | public IntermediateField this[WixDeltaPatchSymbolPathsTupleFields index] => this.Fields[(int)index]; | 55 | public IntermediateField this[WixDeltaPatchSymbolPathsSymbolFields index] => this.Fields[(int)index]; |
| 56 | 56 | ||
| 57 | public SymbolPathType SymbolType | 57 | public SymbolPathType SymbolType |
| 58 | { | 58 | { |
| 59 | get => (SymbolPathType)this.Fields[(int)WixDeltaPatchSymbolPathsTupleFields.SymbolType].AsNumber(); | 59 | get => (SymbolPathType)this.Fields[(int)WixDeltaPatchSymbolPathsSymbolFields.SymbolType].AsNumber(); |
| 60 | set => this.Set((int)WixDeltaPatchSymbolPathsTupleFields.SymbolType, (int)value); | 60 | set => this.Set((int)WixDeltaPatchSymbolPathsSymbolFields.SymbolType, (int)value); |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | public string SymbolId | 63 | public string SymbolId |
| 64 | { | 64 | { |
| 65 | get => (string)this.Fields[(int)WixDeltaPatchSymbolPathsTupleFields.SymbolId]; | 65 | get => (string)this.Fields[(int)WixDeltaPatchSymbolPathsSymbolFields.SymbolId]; |
| 66 | set => this.Set((int)WixDeltaPatchSymbolPathsTupleFields.SymbolId, value); | 66 | set => this.Set((int)WixDeltaPatchSymbolPathsSymbolFields.SymbolId, value); |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | public string SymbolPaths | 69 | public string SymbolPaths |
| 70 | { | 70 | { |
| 71 | get => (string)this.Fields[(int)WixDeltaPatchSymbolPathsTupleFields.SymbolPaths]; | 71 | get => (string)this.Fields[(int)WixDeltaPatchSymbolPathsSymbolFields.SymbolPaths]; |
| 72 | set => this.Set((int)WixDeltaPatchSymbolPathsTupleFields.SymbolPaths, value); | 72 | set => this.Set((int)WixDeltaPatchSymbolPathsSymbolFields.SymbolPaths, value); |
| 73 | } | 73 | } |
| 74 | } | 74 | } |
| 75 | } \ No newline at end of file | 75 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixDependencyProviderTuple.cs b/src/WixToolset.Data/Tuples/WixDependencyProviderTuple.cs index 1953594e..3ede1097 100644 --- a/src/WixToolset.Data/Tuples/WixDependencyProviderTuple.cs +++ b/src/WixToolset.Data/Tuples/WixDependencyProviderTuple.cs | |||
| @@ -2,30 +2,30 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixDependencyProvider = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixDependencyProvider = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixDependencyProvider.ToString(), | 10 | SymbolDefinitionType.WixDependencyProvider.ToString(), |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixDependencyProviderTupleFields.ComponentRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixDependencyProviderSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixDependencyProviderTupleFields.ProviderKey), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixDependencyProviderSymbolFields.ProviderKey), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixDependencyProviderTupleFields.Version), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixDependencyProviderSymbolFields.Version), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixDependencyProviderTupleFields.DisplayName), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixDependencyProviderSymbolFields.DisplayName), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(WixDependencyProviderTupleFields.Attributes), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(WixDependencyProviderSymbolFields.Attributes), IntermediateFieldType.Number), |
| 18 | }, | 18 | }, |
| 19 | typeof(WixDependencyProviderTuple)); | 19 | typeof(WixDependencyProviderSymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | using System; | 25 | using System; |
| 26 | using WixToolset.Data; | 26 | using WixToolset.Data; |
| 27 | 27 | ||
| 28 | public enum WixDependencyProviderTupleFields | 28 | public enum WixDependencyProviderSymbolFields |
| 29 | { | 29 | { |
| 30 | ComponentRef, | 30 | ComponentRef, |
| 31 | ProviderKey, | 31 | ProviderKey, |
| @@ -40,46 +40,46 @@ namespace WixToolset.Data.Tuples | |||
| 40 | ProvidesAttributesBundle = 0x10000 | 40 | ProvidesAttributesBundle = 0x10000 |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | public class WixDependencyProviderTuple : IntermediateTuple | 43 | public class WixDependencyProviderSymbol : IntermediateSymbol |
| 44 | { | 44 | { |
| 45 | public WixDependencyProviderTuple() : base(TupleDefinitions.WixDependencyProvider, null, null) | 45 | public WixDependencyProviderSymbol() : base(SymbolDefinitions.WixDependencyProvider, null, null) |
| 46 | { | 46 | { |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | public WixDependencyProviderTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixDependencyProvider, sourceLineNumber, id) | 49 | public WixDependencyProviderSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixDependencyProvider, sourceLineNumber, id) |
| 50 | { | 50 | { |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | public IntermediateField this[WixDependencyProviderTupleFields index] => this.Fields[(int)index]; | 53 | public IntermediateField this[WixDependencyProviderSymbolFields index] => this.Fields[(int)index]; |
| 54 | 54 | ||
| 55 | public string ComponentRef | 55 | public string ComponentRef |
| 56 | { | 56 | { |
| 57 | get => this.Fields[(int)WixDependencyProviderTupleFields.ComponentRef].AsString(); | 57 | get => this.Fields[(int)WixDependencyProviderSymbolFields.ComponentRef].AsString(); |
| 58 | set => this.Set((int)WixDependencyProviderTupleFields.ComponentRef, value); | 58 | set => this.Set((int)WixDependencyProviderSymbolFields.ComponentRef, value); |
| 59 | } | 59 | } |
| 60 | 60 | ||
| 61 | public string ProviderKey | 61 | public string ProviderKey |
| 62 | { | 62 | { |
| 63 | get => this.Fields[(int)WixDependencyProviderTupleFields.ProviderKey].AsString(); | 63 | get => this.Fields[(int)WixDependencyProviderSymbolFields.ProviderKey].AsString(); |
| 64 | set => this.Set((int)WixDependencyProviderTupleFields.ProviderKey, value); | 64 | set => this.Set((int)WixDependencyProviderSymbolFields.ProviderKey, value); |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | public string Version | 67 | public string Version |
| 68 | { | 68 | { |
| 69 | get => this.Fields[(int)WixDependencyProviderTupleFields.Version].AsString(); | 69 | get => this.Fields[(int)WixDependencyProviderSymbolFields.Version].AsString(); |
| 70 | set => this.Set((int)WixDependencyProviderTupleFields.Version, value); | 70 | set => this.Set((int)WixDependencyProviderSymbolFields.Version, value); |
| 71 | } | 71 | } |
| 72 | 72 | ||
| 73 | public string DisplayName | 73 | public string DisplayName |
| 74 | { | 74 | { |
| 75 | get => this.Fields[(int)WixDependencyProviderTupleFields.DisplayName].AsString(); | 75 | get => this.Fields[(int)WixDependencyProviderSymbolFields.DisplayName].AsString(); |
| 76 | set => this.Set((int)WixDependencyProviderTupleFields.DisplayName, value); | 76 | set => this.Set((int)WixDependencyProviderSymbolFields.DisplayName, value); |
| 77 | } | 77 | } |
| 78 | 78 | ||
| 79 | public WixDependencyProviderAttributes Attributes | 79 | public WixDependencyProviderAttributes Attributes |
| 80 | { | 80 | { |
| 81 | get => (WixDependencyProviderAttributes)(int)this.Fields[(int)WixDependencyProviderTupleFields.Attributes]; | 81 | get => (WixDependencyProviderAttributes)(int)this.Fields[(int)WixDependencyProviderSymbolFields.Attributes]; |
| 82 | set => this.Set((int)WixDependencyProviderTupleFields.Attributes, (int)value); | 82 | set => this.Set((int)WixDependencyProviderSymbolFields.Attributes, (int)value); |
| 83 | } | 83 | } |
| 84 | 84 | ||
| 85 | public bool Bundle => (this.Attributes & WixDependencyProviderAttributes.ProvidesAttributesBundle) == WixDependencyProviderAttributes.ProvidesAttributesBundle; | 85 | public bool Bundle => (this.Attributes & WixDependencyProviderAttributes.ProvidesAttributesBundle) == WixDependencyProviderAttributes.ProvidesAttributesBundle; |
diff --git a/src/WixToolset.Data/Tuples/WixEnsureTableTuple.cs b/src/WixToolset.Data/Tuples/WixEnsureTableTuple.cs index cd47c0fd..d13063b7 100644 --- a/src/WixToolset.Data/Tuples/WixEnsureTableTuple.cs +++ b/src/WixToolset.Data/Tuples/WixEnsureTableTuple.cs | |||
| @@ -2,43 +2,43 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixEnsureTable = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixEnsureTable = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixEnsureTable, | 10 | SymbolDefinitionType.WixEnsureTable, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixEnsureTableTupleFields.Table), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixEnsureTableSymbolFields.Table), IntermediateFieldType.String), |
| 14 | }, | 14 | }, |
| 15 | typeof(WixEnsureTableTuple)); | 15 | typeof(WixEnsureTableSymbol)); |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
| 20 | { | 20 | { |
| 21 | public enum WixEnsureTableTupleFields | 21 | public enum WixEnsureTableSymbolFields |
| 22 | { | 22 | { |
| 23 | Table, | 23 | Table, |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | public class WixEnsureTableTuple : IntermediateTuple | 26 | public class WixEnsureTableSymbol : IntermediateSymbol |
| 27 | { | 27 | { |
| 28 | public WixEnsureTableTuple() : base(TupleDefinitions.WixEnsureTable, null, null) | 28 | public WixEnsureTableSymbol() : base(SymbolDefinitions.WixEnsureTable, null, null) |
| 29 | { | 29 | { |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public WixEnsureTableTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixEnsureTable, sourceLineNumber, id) | 32 | public WixEnsureTableSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixEnsureTable, sourceLineNumber, id) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public IntermediateField this[WixEnsureTableTupleFields index] => this.Fields[(int)index]; | 36 | public IntermediateField this[WixEnsureTableSymbolFields index] => this.Fields[(int)index]; |
| 37 | 37 | ||
| 38 | public string Table | 38 | public string Table |
| 39 | { | 39 | { |
| 40 | get => (string)this.Fields[(int)WixEnsureTableTupleFields.Table]; | 40 | get => (string)this.Fields[(int)WixEnsureTableSymbolFields.Table]; |
| 41 | set => this.Set((int)WixEnsureTableTupleFields.Table, value); | 41 | set => this.Set((int)WixEnsureTableSymbolFields.Table, value); |
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | } \ No newline at end of file | 44 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixFeatureGroupTuple.cs b/src/WixToolset.Data/Tuples/WixFeatureGroupTuple.cs index 481bb193..ac002bb6 100644 --- a/src/WixToolset.Data/Tuples/WixFeatureGroupTuple.cs +++ b/src/WixToolset.Data/Tuples/WixFeatureGroupTuple.cs | |||
| @@ -2,35 +2,35 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixFeatureGroup = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixFeatureGroup = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixFeatureGroup, | 10 | SymbolDefinitionType.WixFeatureGroup, |
| 11 | new IntermediateFieldDefinition[] | 11 | new IntermediateFieldDefinition[] |
| 12 | { | 12 | { |
| 13 | }, | 13 | }, |
| 14 | typeof(WixFeatureGroupTuple)); | 14 | typeof(WixFeatureGroupSymbol)); |
| 15 | } | 15 | } |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | namespace WixToolset.Data.Tuples | 18 | namespace WixToolset.Data.Symbols |
| 19 | { | 19 | { |
| 20 | public enum WixFeatureGroupTupleFields | 20 | public enum WixFeatureGroupSymbolFields |
| 21 | { | 21 | { |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | public class WixFeatureGroupTuple : IntermediateTuple | 24 | public class WixFeatureGroupSymbol : IntermediateSymbol |
| 25 | { | 25 | { |
| 26 | public WixFeatureGroupTuple() : base(TupleDefinitions.WixFeatureGroup, null, null) | 26 | public WixFeatureGroupSymbol() : base(SymbolDefinitions.WixFeatureGroup, null, null) |
| 27 | { | 27 | { |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public WixFeatureGroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixFeatureGroup, sourceLineNumber, id) | 30 | public WixFeatureGroupSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixFeatureGroup, sourceLineNumber, id) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public IntermediateField this[WixFeatureGroupTupleFields index] => this.Fields[(int)index]; | 34 | public IntermediateField this[WixFeatureGroupSymbolFields index] => this.Fields[(int)index]; |
| 35 | } | 35 | } |
| 36 | } \ No newline at end of file | 36 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixFeatureModulesTuple.cs b/src/WixToolset.Data/Tuples/WixFeatureModulesTuple.cs index cce7d190..b8b3d4b9 100644 --- a/src/WixToolset.Data/Tuples/WixFeatureModulesTuple.cs +++ b/src/WixToolset.Data/Tuples/WixFeatureModulesTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixFeatureModules = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixFeatureModules = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixFeatureModules, | 10 | SymbolDefinitionType.WixFeatureModules, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixFeatureModulesTupleFields.FeatureRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixFeatureModulesSymbolFields.FeatureRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixFeatureModulesTupleFields.WixMergeRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixFeatureModulesSymbolFields.WixMergeRef), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(WixFeatureModulesTuple)); | 16 | typeof(WixFeatureModulesSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum WixFeatureModulesTupleFields | 22 | public enum WixFeatureModulesSymbolFields |
| 23 | { | 23 | { |
| 24 | FeatureRef, | 24 | FeatureRef, |
| 25 | WixMergeRef, | 25 | WixMergeRef, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class WixFeatureModulesTuple : IntermediateTuple | 28 | public class WixFeatureModulesSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public WixFeatureModulesTuple() : base(TupleDefinitions.WixFeatureModules, null, null) | 30 | public WixFeatureModulesSymbol() : base(SymbolDefinitions.WixFeatureModules, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public WixFeatureModulesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixFeatureModules, sourceLineNumber, id) | 34 | public WixFeatureModulesSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixFeatureModules, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[WixFeatureModulesTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[WixFeatureModulesSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string FeatureRef | 40 | public string FeatureRef |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)WixFeatureModulesTupleFields.FeatureRef]; | 42 | get => (string)this.Fields[(int)WixFeatureModulesSymbolFields.FeatureRef]; |
| 43 | set => this.Set((int)WixFeatureModulesTupleFields.FeatureRef, value); | 43 | set => this.Set((int)WixFeatureModulesSymbolFields.FeatureRef, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string WixMergeRef | 46 | public string WixMergeRef |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)WixFeatureModulesTupleFields.WixMergeRef]; | 48 | get => (string)this.Fields[(int)WixFeatureModulesSymbolFields.WixMergeRef]; |
| 49 | set => this.Set((int)WixFeatureModulesTupleFields.WixMergeRef, value); | 49 | set => this.Set((int)WixFeatureModulesSymbolFields.WixMergeRef, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs b/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs index 033aca21..027605c7 100644 --- a/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs +++ b/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs | |||
| @@ -2,33 +2,33 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixFileSearch = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixFileSearch = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixFileSearch, | 10 | SymbolDefinitionType.WixFileSearch, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.Path), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixFileSearchSymbolFields.Path), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.MinVersion), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixFileSearchSymbolFields.MinVersion), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.MaxVersion), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixFileSearchSymbolFields.MaxVersion), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.MinSize), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(WixFileSearchSymbolFields.MinSize), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.MaxSize), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(WixFileSearchSymbolFields.MaxSize), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.MinDate), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(WixFileSearchSymbolFields.MinDate), IntermediateFieldType.Number), |
| 19 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.MaxDate), IntermediateFieldType.Number), | 19 | new IntermediateFieldDefinition(nameof(WixFileSearchSymbolFields.MaxDate), IntermediateFieldType.Number), |
| 20 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.Languages), IntermediateFieldType.String), | 20 | new IntermediateFieldDefinition(nameof(WixFileSearchSymbolFields.Languages), IntermediateFieldType.String), |
| 21 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.Attributes), IntermediateFieldType.Number), | 21 | new IntermediateFieldDefinition(nameof(WixFileSearchSymbolFields.Attributes), IntermediateFieldType.Number), |
| 22 | }, | 22 | }, |
| 23 | typeof(WixFileSearchTuple)); | 23 | typeof(WixFileSearchSymbol)); |
| 24 | } | 24 | } |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | namespace WixToolset.Data.Tuples | 27 | namespace WixToolset.Data.Symbols |
| 28 | { | 28 | { |
| 29 | using System; | 29 | using System; |
| 30 | 30 | ||
| 31 | public enum WixFileSearchTupleFields | 31 | public enum WixFileSearchSymbolFields |
| 32 | { | 32 | { |
| 33 | Path, | 33 | Path, |
| 34 | MinVersion, | 34 | MinVersion, |
| @@ -56,70 +56,70 @@ namespace WixToolset.Data.Tuples | |||
| 56 | IsDirectory = 0x200, | 56 | IsDirectory = 0x200, |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | public class WixFileSearchTuple : IntermediateTuple | 59 | public class WixFileSearchSymbol : IntermediateSymbol |
| 60 | { | 60 | { |
| 61 | public WixFileSearchTuple() : base(TupleDefinitions.WixFileSearch, null, null) | 61 | public WixFileSearchSymbol() : base(SymbolDefinitions.WixFileSearch, null, null) |
| 62 | { | 62 | { |
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | public WixFileSearchTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixFileSearch, sourceLineNumber, id) | 65 | public WixFileSearchSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixFileSearch, sourceLineNumber, id) |
| 66 | { | 66 | { |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | public IntermediateField this[WixFileSearchTupleFields index] => this.Fields[(int)index]; | 69 | public IntermediateField this[WixFileSearchSymbolFields index] => this.Fields[(int)index]; |
| 70 | 70 | ||
| 71 | public string Path | 71 | public string Path |
| 72 | { | 72 | { |
| 73 | get => (string)this.Fields[(int)WixFileSearchTupleFields.Path]; | 73 | get => (string)this.Fields[(int)WixFileSearchSymbolFields.Path]; |
| 74 | set => this.Set((int)WixFileSearchTupleFields.Path, value); | 74 | set => this.Set((int)WixFileSearchSymbolFields.Path, value); |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | public string MinVersion | 77 | public string MinVersion |
| 78 | { | 78 | { |
| 79 | get => (string)this.Fields[(int)WixFileSearchTupleFields.MinVersion]; | 79 | get => (string)this.Fields[(int)WixFileSearchSymbolFields.MinVersion]; |
| 80 | set => this.Set((int)WixFileSearchTupleFields.MinVersion, value); | 80 | set => this.Set((int)WixFileSearchSymbolFields.MinVersion, value); |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | public string MaxVersion | 83 | public string MaxVersion |
| 84 | { | 84 | { |
| 85 | get => (string)this.Fields[(int)WixFileSearchTupleFields.MaxVersion]; | 85 | get => (string)this.Fields[(int)WixFileSearchSymbolFields.MaxVersion]; |
| 86 | set => this.Set((int)WixFileSearchTupleFields.MaxVersion, value); | 86 | set => this.Set((int)WixFileSearchSymbolFields.MaxVersion, value); |
| 87 | } | 87 | } |
| 88 | 88 | ||
| 89 | public int? MinSize | 89 | public int? MinSize |
| 90 | { | 90 | { |
| 91 | get => (int?)this.Fields[(int)WixFileSearchTupleFields.MinSize]; | 91 | get => (int?)this.Fields[(int)WixFileSearchSymbolFields.MinSize]; |
| 92 | set => this.Set((int)WixFileSearchTupleFields.MinSize, value); | 92 | set => this.Set((int)WixFileSearchSymbolFields.MinSize, value); |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | public int? MaxSize | 95 | public int? MaxSize |
| 96 | { | 96 | { |
| 97 | get => (int?)this.Fields[(int)WixFileSearchTupleFields.MaxSize]; | 97 | get => (int?)this.Fields[(int)WixFileSearchSymbolFields.MaxSize]; |
| 98 | set => this.Set((int)WixFileSearchTupleFields.MaxSize, value); | 98 | set => this.Set((int)WixFileSearchSymbolFields.MaxSize, value); |
| 99 | } | 99 | } |
| 100 | 100 | ||
| 101 | public int? MinDate | 101 | public int? MinDate |
| 102 | { | 102 | { |
| 103 | get => (int?)this.Fields[(int)WixFileSearchTupleFields.MinDate]; | 103 | get => (int?)this.Fields[(int)WixFileSearchSymbolFields.MinDate]; |
| 104 | set => this.Set((int)WixFileSearchTupleFields.MinDate, value); | 104 | set => this.Set((int)WixFileSearchSymbolFields.MinDate, value); |
| 105 | } | 105 | } |
| 106 | 106 | ||
| 107 | public int? MaxDate | 107 | public int? MaxDate |
| 108 | { | 108 | { |
| 109 | get => (int?)this.Fields[(int)WixFileSearchTupleFields.MaxDate]; | 109 | get => (int?)this.Fields[(int)WixFileSearchSymbolFields.MaxDate]; |
| 110 | set => this.Set((int)WixFileSearchTupleFields.MaxDate, value); | 110 | set => this.Set((int)WixFileSearchSymbolFields.MaxDate, value); |
| 111 | } | 111 | } |
| 112 | 112 | ||
| 113 | public string Languages | 113 | public string Languages |
| 114 | { | 114 | { |
| 115 | get => (string)this.Fields[(int)WixFileSearchTupleFields.Languages]; | 115 | get => (string)this.Fields[(int)WixFileSearchSymbolFields.Languages]; |
| 116 | set => this.Set((int)WixFileSearchTupleFields.Languages, value); | 116 | set => this.Set((int)WixFileSearchSymbolFields.Languages, value); |
| 117 | } | 117 | } |
| 118 | 118 | ||
| 119 | public WixFileSearchAttributes Attributes | 119 | public WixFileSearchAttributes Attributes |
| 120 | { | 120 | { |
| 121 | get => (WixFileSearchAttributes)this.Fields[(int)WixFileSearchTupleFields.Attributes].AsNumber(); | 121 | get => (WixFileSearchAttributes)this.Fields[(int)WixFileSearchSymbolFields.Attributes].AsNumber(); |
| 122 | set => this.Set((int)WixFileSearchTupleFields.Attributes, (int)value); | 122 | set => this.Set((int)WixFileSearchSymbolFields.Attributes, (int)value); |
| 123 | } | 123 | } |
| 124 | } | 124 | } |
| 125 | } | 125 | } |
diff --git a/src/WixToolset.Data/Tuples/WixFragmentTuple.cs b/src/WixToolset.Data/Tuples/WixFragmentTuple.cs index cda7534d..9c31b79c 100644 --- a/src/WixToolset.Data/Tuples/WixFragmentTuple.cs +++ b/src/WixToolset.Data/Tuples/WixFragmentTuple.cs | |||
| @@ -2,35 +2,35 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixFragment = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixFragment = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixFragment, | 10 | SymbolDefinitionType.WixFragment, |
| 11 | new IntermediateFieldDefinition[] | 11 | new IntermediateFieldDefinition[] |
| 12 | { | 12 | { |
| 13 | }, | 13 | }, |
| 14 | typeof(WixFragmentTuple)); | 14 | typeof(WixFragmentSymbol)); |
| 15 | } | 15 | } |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | namespace WixToolset.Data.Tuples | 18 | namespace WixToolset.Data.Symbols |
| 19 | { | 19 | { |
| 20 | public enum WixFragmentTupleFields | 20 | public enum WixFragmentSymbolFields |
| 21 | { | 21 | { |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | public class WixFragmentTuple : IntermediateTuple | 24 | public class WixFragmentSymbol : IntermediateSymbol |
| 25 | { | 25 | { |
| 26 | public WixFragmentTuple() : base(TupleDefinitions.WixFragment, null, null) | 26 | public WixFragmentSymbol() : base(SymbolDefinitions.WixFragment, null, null) |
| 27 | { | 27 | { |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public WixFragmentTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixFragment, sourceLineNumber, id) | 30 | public WixFragmentSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixFragment, sourceLineNumber, id) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public IntermediateField this[WixFragmentTupleFields index] => this.Fields[(int)index]; | 34 | public IntermediateField this[WixFragmentSymbolFields index] => this.Fields[(int)index]; |
| 35 | } | 35 | } |
| 36 | } \ No newline at end of file | 36 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixGroupTuple.cs b/src/WixToolset.Data/Tuples/WixGroupTuple.cs index f6487d55..b9720890 100644 --- a/src/WixToolset.Data/Tuples/WixGroupTuple.cs +++ b/src/WixToolset.Data/Tuples/WixGroupTuple.cs | |||
| @@ -2,28 +2,28 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixGroup = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixGroup = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixGroup, | 10 | SymbolDefinitionType.WixGroup, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixGroupTupleFields.ParentId), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixGroupSymbolFields.ParentId), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixGroupTupleFields.ParentType), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixGroupSymbolFields.ParentType), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixGroupTupleFields.ChildId), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixGroupSymbolFields.ChildId), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixGroupTupleFields.ChildType), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixGroupSymbolFields.ChildType), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(WixGroupTuple)); | 18 | typeof(WixGroupSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | using System; | 24 | using System; |
| 25 | 25 | ||
| 26 | public enum WixGroupTupleFields | 26 | public enum WixGroupSymbolFields |
| 27 | { | 27 | { |
| 28 | ParentId, | 28 | ParentId, |
| 29 | ParentType, | 29 | ParentType, |
| @@ -31,40 +31,40 @@ namespace WixToolset.Data.Tuples | |||
| 31 | ChildType, | 31 | ChildType, |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public class WixGroupTuple : IntermediateTuple | 34 | public class WixGroupSymbol : IntermediateSymbol |
| 35 | { | 35 | { |
| 36 | public WixGroupTuple() : base(TupleDefinitions.WixGroup, null, null) | 36 | public WixGroupSymbol() : base(SymbolDefinitions.WixGroup, null, null) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public WixGroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixGroup, sourceLineNumber, id) | 40 | public WixGroupSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixGroup, sourceLineNumber, id) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public IntermediateField this[WixGroupTupleFields index] => this.Fields[(int)index]; | 44 | public IntermediateField this[WixGroupSymbolFields index] => this.Fields[(int)index]; |
| 45 | 45 | ||
| 46 | public string ParentId | 46 | public string ParentId |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)WixGroupTupleFields.ParentId]; | 48 | get => (string)this.Fields[(int)WixGroupSymbolFields.ParentId]; |
| 49 | set => this.Set((int)WixGroupTupleFields.ParentId, value); | 49 | set => this.Set((int)WixGroupSymbolFields.ParentId, value); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | public ComplexReferenceParentType ParentType | 52 | public ComplexReferenceParentType ParentType |
| 53 | { | 53 | { |
| 54 | get => (ComplexReferenceParentType)Enum.Parse(typeof(ComplexReferenceParentType), (string)this.Fields[(int)WixGroupTupleFields.ParentType], true); | 54 | get => (ComplexReferenceParentType)Enum.Parse(typeof(ComplexReferenceParentType), (string)this.Fields[(int)WixGroupSymbolFields.ParentType], true); |
| 55 | set => this.Set((int)WixGroupTupleFields.ParentType, value.ToString()); | 55 | set => this.Set((int)WixGroupSymbolFields.ParentType, value.ToString()); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public string ChildId | 58 | public string ChildId |
| 59 | { | 59 | { |
| 60 | get => (string)this.Fields[(int)WixGroupTupleFields.ChildId]; | 60 | get => (string)this.Fields[(int)WixGroupSymbolFields.ChildId]; |
| 61 | set => this.Set((int)WixGroupTupleFields.ChildId, value); | 61 | set => this.Set((int)WixGroupSymbolFields.ChildId, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public ComplexReferenceChildType ChildType | 64 | public ComplexReferenceChildType ChildType |
| 65 | { | 65 | { |
| 66 | get => (ComplexReferenceChildType)Enum.Parse(typeof(ComplexReferenceChildType), (string)this.Fields[(int)WixGroupTupleFields.ChildType], true); | 66 | get => (ComplexReferenceChildType)Enum.Parse(typeof(ComplexReferenceChildType), (string)this.Fields[(int)WixGroupSymbolFields.ChildType], true); |
| 67 | set => this.Set((int)WixGroupTupleFields.ChildType, value.ToString()); | 67 | set => this.Set((int)WixGroupSymbolFields.ChildType, value.ToString()); |
| 68 | } | 68 | } |
| 69 | } | 69 | } |
| 70 | } \ No newline at end of file | 70 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixInstanceComponentTuple.cs b/src/WixToolset.Data/Tuples/WixInstanceComponentTuple.cs index c7530abf..c9e4470c 100644 --- a/src/WixToolset.Data/Tuples/WixInstanceComponentTuple.cs +++ b/src/WixToolset.Data/Tuples/WixInstanceComponentTuple.cs | |||
| @@ -2,43 +2,43 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixInstanceComponent = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixInstanceComponent = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixInstanceComponent, | 10 | SymbolDefinitionType.WixInstanceComponent, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixInstanceComponentTupleFields.ComponentRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixInstanceComponentSymbolFields.ComponentRef), IntermediateFieldType.String), |
| 14 | }, | 14 | }, |
| 15 | typeof(WixInstanceComponentTuple)); | 15 | typeof(WixInstanceComponentSymbol)); |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
| 20 | { | 20 | { |
| 21 | public enum WixInstanceComponentTupleFields | 21 | public enum WixInstanceComponentSymbolFields |
| 22 | { | 22 | { |
| 23 | ComponentRef, | 23 | ComponentRef, |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | public class WixInstanceComponentTuple : IntermediateTuple | 26 | public class WixInstanceComponentSymbol : IntermediateSymbol |
| 27 | { | 27 | { |
| 28 | public WixInstanceComponentTuple() : base(TupleDefinitions.WixInstanceComponent, null, null) | 28 | public WixInstanceComponentSymbol() : base(SymbolDefinitions.WixInstanceComponent, null, null) |
| 29 | { | 29 | { |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public WixInstanceComponentTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixInstanceComponent, sourceLineNumber, id) | 32 | public WixInstanceComponentSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixInstanceComponent, sourceLineNumber, id) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public IntermediateField this[WixInstanceComponentTupleFields index] => this.Fields[(int)index]; | 36 | public IntermediateField this[WixInstanceComponentSymbolFields index] => this.Fields[(int)index]; |
| 37 | 37 | ||
| 38 | public string ComponentRef | 38 | public string ComponentRef |
| 39 | { | 39 | { |
| 40 | get => (string)this.Fields[(int)WixInstanceComponentTupleFields.ComponentRef]; | 40 | get => (string)this.Fields[(int)WixInstanceComponentSymbolFields.ComponentRef]; |
| 41 | set => this.Set((int)WixInstanceComponentTupleFields.ComponentRef, value); | 41 | set => this.Set((int)WixInstanceComponentSymbolFields.ComponentRef, value); |
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | } \ No newline at end of file | 44 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixInstanceTransformsTuple.cs b/src/WixToolset.Data/Tuples/WixInstanceTransformsTuple.cs index efcaa7b9..3a58cb31 100644 --- a/src/WixToolset.Data/Tuples/WixInstanceTransformsTuple.cs +++ b/src/WixToolset.Data/Tuples/WixInstanceTransformsTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixInstanceTransforms = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixInstanceTransforms = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixInstanceTransforms, | 10 | SymbolDefinitionType.WixInstanceTransforms, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixInstanceTransformsTupleFields.PropertyId), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixInstanceTransformsSymbolFields.PropertyId), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixInstanceTransformsTupleFields.ProductCode), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixInstanceTransformsSymbolFields.ProductCode), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixInstanceTransformsTupleFields.ProductName), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixInstanceTransformsSymbolFields.ProductName), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixInstanceTransformsTupleFields.UpgradeCode), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixInstanceTransformsSymbolFields.UpgradeCode), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(WixInstanceTransformsTuple)); | 18 | typeof(WixInstanceTransformsSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum WixInstanceTransformsTupleFields | 24 | public enum WixInstanceTransformsSymbolFields |
| 25 | { | 25 | { |
| 26 | PropertyId, | 26 | PropertyId, |
| 27 | ProductCode, | 27 | ProductCode, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | UpgradeCode, | 29 | UpgradeCode, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class WixInstanceTransformsTuple : IntermediateTuple | 32 | public class WixInstanceTransformsSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public WixInstanceTransformsTuple() : base(TupleDefinitions.WixInstanceTransforms, null, null) | 34 | public WixInstanceTransformsSymbol() : base(SymbolDefinitions.WixInstanceTransforms, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public WixInstanceTransformsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixInstanceTransforms, sourceLineNumber, id) | 38 | public WixInstanceTransformsSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixInstanceTransforms, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[WixInstanceTransformsTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[WixInstanceTransformsSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string PropertyId | 44 | public string PropertyId |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.PropertyId]; | 46 | get => (string)this.Fields[(int)WixInstanceTransformsSymbolFields.PropertyId]; |
| 47 | set => this.Set((int)WixInstanceTransformsTupleFields.PropertyId, value); | 47 | set => this.Set((int)WixInstanceTransformsSymbolFields.PropertyId, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string ProductCode | 50 | public string ProductCode |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.ProductCode]; | 52 | get => (string)this.Fields[(int)WixInstanceTransformsSymbolFields.ProductCode]; |
| 53 | set => this.Set((int)WixInstanceTransformsTupleFields.ProductCode, value); | 53 | set => this.Set((int)WixInstanceTransformsSymbolFields.ProductCode, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string ProductName | 56 | public string ProductName |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.ProductName]; | 58 | get => (string)this.Fields[(int)WixInstanceTransformsSymbolFields.ProductName]; |
| 59 | set => this.Set((int)WixInstanceTransformsTupleFields.ProductName, value); | 59 | set => this.Set((int)WixInstanceTransformsSymbolFields.ProductName, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string UpgradeCode | 62 | public string UpgradeCode |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.UpgradeCode]; | 64 | get => (string)this.Fields[(int)WixInstanceTransformsSymbolFields.UpgradeCode]; |
| 65 | set => this.Set((int)WixInstanceTransformsTupleFields.UpgradeCode, value); | 65 | set => this.Set((int)WixInstanceTransformsSymbolFields.UpgradeCode, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } | 68 | } |
diff --git a/src/WixToolset.Data/Tuples/WixMediaTemplateTuple.cs b/src/WixToolset.Data/Tuples/WixMediaTemplateTuple.cs index c0cc13ac..28695b3e 100644 --- a/src/WixToolset.Data/Tuples/WixMediaTemplateTuple.cs +++ b/src/WixToolset.Data/Tuples/WixMediaTemplateTuple.cs | |||
| @@ -2,30 +2,30 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixMediaTemplate = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixMediaTemplate = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixMediaTemplate, | 10 | SymbolDefinitionType.WixMediaTemplate, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixMediaTemplateTupleFields.CabinetTemplate), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixMediaTemplateSymbolFields.CabinetTemplate), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixMediaTemplateTupleFields.CompressionLevel), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(WixMediaTemplateSymbolFields.CompressionLevel), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(WixMediaTemplateTupleFields.DiskPrompt), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixMediaTemplateSymbolFields.DiskPrompt), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixMediaTemplateTupleFields.VolumeLabel), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixMediaTemplateSymbolFields.VolumeLabel), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(WixMediaTemplateTupleFields.MaximumUncompressedMediaSize), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(WixMediaTemplateSymbolFields.MaximumUncompressedMediaSize), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(WixMediaTemplateTupleFields.MaximumCabinetSizeForLargeFileSplitting), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(WixMediaTemplateSymbolFields.MaximumCabinetSizeForLargeFileSplitting), IntermediateFieldType.Number), |
| 19 | }, | 19 | }, |
| 20 | typeof(WixMediaTemplateTuple)); | 20 | typeof(WixMediaTemplateSymbol)); |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | namespace WixToolset.Data.Tuples | 24 | namespace WixToolset.Data.Symbols |
| 25 | { | 25 | { |
| 26 | using System; | 26 | using System; |
| 27 | 27 | ||
| 28 | public enum WixMediaTemplateTupleFields | 28 | public enum WixMediaTemplateSymbolFields |
| 29 | { | 29 | { |
| 30 | CabinetTemplate, | 30 | CabinetTemplate, |
| 31 | CompressionLevel, | 31 | CompressionLevel, |
| @@ -35,52 +35,52 @@ namespace WixToolset.Data.Tuples | |||
| 35 | MaximumCabinetSizeForLargeFileSplitting, | 35 | MaximumCabinetSizeForLargeFileSplitting, |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public class WixMediaTemplateTuple : IntermediateTuple | 38 | public class WixMediaTemplateSymbol : IntermediateSymbol |
| 39 | { | 39 | { |
| 40 | public WixMediaTemplateTuple() : base(TupleDefinitions.WixMediaTemplate, null, null) | 40 | public WixMediaTemplateSymbol() : base(SymbolDefinitions.WixMediaTemplate, null, null) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public WixMediaTemplateTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixMediaTemplate, sourceLineNumber, id) | 44 | public WixMediaTemplateSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixMediaTemplate, sourceLineNumber, id) |
| 45 | { | 45 | { |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public IntermediateField this[WixMediaTemplateTupleFields index] => this.Fields[(int)index]; | 48 | public IntermediateField this[WixMediaTemplateSymbolFields index] => this.Fields[(int)index]; |
| 49 | 49 | ||
| 50 | public string CabinetTemplate | 50 | public string CabinetTemplate |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)WixMediaTemplateTupleFields.CabinetTemplate]; | 52 | get => (string)this.Fields[(int)WixMediaTemplateSymbolFields.CabinetTemplate]; |
| 53 | set => this.Set((int)WixMediaTemplateTupleFields.CabinetTemplate, value); | 53 | set => this.Set((int)WixMediaTemplateSymbolFields.CabinetTemplate, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public CompressionLevel? CompressionLevel | 56 | public CompressionLevel? CompressionLevel |
| 57 | { | 57 | { |
| 58 | get => (CompressionLevel?)this.Fields[(int)WixMediaTemplateTupleFields.CompressionLevel].AsNullableNumber(); | 58 | get => (CompressionLevel?)this.Fields[(int)WixMediaTemplateSymbolFields.CompressionLevel].AsNullableNumber(); |
| 59 | set => this.Set((int)WixMediaTemplateTupleFields.CompressionLevel, (int?)value); | 59 | set => this.Set((int)WixMediaTemplateSymbolFields.CompressionLevel, (int?)value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string DiskPrompt | 62 | public string DiskPrompt |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)WixMediaTemplateTupleFields.DiskPrompt]; | 64 | get => (string)this.Fields[(int)WixMediaTemplateSymbolFields.DiskPrompt]; |
| 65 | set => this.Set((int)WixMediaTemplateTupleFields.DiskPrompt, value); | 65 | set => this.Set((int)WixMediaTemplateSymbolFields.DiskPrompt, value); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public string VolumeLabel | 68 | public string VolumeLabel |
| 69 | { | 69 | { |
| 70 | get => (string)this.Fields[(int)WixMediaTemplateTupleFields.VolumeLabel]; | 70 | get => (string)this.Fields[(int)WixMediaTemplateSymbolFields.VolumeLabel]; |
| 71 | set => this.Set((int)WixMediaTemplateTupleFields.VolumeLabel, value); | 71 | set => this.Set((int)WixMediaTemplateSymbolFields.VolumeLabel, value); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public int? MaximumUncompressedMediaSize | 74 | public int? MaximumUncompressedMediaSize |
| 75 | { | 75 | { |
| 76 | get => (int?)this.Fields[(int)WixMediaTemplateTupleFields.MaximumUncompressedMediaSize]; | 76 | get => (int?)this.Fields[(int)WixMediaTemplateSymbolFields.MaximumUncompressedMediaSize]; |
| 77 | set => this.Set((int)WixMediaTemplateTupleFields.MaximumUncompressedMediaSize, value); | 77 | set => this.Set((int)WixMediaTemplateSymbolFields.MaximumUncompressedMediaSize, value); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public int? MaximumCabinetSizeForLargeFileSplitting | 80 | public int? MaximumCabinetSizeForLargeFileSplitting |
| 81 | { | 81 | { |
| 82 | get => (int?)this.Fields[(int)WixMediaTemplateTupleFields.MaximumCabinetSizeForLargeFileSplitting]; | 82 | get => (int?)this.Fields[(int)WixMediaTemplateSymbolFields.MaximumCabinetSizeForLargeFileSplitting]; |
| 83 | set => this.Set((int)WixMediaTemplateTupleFields.MaximumCabinetSizeForLargeFileSplitting, value); | 83 | set => this.Set((int)WixMediaTemplateSymbolFields.MaximumCabinetSizeForLargeFileSplitting, value); |
| 84 | } | 84 | } |
| 85 | } | 85 | } |
| 86 | } \ No newline at end of file | 86 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixMergeTuple.cs b/src/WixToolset.Data/Tuples/WixMergeTuple.cs index daa0649f..d066fa8e 100644 --- a/src/WixToolset.Data/Tuples/WixMergeTuple.cs +++ b/src/WixToolset.Data/Tuples/WixMergeTuple.cs | |||
| @@ -2,29 +2,29 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixMerge = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixMerge = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixMerge, | 10 | SymbolDefinitionType.WixMerge, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixMergeTupleFields.Language), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(WixMergeSymbolFields.Language), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(WixMergeTupleFields.DirectoryRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixMergeSymbolFields.DirectoryRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixMergeTupleFields.SourceFile), IntermediateFieldType.Path), | 15 | new IntermediateFieldDefinition(nameof(WixMergeSymbolFields.SourceFile), IntermediateFieldType.Path), |
| 16 | new IntermediateFieldDefinition(nameof(WixMergeTupleFields.DiskId), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(WixMergeSymbolFields.DiskId), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(WixMergeTupleFields.FileAttributes), IntermediateFieldType.Number), | 17 | new IntermediateFieldDefinition(nameof(WixMergeSymbolFields.FileAttributes), IntermediateFieldType.Number), |
| 18 | new IntermediateFieldDefinition(nameof(WixMergeTupleFields.ConfigurationData), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(WixMergeSymbolFields.ConfigurationData), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(WixMergeTupleFields.FeatureRef), IntermediateFieldType.String), | 19 | new IntermediateFieldDefinition(nameof(WixMergeSymbolFields.FeatureRef), IntermediateFieldType.String), |
| 20 | }, | 20 | }, |
| 21 | typeof(WixMergeTuple)); | 21 | typeof(WixMergeSymbol)); |
| 22 | } | 22 | } |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | namespace WixToolset.Data.Tuples | 25 | namespace WixToolset.Data.Symbols |
| 26 | { | 26 | { |
| 27 | public enum WixMergeTupleFields | 27 | public enum WixMergeSymbolFields |
| 28 | { | 28 | { |
| 29 | Language, | 29 | Language, |
| 30 | DirectoryRef, | 30 | DirectoryRef, |
| @@ -35,58 +35,58 @@ namespace WixToolset.Data.Tuples | |||
| 35 | FeatureRef, | 35 | FeatureRef, |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public class WixMergeTuple : IntermediateTuple | 38 | public class WixMergeSymbol : IntermediateSymbol |
| 39 | { | 39 | { |
| 40 | public WixMergeTuple() : base(TupleDefinitions.WixMerge, null, null) | 40 | public WixMergeSymbol() : base(SymbolDefinitions.WixMerge, null, null) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public WixMergeTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixMerge, sourceLineNumber, id) | 44 | public WixMergeSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixMerge, sourceLineNumber, id) |
| 45 | { | 45 | { |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public IntermediateField this[WixMergeTupleFields index] => this.Fields[(int)index]; | 48 | public IntermediateField this[WixMergeSymbolFields index] => this.Fields[(int)index]; |
| 49 | 49 | ||
| 50 | public int Language | 50 | public int Language |
| 51 | { | 51 | { |
| 52 | get => (int)this.Fields[(int)WixMergeTupleFields.Language]; | 52 | get => (int)this.Fields[(int)WixMergeSymbolFields.Language]; |
| 53 | set => this.Set((int)WixMergeTupleFields.Language, value); | 53 | set => this.Set((int)WixMergeSymbolFields.Language, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public string DirectoryRef | 56 | public string DirectoryRef |
| 57 | { | 57 | { |
| 58 | get => (string)this.Fields[(int)WixMergeTupleFields.DirectoryRef]; | 58 | get => (string)this.Fields[(int)WixMergeSymbolFields.DirectoryRef]; |
| 59 | set => this.Set((int)WixMergeTupleFields.DirectoryRef, value); | 59 | set => this.Set((int)WixMergeSymbolFields.DirectoryRef, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string SourceFile | 62 | public string SourceFile |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)WixMergeTupleFields.SourceFile]; | 64 | get => (string)this.Fields[(int)WixMergeSymbolFields.SourceFile]; |
| 65 | set => this.Set((int)WixMergeTupleFields.SourceFile, value); | 65 | set => this.Set((int)WixMergeSymbolFields.SourceFile, value); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public int DiskId | 68 | public int DiskId |
| 69 | { | 69 | { |
| 70 | get => (int)this.Fields[(int)WixMergeTupleFields.DiskId]; | 70 | get => (int)this.Fields[(int)WixMergeSymbolFields.DiskId]; |
| 71 | set => this.Set((int)WixMergeTupleFields.DiskId, value); | 71 | set => this.Set((int)WixMergeSymbolFields.DiskId, value); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | public FileTupleAttributes FileAttributes | 74 | public FileSymbolAttributes FileAttributes |
| 75 | { | 75 | { |
| 76 | get => (FileTupleAttributes)this.Fields[(int)WixMergeTupleFields.FileAttributes].AsNumber(); | 76 | get => (FileSymbolAttributes)this.Fields[(int)WixMergeSymbolFields.FileAttributes].AsNumber(); |
| 77 | set => this.Set((int)WixMergeTupleFields.FileAttributes, (int)value); | 77 | set => this.Set((int)WixMergeSymbolFields.FileAttributes, (int)value); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public string ConfigurationData | 80 | public string ConfigurationData |
| 81 | { | 81 | { |
| 82 | get => (string)this.Fields[(int)WixMergeTupleFields.ConfigurationData]; | 82 | get => (string)this.Fields[(int)WixMergeSymbolFields.ConfigurationData]; |
| 83 | set => this.Set((int)WixMergeTupleFields.ConfigurationData, value); | 83 | set => this.Set((int)WixMergeSymbolFields.ConfigurationData, value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public string FeatureRef | 86 | public string FeatureRef |
| 87 | { | 87 | { |
| 88 | get => (string)this.Fields[(int)WixMergeTupleFields.FeatureRef]; | 88 | get => (string)this.Fields[(int)WixMergeSymbolFields.FeatureRef]; |
| 89 | set => this.Set((int)WixMergeTupleFields.FeatureRef, value); | 89 | set => this.Set((int)WixMergeSymbolFields.FeatureRef, value); |
| 90 | } | 90 | } |
| 91 | } | 91 | } |
| 92 | } | 92 | } |
diff --git a/src/WixToolset.Data/Tuples/WixOrderingTuple.cs b/src/WixToolset.Data/Tuples/WixOrderingTuple.cs index 8d9df513..5e6dc980 100644 --- a/src/WixToolset.Data/Tuples/WixOrderingTuple.cs +++ b/src/WixToolset.Data/Tuples/WixOrderingTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixOrdering = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixOrdering = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixOrdering, | 10 | SymbolDefinitionType.WixOrdering, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixOrderingTupleFields.ItemType), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixOrderingSymbolFields.ItemType), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixOrderingTupleFields.ItemIdRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixOrderingSymbolFields.ItemIdRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixOrderingTupleFields.DependsOnType), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixOrderingSymbolFields.DependsOnType), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixOrderingTupleFields.DependsOnIdRef), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixOrderingSymbolFields.DependsOnIdRef), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(WixOrderingTuple)); | 18 | typeof(WixOrderingSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum WixOrderingTupleFields | 24 | public enum WixOrderingSymbolFields |
| 25 | { | 25 | { |
| 26 | ItemType, | 26 | ItemType, |
| 27 | ItemIdRef, | 27 | ItemIdRef, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | DependsOnIdRef, | 29 | DependsOnIdRef, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class WixOrderingTuple : IntermediateTuple | 32 | public class WixOrderingSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public WixOrderingTuple() : base(TupleDefinitions.WixOrdering, null, null) | 34 | public WixOrderingSymbol() : base(SymbolDefinitions.WixOrdering, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public WixOrderingTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixOrdering, sourceLineNumber, id) | 38 | public WixOrderingSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixOrdering, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[WixOrderingTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[WixOrderingSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public ComplexReferenceChildType ItemType | 44 | public ComplexReferenceChildType ItemType |
| 45 | { | 45 | { |
| 46 | get => (ComplexReferenceChildType)this.Fields[(int)WixOrderingTupleFields.ItemType].AsNumber(); | 46 | get => (ComplexReferenceChildType)this.Fields[(int)WixOrderingSymbolFields.ItemType].AsNumber(); |
| 47 | set => this.Set((int)WixOrderingTupleFields.ItemType, (int)value); | 47 | set => this.Set((int)WixOrderingSymbolFields.ItemType, (int)value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string ItemIdRef | 50 | public string ItemIdRef |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)WixOrderingTupleFields.ItemIdRef]; | 52 | get => (string)this.Fields[(int)WixOrderingSymbolFields.ItemIdRef]; |
| 53 | set => this.Set((int)WixOrderingTupleFields.ItemIdRef, value); | 53 | set => this.Set((int)WixOrderingSymbolFields.ItemIdRef, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public ComplexReferenceChildType DependsOnType | 56 | public ComplexReferenceChildType DependsOnType |
| 57 | { | 57 | { |
| 58 | get => (ComplexReferenceChildType)this.Fields[(int)WixOrderingTupleFields.DependsOnType].AsNumber(); | 58 | get => (ComplexReferenceChildType)this.Fields[(int)WixOrderingSymbolFields.DependsOnType].AsNumber(); |
| 59 | set => this.Set((int)WixOrderingTupleFields.DependsOnType, (int)value); | 59 | set => this.Set((int)WixOrderingSymbolFields.DependsOnType, (int)value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public string DependsOnIdRef | 62 | public string DependsOnIdRef |
| 63 | { | 63 | { |
| 64 | get => (string)this.Fields[(int)WixOrderingTupleFields.DependsOnIdRef]; | 64 | get => (string)this.Fields[(int)WixOrderingSymbolFields.DependsOnIdRef]; |
| 65 | set => this.Set((int)WixOrderingTupleFields.DependsOnIdRef, value); | 65 | set => this.Set((int)WixOrderingSymbolFields.DependsOnIdRef, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixPatchBaselineTuple.cs b/src/WixToolset.Data/Tuples/WixPatchBaselineTuple.cs index 7358e66e..d7295424 100644 --- a/src/WixToolset.Data/Tuples/WixPatchBaselineTuple.cs +++ b/src/WixToolset.Data/Tuples/WixPatchBaselineTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixPatchBaseline = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixPatchBaseline = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixPatchBaseline, | 10 | SymbolDefinitionType.WixPatchBaseline, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixPatchBaselineTupleFields.DiskId), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(WixPatchBaselineSymbolFields.DiskId), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(WixPatchBaselineTupleFields.ValidationFlags), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(WixPatchBaselineSymbolFields.ValidationFlags), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(WixPatchBaselineTupleFields.BaselineFile), IntermediateFieldType.Path), | 15 | new IntermediateFieldDefinition(nameof(WixPatchBaselineSymbolFields.BaselineFile), IntermediateFieldType.Path), |
| 16 | new IntermediateFieldDefinition(nameof(WixPatchBaselineTupleFields.UpdateFile), IntermediateFieldType.Path), | 16 | new IntermediateFieldDefinition(nameof(WixPatchBaselineSymbolFields.UpdateFile), IntermediateFieldType.Path), |
| 17 | new IntermediateFieldDefinition(nameof(WixPatchBaselineTupleFields.TransformFile), IntermediateFieldType.Path), | 17 | new IntermediateFieldDefinition(nameof(WixPatchBaselineSymbolFields.TransformFile), IntermediateFieldType.Path), |
| 18 | }, | 18 | }, |
| 19 | typeof(WixPatchBaselineTuple)); | 19 | typeof(WixPatchBaselineSymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | public enum WixPatchBaselineTupleFields | 25 | public enum WixPatchBaselineSymbolFields |
| 26 | { | 26 | { |
| 27 | DiskId, | 27 | DiskId, |
| 28 | ValidationFlags, | 28 | ValidationFlags, |
| @@ -31,46 +31,46 @@ namespace WixToolset.Data.Tuples | |||
| 31 | TransformFile, | 31 | TransformFile, |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public class WixPatchBaselineTuple : IntermediateTuple | 34 | public class WixPatchBaselineSymbol : IntermediateSymbol |
| 35 | { | 35 | { |
| 36 | public WixPatchBaselineTuple() : base(TupleDefinitions.WixPatchBaseline, null, null) | 36 | public WixPatchBaselineSymbol() : base(SymbolDefinitions.WixPatchBaseline, null, null) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public WixPatchBaselineTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPatchBaseline, sourceLineNumber, id) | 40 | public WixPatchBaselineSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixPatchBaseline, sourceLineNumber, id) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public IntermediateField this[WixPatchBaselineTupleFields index] => this.Fields[(int)index]; | 44 | public IntermediateField this[WixPatchBaselineSymbolFields index] => this.Fields[(int)index]; |
| 45 | 45 | ||
| 46 | public int DiskId | 46 | public int DiskId |
| 47 | { | 47 | { |
| 48 | get => (int)this.Fields[(int)WixPatchBaselineTupleFields.DiskId]; | 48 | get => (int)this.Fields[(int)WixPatchBaselineSymbolFields.DiskId]; |
| 49 | set => this.Set((int)WixPatchBaselineTupleFields.DiskId, value); | 49 | set => this.Set((int)WixPatchBaselineSymbolFields.DiskId, value); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | public TransformFlags ValidationFlags | 52 | public TransformFlags ValidationFlags |
| 53 | { | 53 | { |
| 54 | get => (TransformFlags)this.Fields[(int)WixPatchBaselineTupleFields.ValidationFlags].AsNumber(); | 54 | get => (TransformFlags)this.Fields[(int)WixPatchBaselineSymbolFields.ValidationFlags].AsNumber(); |
| 55 | set => this.Set((int)WixPatchBaselineTupleFields.ValidationFlags, (int)value); | 55 | set => this.Set((int)WixPatchBaselineSymbolFields.ValidationFlags, (int)value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public IntermediateFieldPathValue BaselineFile | 58 | public IntermediateFieldPathValue BaselineFile |
| 59 | { | 59 | { |
| 60 | get => this.Fields[(int)WixPatchBaselineTupleFields.BaselineFile].AsPath(); | 60 | get => this.Fields[(int)WixPatchBaselineSymbolFields.BaselineFile].AsPath(); |
| 61 | set => this.Set((int)WixPatchBaselineTupleFields.BaselineFile, value); | 61 | set => this.Set((int)WixPatchBaselineSymbolFields.BaselineFile, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public IntermediateFieldPathValue UpdateFile | 64 | public IntermediateFieldPathValue UpdateFile |
| 65 | { | 65 | { |
| 66 | get => this.Fields[(int)WixPatchBaselineTupleFields.UpdateFile].AsPath(); | 66 | get => this.Fields[(int)WixPatchBaselineSymbolFields.UpdateFile].AsPath(); |
| 67 | set => this.Set((int)WixPatchBaselineTupleFields.UpdateFile, value); | 67 | set => this.Set((int)WixPatchBaselineSymbolFields.UpdateFile, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public IntermediateFieldPathValue TransformFile | 70 | public IntermediateFieldPathValue TransformFile |
| 71 | { | 71 | { |
| 72 | get => this.Fields[(int)WixPatchBaselineTupleFields.TransformFile].AsPath(); | 72 | get => this.Fields[(int)WixPatchBaselineSymbolFields.TransformFile].AsPath(); |
| 73 | set => this.Set((int)WixPatchBaselineTupleFields.TransformFile, value); | 73 | set => this.Set((int)WixPatchBaselineSymbolFields.TransformFile, value); |
| 74 | } | 74 | } |
| 75 | } | 75 | } |
| 76 | } | 76 | } |
diff --git a/src/WixToolset.Data/Tuples/WixPatchFamilyGroupTuple.cs b/src/WixToolset.Data/Tuples/WixPatchFamilyGroupTuple.cs index d6df55bd..3ab34f1f 100644 --- a/src/WixToolset.Data/Tuples/WixPatchFamilyGroupTuple.cs +++ b/src/WixToolset.Data/Tuples/WixPatchFamilyGroupTuple.cs | |||
| @@ -2,43 +2,43 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixPatchFamilyGroup = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixPatchFamilyGroup = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixPatchFamilyGroup, | 10 | SymbolDefinitionType.WixPatchFamilyGroup, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixPatchFamilyGroupTupleFields.WixPatchFamilyGroup), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixPatchFamilyGroupSymbolFields.WixPatchFamilyGroup), IntermediateFieldType.String), |
| 14 | }, | 14 | }, |
| 15 | typeof(WixPatchFamilyGroupTuple)); | 15 | typeof(WixPatchFamilyGroupSymbol)); |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
| 20 | { | 20 | { |
| 21 | public enum WixPatchFamilyGroupTupleFields | 21 | public enum WixPatchFamilyGroupSymbolFields |
| 22 | { | 22 | { |
| 23 | WixPatchFamilyGroup, | 23 | WixPatchFamilyGroup, |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | public class WixPatchFamilyGroupTuple : IntermediateTuple | 26 | public class WixPatchFamilyGroupSymbol : IntermediateSymbol |
| 27 | { | 27 | { |
| 28 | public WixPatchFamilyGroupTuple() : base(TupleDefinitions.WixPatchFamilyGroup, null, null) | 28 | public WixPatchFamilyGroupSymbol() : base(SymbolDefinitions.WixPatchFamilyGroup, null, null) |
| 29 | { | 29 | { |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public WixPatchFamilyGroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPatchFamilyGroup, sourceLineNumber, id) | 32 | public WixPatchFamilyGroupSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixPatchFamilyGroup, sourceLineNumber, id) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public IntermediateField this[WixPatchFamilyGroupTupleFields index] => this.Fields[(int)index]; | 36 | public IntermediateField this[WixPatchFamilyGroupSymbolFields index] => this.Fields[(int)index]; |
| 37 | 37 | ||
| 38 | public string WixPatchFamilyGroup | 38 | public string WixPatchFamilyGroup |
| 39 | { | 39 | { |
| 40 | get => (string)this.Fields[(int)WixPatchFamilyGroupTupleFields.WixPatchFamilyGroup]; | 40 | get => (string)this.Fields[(int)WixPatchFamilyGroupSymbolFields.WixPatchFamilyGroup]; |
| 41 | set => this.Set((int)WixPatchFamilyGroupTupleFields.WixPatchFamilyGroup, value); | 41 | set => this.Set((int)WixPatchFamilyGroupSymbolFields.WixPatchFamilyGroup, value); |
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | } \ No newline at end of file | 44 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixPatchIdTuple.cs b/src/WixToolset.Data/Tuples/WixPatchIdTuple.cs index 6e6fb2ae..c4f4324d 100644 --- a/src/WixToolset.Data/Tuples/WixPatchIdTuple.cs +++ b/src/WixToolset.Data/Tuples/WixPatchIdTuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixPatchId = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixPatchId = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixPatchId, | 10 | SymbolDefinitionType.WixPatchId, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixPatchIdTupleFields.ClientPatchId), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixPatchIdSymbolFields.ClientPatchId), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixPatchIdTupleFields.OptimizePatchSizeForLargeFiles), IntermediateFieldType.Bool), | 14 | new IntermediateFieldDefinition(nameof(WixPatchIdSymbolFields.OptimizePatchSizeForLargeFiles), IntermediateFieldType.Bool), |
| 15 | new IntermediateFieldDefinition(nameof(WixPatchIdTupleFields.ApiPatchingSymbolFlags), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(WixPatchIdSymbolFields.ApiPatchingSymbolFlags), IntermediateFieldType.Number), |
| 16 | }, | 16 | }, |
| 17 | typeof(WixPatchIdTuple)); | 17 | typeof(WixPatchIdSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum WixPatchIdTupleFields | 23 | public enum WixPatchIdSymbolFields |
| 24 | { | 24 | { |
| 25 | ClientPatchId, | 25 | ClientPatchId, |
| 26 | OptimizePatchSizeForLargeFiles, | 26 | OptimizePatchSizeForLargeFiles, |
| 27 | ApiPatchingSymbolFlags, | 27 | ApiPatchingSymbolFlags, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class WixPatchIdTuple : IntermediateTuple | 30 | public class WixPatchIdSymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public WixPatchIdTuple() : base(TupleDefinitions.WixPatchId, null, null) | 32 | public WixPatchIdSymbol() : base(SymbolDefinitions.WixPatchId, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public WixPatchIdTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPatchId, sourceLineNumber, id) | 36 | public WixPatchIdSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixPatchId, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[WixPatchIdTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[WixPatchIdSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string ClientPatchId | 42 | public string ClientPatchId |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)WixPatchIdTupleFields.ClientPatchId]; | 44 | get => (string)this.Fields[(int)WixPatchIdSymbolFields.ClientPatchId]; |
| 45 | set => this.Set((int)WixPatchIdTupleFields.ClientPatchId, value); | 45 | set => this.Set((int)WixPatchIdSymbolFields.ClientPatchId, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public bool? OptimizePatchSizeForLargeFiles | 48 | public bool? OptimizePatchSizeForLargeFiles |
| 49 | { | 49 | { |
| 50 | get => (bool?)this.Fields[(int)WixPatchIdTupleFields.OptimizePatchSizeForLargeFiles]; | 50 | get => (bool?)this.Fields[(int)WixPatchIdSymbolFields.OptimizePatchSizeForLargeFiles]; |
| 51 | set => this.Set((int)WixPatchIdTupleFields.OptimizePatchSizeForLargeFiles, value); | 51 | set => this.Set((int)WixPatchIdSymbolFields.OptimizePatchSizeForLargeFiles, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public int? ApiPatchingSymbolFlags | 54 | public int? ApiPatchingSymbolFlags |
| 55 | { | 55 | { |
| 56 | get => (int?)this.Fields[(int)WixPatchIdTupleFields.ApiPatchingSymbolFlags]; | 56 | get => (int?)this.Fields[(int)WixPatchIdSymbolFields.ApiPatchingSymbolFlags]; |
| 57 | set => this.Set((int)WixPatchIdTupleFields.ApiPatchingSymbolFlags, value); | 57 | set => this.Set((int)WixPatchIdSymbolFields.ApiPatchingSymbolFlags, value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixPatchRefTuple.cs b/src/WixToolset.Data/Tuples/WixPatchRefTuple.cs index fa357566..66257d84 100644 --- a/src/WixToolset.Data/Tuples/WixPatchRefTuple.cs +++ b/src/WixToolset.Data/Tuples/WixPatchRefTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixPatchRef = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixPatchRef = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixPatchRef, | 10 | SymbolDefinitionType.WixPatchRef, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixPatchRefTupleFields.Table), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixPatchRefSymbolFields.Table), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixPatchRefTupleFields.PrimaryKeys), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixPatchRefSymbolFields.PrimaryKeys), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(WixPatchRefTuple)); | 16 | typeof(WixPatchRefSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum WixPatchRefTupleFields | 22 | public enum WixPatchRefSymbolFields |
| 23 | { | 23 | { |
| 24 | Table, | 24 | Table, |
| 25 | PrimaryKeys, | 25 | PrimaryKeys, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class WixPatchRefTuple : IntermediateTuple | 28 | public class WixPatchRefSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public WixPatchRefTuple() : base(TupleDefinitions.WixPatchRef, null, null) | 30 | public WixPatchRefSymbol() : base(SymbolDefinitions.WixPatchRef, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public WixPatchRefTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPatchRef, sourceLineNumber, id) | 34 | public WixPatchRefSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixPatchRef, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[WixPatchRefTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[WixPatchRefSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string Table | 40 | public string Table |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)WixPatchRefTupleFields.Table]; | 42 | get => (string)this.Fields[(int)WixPatchRefSymbolFields.Table]; |
| 43 | set => this.Set((int)WixPatchRefTupleFields.Table, value); | 43 | set => this.Set((int)WixPatchRefSymbolFields.Table, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string PrimaryKeys | 46 | public string PrimaryKeys |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)WixPatchRefTupleFields.PrimaryKeys]; | 48 | get => (string)this.Fields[(int)WixPatchRefSymbolFields.PrimaryKeys]; |
| 49 | set => this.Set((int)WixPatchRefTupleFields.PrimaryKeys, value); | 49 | set => this.Set((int)WixPatchRefSymbolFields.PrimaryKeys, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixPatchTargetTuple.cs b/src/WixToolset.Data/Tuples/WixPatchTargetTuple.cs index c0d7a095..e8c01c26 100644 --- a/src/WixToolset.Data/Tuples/WixPatchTargetTuple.cs +++ b/src/WixToolset.Data/Tuples/WixPatchTargetTuple.cs | |||
| @@ -2,43 +2,43 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixPatchTarget = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixPatchTarget = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixPatchTarget, | 10 | SymbolDefinitionType.WixPatchTarget, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixPatchTargetTupleFields.ProductCode), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixPatchTargetSymbolFields.ProductCode), IntermediateFieldType.String), |
| 14 | }, | 14 | }, |
| 15 | typeof(WixPatchTargetTuple)); | 15 | typeof(WixPatchTargetSymbol)); |
| 16 | } | 16 | } |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | namespace WixToolset.Data.Tuples | 19 | namespace WixToolset.Data.Symbols |
| 20 | { | 20 | { |
| 21 | public enum WixPatchTargetTupleFields | 21 | public enum WixPatchTargetSymbolFields |
| 22 | { | 22 | { |
| 23 | ProductCode, | 23 | ProductCode, |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | public class WixPatchTargetTuple : IntermediateTuple | 26 | public class WixPatchTargetSymbol : IntermediateSymbol |
| 27 | { | 27 | { |
| 28 | public WixPatchTargetTuple() : base(TupleDefinitions.WixPatchTarget, null, null) | 28 | public WixPatchTargetSymbol() : base(SymbolDefinitions.WixPatchTarget, null, null) |
| 29 | { | 29 | { |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public WixPatchTargetTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPatchTarget, sourceLineNumber, id) | 32 | public WixPatchTargetSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixPatchTarget, sourceLineNumber, id) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public IntermediateField this[WixPatchTargetTupleFields index] => this.Fields[(int)index]; | 36 | public IntermediateField this[WixPatchTargetSymbolFields index] => this.Fields[(int)index]; |
| 37 | 37 | ||
| 38 | public string ProductCode | 38 | public string ProductCode |
| 39 | { | 39 | { |
| 40 | get => (string)this.Fields[(int)WixPatchTargetTupleFields.ProductCode]; | 40 | get => (string)this.Fields[(int)WixPatchTargetSymbolFields.ProductCode]; |
| 41 | set => this.Set((int)WixPatchTargetTupleFields.ProductCode, value); | 41 | set => this.Set((int)WixPatchTargetSymbolFields.ProductCode, value); |
| 42 | } | 42 | } |
| 43 | } | 43 | } |
| 44 | } \ No newline at end of file | 44 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixProductSearchTuple.cs b/src/WixToolset.Data/Tuples/WixProductSearchTuple.cs index 22e96365..f8a17b64 100644 --- a/src/WixToolset.Data/Tuples/WixProductSearchTuple.cs +++ b/src/WixToolset.Data/Tuples/WixProductSearchTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixProductSearch = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixProductSearch = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixProductSearch, | 10 | SymbolDefinitionType.WixProductSearch, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixProductSearchTupleFields.Guid), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixProductSearchSymbolFields.Guid), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixProductSearchTupleFields.Attributes), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(WixProductSearchSymbolFields.Attributes), IntermediateFieldType.Number), |
| 15 | }, | 15 | }, |
| 16 | typeof(WixProductSearchTuple)); | 16 | typeof(WixProductSearchSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | using System; | 22 | using System; |
| 23 | 23 | ||
| 24 | public enum WixProductSearchTupleFields | 24 | public enum WixProductSearchSymbolFields |
| 25 | { | 25 | { |
| 26 | Guid, | 26 | Guid, |
| 27 | Attributes, | 27 | Attributes, |
| @@ -37,28 +37,28 @@ namespace WixToolset.Data.Tuples | |||
| 37 | UpgradeCode = 0x10, | 37 | UpgradeCode = 0x10, |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public class WixProductSearchTuple : IntermediateTuple | 40 | public class WixProductSearchSymbol : IntermediateSymbol |
| 41 | { | 41 | { |
| 42 | public WixProductSearchTuple() : base(TupleDefinitions.WixProductSearch, null, null) | 42 | public WixProductSearchSymbol() : base(SymbolDefinitions.WixProductSearch, null, null) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public WixProductSearchTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixProductSearch, sourceLineNumber, id) | 46 | public WixProductSearchSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixProductSearch, sourceLineNumber, id) |
| 47 | { | 47 | { |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public IntermediateField this[WixProductSearchTupleFields index] => this.Fields[(int)index]; | 50 | public IntermediateField this[WixProductSearchSymbolFields index] => this.Fields[(int)index]; |
| 51 | 51 | ||
| 52 | public string Guid | 52 | public string Guid |
| 53 | { | 53 | { |
| 54 | get => (string)this.Fields[(int)WixProductSearchTupleFields.Guid]; | 54 | get => (string)this.Fields[(int)WixProductSearchSymbolFields.Guid]; |
| 55 | set => this.Set((int)WixProductSearchTupleFields.Guid, value); | 55 | set => this.Set((int)WixProductSearchSymbolFields.Guid, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public WixProductSearchAttributes Attributes | 58 | public WixProductSearchAttributes Attributes |
| 59 | { | 59 | { |
| 60 | get => (WixProductSearchAttributes)this.Fields[(int)WixProductSearchTupleFields.Attributes].AsNumber(); | 60 | get => (WixProductSearchAttributes)this.Fields[(int)WixProductSearchSymbolFields.Attributes].AsNumber(); |
| 61 | set => this.Set((int)WixProductSearchTupleFields.Attributes, (int)value); | 61 | set => this.Set((int)WixProductSearchSymbolFields.Attributes, (int)value); |
| 62 | } | 62 | } |
| 63 | } | 63 | } |
| 64 | } | 64 | } |
diff --git a/src/WixToolset.Data/Tuples/WixPropertyTuple.cs b/src/WixToolset.Data/Tuples/WixPropertyTuple.cs index abadd947..17cf59ce 100644 --- a/src/WixToolset.Data/Tuples/WixPropertyTuple.cs +++ b/src/WixToolset.Data/Tuples/WixPropertyTuple.cs | |||
| @@ -2,26 +2,26 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixProperty = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixProperty = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixProperty, | 10 | SymbolDefinitionType.WixProperty, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixPropertyTupleFields.PropertyRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixPropertySymbolFields.PropertyRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixPropertyTupleFields.Admin), IntermediateFieldType.Bool), | 14 | new IntermediateFieldDefinition(nameof(WixPropertySymbolFields.Admin), IntermediateFieldType.Bool), |
| 15 | new IntermediateFieldDefinition(nameof(WixPropertyTupleFields.Hidden), IntermediateFieldType.Bool), | 15 | new IntermediateFieldDefinition(nameof(WixPropertySymbolFields.Hidden), IntermediateFieldType.Bool), |
| 16 | new IntermediateFieldDefinition(nameof(WixPropertyTupleFields.Secure), IntermediateFieldType.Bool), | 16 | new IntermediateFieldDefinition(nameof(WixPropertySymbolFields.Secure), IntermediateFieldType.Bool), |
| 17 | }, | 17 | }, |
| 18 | typeof(WixPropertyTuple)); | 18 | typeof(WixPropertySymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | public enum WixPropertyTupleFields | 24 | public enum WixPropertySymbolFields |
| 25 | { | 25 | { |
| 26 | PropertyRef, | 26 | PropertyRef, |
| 27 | Admin, | 27 | Admin, |
| @@ -29,40 +29,40 @@ namespace WixToolset.Data.Tuples | |||
| 29 | Secure, | 29 | Secure, |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | public class WixPropertyTuple : IntermediateTuple | 32 | public class WixPropertySymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public WixPropertyTuple() : base(TupleDefinitions.WixProperty, null, null) | 34 | public WixPropertySymbol() : base(SymbolDefinitions.WixProperty, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public WixPropertyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixProperty, sourceLineNumber, id) | 38 | public WixPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixProperty, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[WixPropertyTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[WixPropertySymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string PropertyRef | 44 | public string PropertyRef |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)WixPropertyTupleFields.PropertyRef]; | 46 | get => (string)this.Fields[(int)WixPropertySymbolFields.PropertyRef]; |
| 47 | set => this.Set((int)WixPropertyTupleFields.PropertyRef, value); | 47 | set => this.Set((int)WixPropertySymbolFields.PropertyRef, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public bool Admin | 50 | public bool Admin |
| 51 | { | 51 | { |
| 52 | get => (bool)this.Fields[(int)WixPropertyTupleFields.Admin]; | 52 | get => (bool)this.Fields[(int)WixPropertySymbolFields.Admin]; |
| 53 | set => this.Set((int)WixPropertyTupleFields.Admin, value); | 53 | set => this.Set((int)WixPropertySymbolFields.Admin, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | public bool Hidden | 56 | public bool Hidden |
| 57 | { | 57 | { |
| 58 | get => (bool)this.Fields[(int)WixPropertyTupleFields.Hidden]; | 58 | get => (bool)this.Fields[(int)WixPropertySymbolFields.Hidden]; |
| 59 | set => this.Set((int)WixPropertyTupleFields.Hidden, value); | 59 | set => this.Set((int)WixPropertySymbolFields.Hidden, value); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public bool Secure | 62 | public bool Secure |
| 63 | { | 63 | { |
| 64 | get => (bool)this.Fields[(int)WixPropertyTupleFields.Secure]; | 64 | get => (bool)this.Fields[(int)WixPropertySymbolFields.Secure]; |
| 65 | set => this.Set((int)WixPropertyTupleFields.Secure, value); | 65 | set => this.Set((int)WixPropertySymbolFields.Secure, value); |
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | } \ No newline at end of file | 68 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixRegistrySearchTuple.cs b/src/WixToolset.Data/Tuples/WixRegistrySearchTuple.cs index 6bf43a00..dffa8410 100644 --- a/src/WixToolset.Data/Tuples/WixRegistrySearchTuple.cs +++ b/src/WixToolset.Data/Tuples/WixRegistrySearchTuple.cs | |||
| @@ -2,28 +2,28 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixRegistrySearch = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixRegistrySearch = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixRegistrySearch, | 10 | SymbolDefinitionType.WixRegistrySearch, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixRegistrySearchTupleFields.Root), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(WixRegistrySearchSymbolFields.Root), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(WixRegistrySearchTupleFields.Key), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixRegistrySearchSymbolFields.Key), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixRegistrySearchTupleFields.Value), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixRegistrySearchSymbolFields.Value), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixRegistrySearchTupleFields.Attributes), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(WixRegistrySearchSymbolFields.Attributes), IntermediateFieldType.Number), |
| 17 | }, | 17 | }, |
| 18 | typeof(WixRegistrySearchTuple)); | 18 | typeof(WixRegistrySearchSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.Data.Tuples | 22 | namespace WixToolset.Data.Symbols |
| 23 | { | 23 | { |
| 24 | using System; | 24 | using System; |
| 25 | 25 | ||
| 26 | public enum WixRegistrySearchTupleFields | 26 | public enum WixRegistrySearchSymbolFields |
| 27 | { | 27 | { |
| 28 | Root, | 28 | Root, |
| 29 | Key, | 29 | Key, |
| @@ -42,40 +42,40 @@ namespace WixToolset.Data.Tuples | |||
| 42 | Win64 = 0x20, | 42 | Win64 = 0x20, |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | public class WixRegistrySearchTuple : IntermediateTuple | 45 | public class WixRegistrySearchSymbol : IntermediateSymbol |
| 46 | { | 46 | { |
| 47 | public WixRegistrySearchTuple() : base(TupleDefinitions.WixRegistrySearch, null, null) | 47 | public WixRegistrySearchSymbol() : base(SymbolDefinitions.WixRegistrySearch, null, null) |
| 48 | { | 48 | { |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | public WixRegistrySearchTuple(SourceLineNumber sourceLineNumber , Identifier id = null) : base(TupleDefinitions.WixRegistrySearch, sourceLineNumber, id) | 51 | public WixRegistrySearchSymbol(SourceLineNumber sourceLineNumber , Identifier id = null) : base(SymbolDefinitions.WixRegistrySearch, sourceLineNumber, id) |
| 52 | { | 52 | { |
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | public IntermediateField this[WixRegistrySearchTupleFields index] => this.Fields[(int)index]; | 55 | public IntermediateField this[WixRegistrySearchSymbolFields index] => this.Fields[(int)index]; |
| 56 | 56 | ||
| 57 | public RegistryRootType Root | 57 | public RegistryRootType Root |
| 58 | { | 58 | { |
| 59 | get => (RegistryRootType)this.Fields[(int)WixRegistrySearchTupleFields.Root].AsNumber(); | 59 | get => (RegistryRootType)this.Fields[(int)WixRegistrySearchSymbolFields.Root].AsNumber(); |
| 60 | set => this.Set((int)WixRegistrySearchTupleFields.Root, (int)value); | 60 | set => this.Set((int)WixRegistrySearchSymbolFields.Root, (int)value); |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | public string Key | 63 | public string Key |
| 64 | { | 64 | { |
| 65 | get => (string)this.Fields[(int)WixRegistrySearchTupleFields.Key]; | 65 | get => (string)this.Fields[(int)WixRegistrySearchSymbolFields.Key]; |
| 66 | set => this.Set((int)WixRegistrySearchTupleFields.Key, value); | 66 | set => this.Set((int)WixRegistrySearchSymbolFields.Key, value); |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | public string Value | 69 | public string Value |
| 70 | { | 70 | { |
| 71 | get => (string)this.Fields[(int)WixRegistrySearchTupleFields.Value]; | 71 | get => (string)this.Fields[(int)WixRegistrySearchSymbolFields.Value]; |
| 72 | set => this.Set((int)WixRegistrySearchTupleFields.Value, value); | 72 | set => this.Set((int)WixRegistrySearchSymbolFields.Value, value); |
| 73 | } | 73 | } |
| 74 | 74 | ||
| 75 | public WixRegistrySearchAttributes Attributes | 75 | public WixRegistrySearchAttributes Attributes |
| 76 | { | 76 | { |
| 77 | get => (WixRegistrySearchAttributes)this.Fields[(int)WixRegistrySearchTupleFields.Attributes].AsNumber(); | 77 | get => (WixRegistrySearchAttributes)this.Fields[(int)WixRegistrySearchSymbolFields.Attributes].AsNumber(); |
| 78 | set => this.Set((int)WixRegistrySearchTupleFields.Attributes, (int)value); | 78 | set => this.Set((int)WixRegistrySearchSymbolFields.Attributes, (int)value); |
| 79 | } | 79 | } |
| 80 | } | 80 | } |
| 81 | } | 81 | } |
diff --git a/src/WixToolset.Data/Tuples/WixRelatedBundleTuple.cs b/src/WixToolset.Data/Tuples/WixRelatedBundleTuple.cs index a7a2cf92..dc544e29 100644 --- a/src/WixToolset.Data/Tuples/WixRelatedBundleTuple.cs +++ b/src/WixToolset.Data/Tuples/WixRelatedBundleTuple.cs | |||
| @@ -2,24 +2,24 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixRelatedBundle = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixRelatedBundle = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixRelatedBundle, | 10 | SymbolDefinitionType.WixRelatedBundle, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixRelatedBundleTupleFields.BundleId), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixRelatedBundleSymbolFields.BundleId), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixRelatedBundleTupleFields.Action), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(WixRelatedBundleSymbolFields.Action), IntermediateFieldType.Number), |
| 15 | }, | 15 | }, |
| 16 | typeof(WixRelatedBundleTuple)); | 16 | typeof(WixRelatedBundleSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum WixRelatedBundleTupleFields | 22 | public enum WixRelatedBundleSymbolFields |
| 23 | { | 23 | { |
| 24 | BundleId, | 24 | BundleId, |
| 25 | Action, | 25 | Action, |
| @@ -33,28 +33,28 @@ namespace WixToolset.Data.Tuples | |||
| 33 | Patch | 33 | Patch |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public class WixRelatedBundleTuple : IntermediateTuple | 36 | public class WixRelatedBundleSymbol : IntermediateSymbol |
| 37 | { | 37 | { |
| 38 | public WixRelatedBundleTuple() : base(TupleDefinitions.WixRelatedBundle, null, null) | 38 | public WixRelatedBundleSymbol() : base(SymbolDefinitions.WixRelatedBundle, null, null) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public WixRelatedBundleTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixRelatedBundle, sourceLineNumber, id) | 42 | public WixRelatedBundleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixRelatedBundle, sourceLineNumber, id) |
| 43 | { | 43 | { |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public IntermediateField this[WixRelatedBundleTupleFields index] => this.Fields[(int)index]; | 46 | public IntermediateField this[WixRelatedBundleSymbolFields index] => this.Fields[(int)index]; |
| 47 | 47 | ||
| 48 | public string BundleId | 48 | public string BundleId |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)WixRelatedBundleTupleFields.BundleId]; | 50 | get => (string)this.Fields[(int)WixRelatedBundleSymbolFields.BundleId]; |
| 51 | set => this.Set((int)WixRelatedBundleTupleFields.BundleId, value); | 51 | set => this.Set((int)WixRelatedBundleSymbolFields.BundleId, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public RelatedBundleActionType Action | 54 | public RelatedBundleActionType Action |
| 55 | { | 55 | { |
| 56 | get => (RelatedBundleActionType)this.Fields[(int)WixRelatedBundleTupleFields.Action].AsNumber(); | 56 | get => (RelatedBundleActionType)this.Fields[(int)WixRelatedBundleSymbolFields.Action].AsNumber(); |
| 57 | set => this.Set((int)WixRelatedBundleTupleFields.Action, (int)value); | 57 | set => this.Set((int)WixRelatedBundleSymbolFields.Action, (int)value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixSearchRelationTuple.cs b/src/WixToolset.Data/Tuples/WixSearchRelationTuple.cs index 559a41fa..6b47833a 100644 --- a/src/WixToolset.Data/Tuples/WixSearchRelationTuple.cs +++ b/src/WixToolset.Data/Tuples/WixSearchRelationTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixSearchRelation = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixSearchRelation = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixSearchRelation, | 10 | SymbolDefinitionType.WixSearchRelation, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixSearchRelationTupleFields.ParentSearchRef), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixSearchRelationSymbolFields.ParentSearchRef), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixSearchRelationTupleFields.Attributes), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(WixSearchRelationSymbolFields.Attributes), IntermediateFieldType.Number), |
| 15 | }, | 15 | }, |
| 16 | typeof(WixSearchRelationTuple)); | 16 | typeof(WixSearchRelationSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum WixSearchRelationTupleFields | 22 | public enum WixSearchRelationSymbolFields |
| 23 | { | 23 | { |
| 24 | ParentSearchRef, | 24 | ParentSearchRef, |
| 25 | Attributes, | 25 | Attributes, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class WixSearchRelationTuple : IntermediateTuple | 28 | public class WixSearchRelationSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public WixSearchRelationTuple() : base(TupleDefinitions.WixSearchRelation, null, null) | 30 | public WixSearchRelationSymbol() : base(SymbolDefinitions.WixSearchRelation, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public WixSearchRelationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixSearchRelation, sourceLineNumber, id) | 34 | public WixSearchRelationSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixSearchRelation, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[WixSearchRelationTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[WixSearchRelationSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string ParentSearchRef | 40 | public string ParentSearchRef |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)WixSearchRelationTupleFields.ParentSearchRef]; | 42 | get => (string)this.Fields[(int)WixSearchRelationSymbolFields.ParentSearchRef]; |
| 43 | set => this.Set((int)WixSearchRelationTupleFields.ParentSearchRef, value); | 43 | set => this.Set((int)WixSearchRelationSymbolFields.ParentSearchRef, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public int Attributes | 46 | public int Attributes |
| 47 | { | 47 | { |
| 48 | get => (int)this.Fields[(int)WixSearchRelationTupleFields.Attributes]; | 48 | get => (int)this.Fields[(int)WixSearchRelationSymbolFields.Attributes]; |
| 49 | set => this.Set((int)WixSearchRelationTupleFields.Attributes, value); | 49 | set => this.Set((int)WixSearchRelationSymbolFields.Attributes, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } \ No newline at end of file | 52 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixSearchTuple.cs b/src/WixToolset.Data/Tuples/WixSearchTuple.cs index 6f58f62e..2d6a927c 100644 --- a/src/WixToolset.Data/Tuples/WixSearchTuple.cs +++ b/src/WixToolset.Data/Tuples/WixSearchTuple.cs | |||
| @@ -2,59 +2,59 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixSearch = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixSearch = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixSearch, | 10 | SymbolDefinitionType.WixSearch, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixSearchTupleFields.Variable), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixSearchSymbolFields.Variable), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixSearchTupleFields.Condition), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixSearchSymbolFields.Condition), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixSearchTupleFields.BundleExtensionRef), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixSearchSymbolFields.BundleExtensionRef), IntermediateFieldType.String), |
| 16 | }, | 16 | }, |
| 17 | typeof(WixSearchTuple)); | 17 | typeof(WixSearchSymbol)); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | namespace WixToolset.Data.Tuples | 21 | namespace WixToolset.Data.Symbols |
| 22 | { | 22 | { |
| 23 | public enum WixSearchTupleFields | 23 | public enum WixSearchSymbolFields |
| 24 | { | 24 | { |
| 25 | Variable, | 25 | Variable, |
| 26 | Condition, | 26 | Condition, |
| 27 | BundleExtensionRef, | 27 | BundleExtensionRef, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class WixSearchTuple : IntermediateTuple | 30 | public class WixSearchSymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public WixSearchTuple() : base(TupleDefinitions.WixSearch, null, null) | 32 | public WixSearchSymbol() : base(SymbolDefinitions.WixSearch, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public WixSearchTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixSearch, sourceLineNumber, id) | 36 | public WixSearchSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixSearch, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[WixSearchTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[WixSearchSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public string Variable | 42 | public string Variable |
| 43 | { | 43 | { |
| 44 | get => (string)this.Fields[(int)WixSearchTupleFields.Variable]; | 44 | get => (string)this.Fields[(int)WixSearchSymbolFields.Variable]; |
| 45 | set => this.Set((int)WixSearchTupleFields.Variable, value); | 45 | set => this.Set((int)WixSearchSymbolFields.Variable, value); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public string Condition | 48 | public string Condition |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)WixSearchTupleFields.Condition]; | 50 | get => (string)this.Fields[(int)WixSearchSymbolFields.Condition]; |
| 51 | set => this.Set((int)WixSearchTupleFields.Condition, value); | 51 | set => this.Set((int)WixSearchSymbolFields.Condition, value); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public string BundleExtensionRef | 54 | public string BundleExtensionRef |
| 55 | { | 55 | { |
| 56 | get => (string)this.Fields[(int)WixSearchTupleFields.BundleExtensionRef]; | 56 | get => (string)this.Fields[(int)WixSearchSymbolFields.BundleExtensionRef]; |
| 57 | set => this.Set((int)WixSearchTupleFields.BundleExtensionRef, value); | 57 | set => this.Set((int)WixSearchSymbolFields.BundleExtensionRef, value); |
| 58 | } | 58 | } |
| 59 | } | 59 | } |
| 60 | } \ No newline at end of file | 60 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixSetVariableTuple.cs b/src/WixToolset.Data/Tuples/WixSetVariableTuple.cs index 6c1e9908..503c328b 100644 --- a/src/WixToolset.Data/Tuples/WixSetVariableTuple.cs +++ b/src/WixToolset.Data/Tuples/WixSetVariableTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixSetVariable = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixSetVariable = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixSetVariable, | 10 | SymbolDefinitionType.WixSetVariable, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixSetVariableTupleFields.Value), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixSetVariableSymbolFields.Value), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixSetVariableTupleFields.Type), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixSetVariableSymbolFields.Type), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(WixSetVariableTuple)); | 16 | typeof(WixSetVariableSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum WixSetVariableTupleFields | 22 | public enum WixSetVariableSymbolFields |
| 23 | { | 23 | { |
| 24 | Value, | 24 | Value, |
| 25 | Type, | 25 | Type, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class WixSetVariableTuple : IntermediateTuple | 28 | public class WixSetVariableSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public WixSetVariableTuple() : base(TupleDefinitions.WixSetVariable, null, null) | 30 | public WixSetVariableSymbol() : base(SymbolDefinitions.WixSetVariable, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public WixSetVariableTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixSetVariable, sourceLineNumber, id) | 34 | public WixSetVariableSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixSetVariable, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[WixSetVariableTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[WixSetVariableSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string Value | 40 | public string Value |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)WixSetVariableTupleFields.Value]; | 42 | get => (string)this.Fields[(int)WixSetVariableSymbolFields.Value]; |
| 43 | set => this.Set((int)WixSetVariableTupleFields.Value, value); | 43 | set => this.Set((int)WixSetVariableSymbolFields.Value, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public string Type | 46 | public string Type |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)WixSetVariableTupleFields.Type]; | 48 | get => (string)this.Fields[(int)WixSetVariableSymbolFields.Type]; |
| 49 | set => this.Set((int)WixSetVariableTupleFields.Type, value); | 49 | set => this.Set((int)WixSetVariableSymbolFields.Type, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } | 52 | } |
diff --git a/src/WixToolset.Data/Tuples/WixSimpleReferenceTuple.cs b/src/WixToolset.Data/Tuples/WixSimpleReferenceTuple.cs index abc53b3a..1091b715 100644 --- a/src/WixToolset.Data/Tuples/WixSimpleReferenceTuple.cs +++ b/src/WixToolset.Data/Tuples/WixSimpleReferenceTuple.cs | |||
| @@ -2,55 +2,55 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixSimpleReference = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixSimpleReference = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixSimpleReference, | 10 | SymbolDefinitionType.WixSimpleReference, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixSimpleReferenceTupleFields.Table), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixSimpleReferenceSymbolFields.Table), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixSimpleReferenceTupleFields.PrimaryKeys), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixSimpleReferenceSymbolFields.PrimaryKeys), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(WixSimpleReferenceTuple)); | 16 | typeof(WixSimpleReferenceSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | using System; | 22 | using System; |
| 23 | using System.Diagnostics; | 23 | using System.Diagnostics; |
| 24 | 24 | ||
| 25 | public enum WixSimpleReferenceTupleFields | 25 | public enum WixSimpleReferenceSymbolFields |
| 26 | { | 26 | { |
| 27 | Table, | 27 | Table, |
| 28 | PrimaryKeys, | 28 | PrimaryKeys, |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | [DebuggerDisplay("{SymbolicName}")] | 31 | [DebuggerDisplay("{SymbolicName}")] |
| 32 | public class WixSimpleReferenceTuple : IntermediateTuple | 32 | public class WixSimpleReferenceSymbol : IntermediateSymbol |
| 33 | { | 33 | { |
| 34 | public WixSimpleReferenceTuple() : base(TupleDefinitions.WixSimpleReference, null, null) | 34 | public WixSimpleReferenceSymbol() : base(SymbolDefinitions.WixSimpleReference, null, null) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public WixSimpleReferenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixSimpleReference, sourceLineNumber, id) | 38 | public WixSimpleReferenceSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixSimpleReference, sourceLineNumber, id) |
| 39 | { | 39 | { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | public IntermediateField this[WixSimpleReferenceTupleFields index] => this.Fields[(int)index]; | 42 | public IntermediateField this[WixSimpleReferenceSymbolFields index] => this.Fields[(int)index]; |
| 43 | 43 | ||
| 44 | public string Table | 44 | public string Table |
| 45 | { | 45 | { |
| 46 | get => (string)this.Fields[(int)WixSimpleReferenceTupleFields.Table]; | 46 | get => (string)this.Fields[(int)WixSimpleReferenceSymbolFields.Table]; |
| 47 | set => this.Set((int)WixSimpleReferenceTupleFields.Table, value); | 47 | set => this.Set((int)WixSimpleReferenceSymbolFields.Table, value); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | public string PrimaryKeys | 50 | public string PrimaryKeys |
| 51 | { | 51 | { |
| 52 | get => (string)this.Fields[(int)WixSimpleReferenceTupleFields.PrimaryKeys]; | 52 | get => (string)this.Fields[(int)WixSimpleReferenceSymbolFields.PrimaryKeys]; |
| 53 | set => this.Set((int)WixSimpleReferenceTupleFields.PrimaryKeys, value); | 53 | set => this.Set((int)WixSimpleReferenceSymbolFields.PrimaryKeys, value); |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | /// <summary> | 56 | /// <summary> |
diff --git a/src/WixToolset.Data/Tuples/WixSuppressActionTuple.cs b/src/WixToolset.Data/Tuples/WixSuppressActionTuple.cs index 70bda370..f99246f0 100644 --- a/src/WixToolset.Data/Tuples/WixSuppressActionTuple.cs +++ b/src/WixToolset.Data/Tuples/WixSuppressActionTuple.cs | |||
| @@ -2,53 +2,53 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixSuppressAction = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixSuppressAction = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixSuppressAction, | 10 | SymbolDefinitionType.WixSuppressAction, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixSuppressActionTupleFields.SequenceTable), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixSuppressActionSymbolFields.SequenceTable), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixSuppressActionTupleFields.Action), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixSuppressActionSymbolFields.Action), IntermediateFieldType.String), |
| 15 | }, | 15 | }, |
| 16 | typeof(WixSuppressActionTuple)); | 16 | typeof(WixSuppressActionSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | using System; | 22 | using System; |
| 23 | 23 | ||
| 24 | public enum WixSuppressActionTupleFields | 24 | public enum WixSuppressActionSymbolFields |
| 25 | { | 25 | { |
| 26 | SequenceTable, | 26 | SequenceTable, |
| 27 | Action, | 27 | Action, |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public class WixSuppressActionTuple : IntermediateTuple | 30 | public class WixSuppressActionSymbol : IntermediateSymbol |
| 31 | { | 31 | { |
| 32 | public WixSuppressActionTuple() : base(TupleDefinitions.WixSuppressAction, null, null) | 32 | public WixSuppressActionSymbol() : base(SymbolDefinitions.WixSuppressAction, null, null) |
| 33 | { | 33 | { |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | public WixSuppressActionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixSuppressAction, sourceLineNumber, id) | 36 | public WixSuppressActionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixSuppressAction, sourceLineNumber, id) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public IntermediateField this[WixSuppressActionTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[WixSuppressActionSymbolFields index] => this.Fields[(int)index]; |
| 41 | 41 | ||
| 42 | public SequenceTable SequenceTable | 42 | public SequenceTable SequenceTable |
| 43 | { | 43 | { |
| 44 | get => (SequenceTable)Enum.Parse(typeof(SequenceTable), (string)this.Fields[(int)WixSuppressActionTupleFields.SequenceTable]); | 44 | get => (SequenceTable)Enum.Parse(typeof(SequenceTable), (string)this.Fields[(int)WixSuppressActionSymbolFields.SequenceTable]); |
| 45 | set => this.Set((int)WixSuppressActionTupleFields.SequenceTable, value.ToString()); | 45 | set => this.Set((int)WixSuppressActionSymbolFields.SequenceTable, value.ToString()); |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | public string Action | 48 | public string Action |
| 49 | { | 49 | { |
| 50 | get => (string)this.Fields[(int)WixSuppressActionTupleFields.Action]; | 50 | get => (string)this.Fields[(int)WixSuppressActionSymbolFields.Action]; |
| 51 | set => this.Set((int)WixSuppressActionTupleFields.Action, value); | 51 | set => this.Set((int)WixSuppressActionSymbolFields.Action, value); |
| 52 | } | 52 | } |
| 53 | } | 53 | } |
| 54 | } \ No newline at end of file | 54 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixSuppressModularizationTuple.cs b/src/WixToolset.Data/Tuples/WixSuppressModularizationTuple.cs index 9c6c8468..1bdffd5e 100644 --- a/src/WixToolset.Data/Tuples/WixSuppressModularizationTuple.cs +++ b/src/WixToolset.Data/Tuples/WixSuppressModularizationTuple.cs | |||
| @@ -2,35 +2,35 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixSuppressModularization = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixSuppressModularization = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixSuppressModularization, | 10 | SymbolDefinitionType.WixSuppressModularization, |
| 11 | new IntermediateFieldDefinition[] | 11 | new IntermediateFieldDefinition[] |
| 12 | { | 12 | { |
| 13 | }, | 13 | }, |
| 14 | typeof(WixSuppressModularizationTuple)); | 14 | typeof(WixSuppressModularizationSymbol)); |
| 15 | } | 15 | } |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | namespace WixToolset.Data.Tuples | 18 | namespace WixToolset.Data.Symbols |
| 19 | { | 19 | { |
| 20 | public enum WixSuppressModularizationTupleFields | 20 | public enum WixSuppressModularizationSymbolFields |
| 21 | { | 21 | { |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | public class WixSuppressModularizationTuple : IntermediateTuple | 24 | public class WixSuppressModularizationSymbol : IntermediateSymbol |
| 25 | { | 25 | { |
| 26 | public WixSuppressModularizationTuple() : base(TupleDefinitions.WixSuppressModularization, null, null) | 26 | public WixSuppressModularizationSymbol() : base(SymbolDefinitions.WixSuppressModularization, null, null) |
| 27 | { | 27 | { |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public WixSuppressModularizationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixSuppressModularization, sourceLineNumber, id) | 30 | public WixSuppressModularizationSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixSuppressModularization, sourceLineNumber, id) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public IntermediateField this[WixSuppressModularizationTupleFields index] => this.Fields[(int)index]; | 34 | public IntermediateField this[WixSuppressModularizationSymbolFields index] => this.Fields[(int)index]; |
| 35 | } | 35 | } |
| 36 | } \ No newline at end of file | 36 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixUITuple.cs b/src/WixToolset.Data/Tuples/WixUITuple.cs index 23312096..f1254952 100644 --- a/src/WixToolset.Data/Tuples/WixUITuple.cs +++ b/src/WixToolset.Data/Tuples/WixUITuple.cs | |||
| @@ -2,35 +2,35 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixUI = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixUI = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixUI, | 10 | SymbolDefinitionType.WixUI, |
| 11 | new IntermediateFieldDefinition[] | 11 | new IntermediateFieldDefinition[] |
| 12 | { | 12 | { |
| 13 | }, | 13 | }, |
| 14 | typeof(WixUITuple)); | 14 | typeof(WixUISymbol)); |
| 15 | } | 15 | } |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | namespace WixToolset.Data.Tuples | 18 | namespace WixToolset.Data.Symbols |
| 19 | { | 19 | { |
| 20 | public enum WixUITupleFields | 20 | public enum WixUISymbolFields |
| 21 | { | 21 | { |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | public class WixUITuple : IntermediateTuple | 24 | public class WixUISymbol : IntermediateSymbol |
| 25 | { | 25 | { |
| 26 | public WixUITuple() : base(TupleDefinitions.WixUI, null, null) | 26 | public WixUISymbol() : base(SymbolDefinitions.WixUI, null, null) |
| 27 | { | 27 | { |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | public WixUITuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixUI, sourceLineNumber, id) | 30 | public WixUISymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixUI, sourceLineNumber, id) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public IntermediateField this[WixUITupleFields index] => this.Fields[(int)index]; | 34 | public IntermediateField this[WixUISymbolFields index] => this.Fields[(int)index]; |
| 35 | } | 35 | } |
| 36 | } | 36 | } |
diff --git a/src/WixToolset.Data/Tuples/WixUpdateRegistrationTuple.cs b/src/WixToolset.Data/Tuples/WixUpdateRegistrationTuple.cs index 93a59cce..1320dfd5 100644 --- a/src/WixToolset.Data/Tuples/WixUpdateRegistrationTuple.cs +++ b/src/WixToolset.Data/Tuples/WixUpdateRegistrationTuple.cs | |||
| @@ -2,27 +2,27 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixUpdateRegistration = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixUpdateRegistration = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixUpdateRegistration, | 10 | SymbolDefinitionType.WixUpdateRegistration, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixUpdateRegistrationTupleFields.Manufacturer), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixUpdateRegistrationSymbolFields.Manufacturer), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixUpdateRegistrationTupleFields.Department), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(WixUpdateRegistrationSymbolFields.Department), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(WixUpdateRegistrationTupleFields.ProductFamily), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(WixUpdateRegistrationSymbolFields.ProductFamily), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(WixUpdateRegistrationTupleFields.Name), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(WixUpdateRegistrationSymbolFields.Name), IntermediateFieldType.String), |
| 17 | new IntermediateFieldDefinition(nameof(WixUpdateRegistrationTupleFields.Classification), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(WixUpdateRegistrationSymbolFields.Classification), IntermediateFieldType.String), |
| 18 | }, | 18 | }, |
| 19 | typeof(WixUpdateRegistrationTuple)); | 19 | typeof(WixUpdateRegistrationSymbol)); |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | namespace WixToolset.Data.Tuples | 23 | namespace WixToolset.Data.Symbols |
| 24 | { | 24 | { |
| 25 | public enum WixUpdateRegistrationTupleFields | 25 | public enum WixUpdateRegistrationSymbolFields |
| 26 | { | 26 | { |
| 27 | Manufacturer, | 27 | Manufacturer, |
| 28 | Department, | 28 | Department, |
| @@ -31,46 +31,46 @@ namespace WixToolset.Data.Tuples | |||
| 31 | Classification, | 31 | Classification, |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public class WixUpdateRegistrationTuple : IntermediateTuple | 34 | public class WixUpdateRegistrationSymbol : IntermediateSymbol |
| 35 | { | 35 | { |
| 36 | public WixUpdateRegistrationTuple() : base(TupleDefinitions.WixUpdateRegistration, null, null) | 36 | public WixUpdateRegistrationSymbol() : base(SymbolDefinitions.WixUpdateRegistration, null, null) |
| 37 | { | 37 | { |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | public WixUpdateRegistrationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixUpdateRegistration, sourceLineNumber, id) | 40 | public WixUpdateRegistrationSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixUpdateRegistration, sourceLineNumber, id) |
| 41 | { | 41 | { |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | public IntermediateField this[WixUpdateRegistrationTupleFields index] => this.Fields[(int)index]; | 44 | public IntermediateField this[WixUpdateRegistrationSymbolFields index] => this.Fields[(int)index]; |
| 45 | 45 | ||
| 46 | public string Manufacturer | 46 | public string Manufacturer |
| 47 | { | 47 | { |
| 48 | get => (string)this.Fields[(int)WixUpdateRegistrationTupleFields.Manufacturer]; | 48 | get => (string)this.Fields[(int)WixUpdateRegistrationSymbolFields.Manufacturer]; |
| 49 | set => this.Set((int)WixUpdateRegistrationTupleFields.Manufacturer, value); | 49 | set => this.Set((int)WixUpdateRegistrationSymbolFields.Manufacturer, value); |
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | public string Department | 52 | public string Department |
| 53 | { | 53 | { |
| 54 | get => (string)this.Fields[(int)WixUpdateRegistrationTupleFields.Department]; | 54 | get => (string)this.Fields[(int)WixUpdateRegistrationSymbolFields.Department]; |
| 55 | set => this.Set((int)WixUpdateRegistrationTupleFields.Department, value); | 55 | set => this.Set((int)WixUpdateRegistrationSymbolFields.Department, value); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | public string ProductFamily | 58 | public string ProductFamily |
| 59 | { | 59 | { |
| 60 | get => (string)this.Fields[(int)WixUpdateRegistrationTupleFields.ProductFamily]; | 60 | get => (string)this.Fields[(int)WixUpdateRegistrationSymbolFields.ProductFamily]; |
| 61 | set => this.Set((int)WixUpdateRegistrationTupleFields.ProductFamily, value); | 61 | set => this.Set((int)WixUpdateRegistrationSymbolFields.ProductFamily, value); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | public string Name | 64 | public string Name |
| 65 | { | 65 | { |
| 66 | get => (string)this.Fields[(int)WixUpdateRegistrationTupleFields.Name]; | 66 | get => (string)this.Fields[(int)WixUpdateRegistrationSymbolFields.Name]; |
| 67 | set => this.Set((int)WixUpdateRegistrationTupleFields.Name, value); | 67 | set => this.Set((int)WixUpdateRegistrationSymbolFields.Name, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public string Classification | 70 | public string Classification |
| 71 | { | 71 | { |
| 72 | get => (string)this.Fields[(int)WixUpdateRegistrationTupleFields.Classification]; | 72 | get => (string)this.Fields[(int)WixUpdateRegistrationSymbolFields.Classification]; |
| 73 | set => this.Set((int)WixUpdateRegistrationTupleFields.Classification, value); | 73 | set => this.Set((int)WixUpdateRegistrationSymbolFields.Classification, value); |
| 74 | } | 74 | } |
| 75 | } | 75 | } |
| 76 | } \ No newline at end of file | 76 | } \ No newline at end of file |
diff --git a/src/WixToolset.Data/Tuples/WixVariableTuple.cs b/src/WixToolset.Data/Tuples/WixVariableTuple.cs index 08508d08..0a56dcbf 100644 --- a/src/WixToolset.Data/Tuples/WixVariableTuple.cs +++ b/src/WixToolset.Data/Tuples/WixVariableTuple.cs | |||
| @@ -2,51 +2,51 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace 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 WixVariable = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition WixVariable = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.WixVariable, | 10 | SymbolDefinitionType.WixVariable, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(WixVariableTupleFields.Value), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(WixVariableSymbolFields.Value), IntermediateFieldType.String), |
| 14 | new IntermediateFieldDefinition(nameof(WixVariableTupleFields.Overridable), IntermediateFieldType.Bool), | 14 | new IntermediateFieldDefinition(nameof(WixVariableSymbolFields.Overridable), IntermediateFieldType.Bool), |
| 15 | }, | 15 | }, |
| 16 | typeof(WixVariableTuple)); | 16 | typeof(WixVariableSymbol)); |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | namespace WixToolset.Data.Tuples | 20 | namespace WixToolset.Data.Symbols |
| 21 | { | 21 | { |
| 22 | public enum WixVariableTupleFields | 22 | public enum WixVariableSymbolFields |
| 23 | { | 23 | { |
| 24 | Value, | 24 | Value, |
| 25 | Overridable, | 25 | Overridable, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | public class WixVariableTuple : IntermediateTuple | 28 | public class WixVariableSymbol : IntermediateSymbol |
| 29 | { | 29 | { |
| 30 | public WixVariableTuple() : base(TupleDefinitions.WixVariable, null, null) | 30 | public WixVariableSymbol() : base(SymbolDefinitions.WixVariable, null, null) |
| 31 | { | 31 | { |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | public WixVariableTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixVariable, sourceLineNumber, id) | 34 | public WixVariableSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixVariable, sourceLineNumber, id) |
| 35 | { | 35 | { |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | public IntermediateField this[WixVariableTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[WixVariableSymbolFields index] => this.Fields[(int)index]; |
| 39 | 39 | ||
| 40 | public string Value | 40 | public string Value |
| 41 | { | 41 | { |
| 42 | get => (string)this.Fields[(int)WixVariableTupleFields.Value]; | 42 | get => (string)this.Fields[(int)WixVariableSymbolFields.Value]; |
| 43 | set => this.Set((int)WixVariableTupleFields.Value, value); | 43 | set => this.Set((int)WixVariableSymbolFields.Value, value); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | public bool Overridable | 46 | public bool Overridable |
| 47 | { | 47 | { |
| 48 | get => (bool)this.Fields[(int)WixVariableTupleFields.Overridable]; | 48 | get => (bool)this.Fields[(int)WixVariableSymbolFields.Overridable]; |
| 49 | set => this.Set((int)WixVariableTupleFields.Overridable, value); | 49 | set => this.Set((int)WixVariableSymbolFields.Overridable, value); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } | 52 | } |
