diff options
Diffstat (limited to 'src/WixToolset.Data/Tuples/ModuleExclusionTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/ModuleExclusionTuple.cs | 58 |
1 files changed, 29 insertions, 29 deletions
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 |
