diff options
| author | Rob Mensching <rob@firegiant.com> | 2019-05-23 15:24:43 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2019-05-23 15:43:40 -0700 |
| commit | 0025fa31f46c98d37d6d204a1fb7f8ea9a12b620 (patch) | |
| tree | d312712385717f3458c4186886dbdc00d327fec6 /src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs | |
| parent | bb84eab87c7361d0af10f68b2ef6369d20762c67 (diff) | |
| download | wix-0025fa31f46c98d37d6d204a1fb7f8ea9a12b620.tar.gz wix-0025fa31f46c98d37d6d204a1fb7f8ea9a12b620.tar.bz2 wix-0025fa31f46c98d37d6d204a1fb7f8ea9a12b620.zip | |
Merge WixFileTuple in to FileTuple and remove File from FileAssemblyType
Diffstat (limited to 'src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs b/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs deleted file mode 100644 index 48d0a96c..00000000 --- a/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs +++ /dev/null | |||
| @@ -1,76 +0,0 @@ | |||
| 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 | |||
| 3 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixDeltaPatchFile = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixDeltaPatchFile, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.RetainLengths), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.IgnoreOffsets), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.IgnoreLengths), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.RetainOffsets), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.SymbolPaths), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(WixDeltaPatchFileTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum WixDeltaPatchFileTupleFields | ||
| 26 | { | ||
| 27 | RetainLengths, | ||
| 28 | IgnoreOffsets, | ||
| 29 | IgnoreLengths, | ||
| 30 | RetainOffsets, | ||
| 31 | SymbolPaths, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class WixDeltaPatchFileTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public WixDeltaPatchFileTuple() : base(TupleDefinitions.WixDeltaPatchFile, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public WixDeltaPatchFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixDeltaPatchFile, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[WixDeltaPatchFileTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string RetainLengths | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.RetainLengths]; | ||
| 49 | set => this.Set((int)WixDeltaPatchFileTupleFields.RetainLengths, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string IgnoreOffsets | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.IgnoreOffsets]; | ||
| 55 | set => this.Set((int)WixDeltaPatchFileTupleFields.IgnoreOffsets, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string IgnoreLengths | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.IgnoreLengths]; | ||
| 61 | set => this.Set((int)WixDeltaPatchFileTupleFields.IgnoreLengths, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string RetainOffsets | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.RetainOffsets]; | ||
| 67 | set => this.Set((int)WixDeltaPatchFileTupleFields.RetainOffsets, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string SymbolPaths | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.SymbolPaths]; | ||
| 73 | set => this.Set((int)WixDeltaPatchFileTupleFields.SymbolPaths, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
