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