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