From 0025fa31f46c98d37d6d204a1fb7f8ea9a12b620 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Thu, 23 May 2019 15:24:43 -0700 Subject: Merge WixFileTuple in to FileTuple and remove File from FileAssemblyType --- .../Tuples/WixDeltaPatchFileTuple.cs | 76 ---------------------- 1 file changed, 76 deletions(-) delete mode 100644 src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs (limited to 'src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs') 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 @@ -// 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. - -namespace WixToolset.Data -{ - using WixToolset.Data.Tuples; - - public static partial class TupleDefinitions - { - public static readonly IntermediateTupleDefinition WixDeltaPatchFile = new IntermediateTupleDefinition( - TupleDefinitionType.WixDeltaPatchFile, - new[] - { - new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.RetainLengths), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.IgnoreOffsets), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.IgnoreLengths), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.RetainOffsets), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.SymbolPaths), IntermediateFieldType.String), - }, - typeof(WixDeltaPatchFileTuple)); - } -} - -namespace WixToolset.Data.Tuples -{ - public enum WixDeltaPatchFileTupleFields - { - RetainLengths, - IgnoreOffsets, - IgnoreLengths, - RetainOffsets, - SymbolPaths, - } - - public class WixDeltaPatchFileTuple : IntermediateTuple - { - public WixDeltaPatchFileTuple() : base(TupleDefinitions.WixDeltaPatchFile, null, null) - { - } - - public WixDeltaPatchFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixDeltaPatchFile, sourceLineNumber, id) - { - } - - public IntermediateField this[WixDeltaPatchFileTupleFields index] => this.Fields[(int)index]; - - public string RetainLengths - { - get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.RetainLengths]; - set => this.Set((int)WixDeltaPatchFileTupleFields.RetainLengths, value); - } - - public string IgnoreOffsets - { - get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.IgnoreOffsets]; - set => this.Set((int)WixDeltaPatchFileTupleFields.IgnoreOffsets, value); - } - - public string IgnoreLengths - { - get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.IgnoreLengths]; - set => this.Set((int)WixDeltaPatchFileTupleFields.IgnoreLengths, value); - } - - public string RetainOffsets - { - get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.RetainOffsets]; - set => this.Set((int)WixDeltaPatchFileTupleFields.RetainOffsets, value); - } - - public string SymbolPaths - { - get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.SymbolPaths]; - set => this.Set((int)WixDeltaPatchFileTupleFields.SymbolPaths, value); - } - } -} \ No newline at end of file -- cgit v1.2.3-55-g6feb