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