From 49f1209035aac1fcfad5dbbe25f7b2306d3be86c Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Thu, 7 Dec 2017 14:19:05 -0800 Subject: Support MSI backends creating custom tables and remove WixToolset.Data.WindowsInstaller --- .../Rows/SummaryInfoRowCollection.cs | 42 ---------------------- 1 file changed, 42 deletions(-) delete mode 100644 src/WixToolset.Data.WindowsInstaller/Rows/SummaryInfoRowCollection.cs (limited to 'src/WixToolset.Data.WindowsInstaller/Rows/SummaryInfoRowCollection.cs') diff --git a/src/WixToolset.Data.WindowsInstaller/Rows/SummaryInfoRowCollection.cs b/src/WixToolset.Data.WindowsInstaller/Rows/SummaryInfoRowCollection.cs deleted file mode 100644 index bc931f15..00000000 --- a/src/WixToolset.Data.WindowsInstaller/Rows/SummaryInfoRowCollection.cs +++ /dev/null @@ -1,42 +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.Rows -{ - using System; - using System.Collections; - using System.Collections.ObjectModel; - - /// - /// Indexed container class for summary information rows. - /// - public sealed class SummaryInfoRowCollection : KeyedCollection - { - /// - /// Creates the keyed collection from existing rows in a table. - /// - /// The summary information table to index. - public SummaryInfoRowCollection(Table table) - { - if (0 != String.CompareOrdinal("_SummaryInformation", table.Name)) - { - string message = string.Format(WixDataStrings.EXP_UnsupportedTable, table.Name); - throw new ArgumentException(message, "table"); - } - - foreach (Row row in table.Rows) - { - this.Add(row); - } - } - - /// - /// Gets the summary property ID for the . - /// - /// The row to index. - /// The summary property ID for the . - protected override int GetKeyForItem(Row row) - { - return (int)row[0]; - } - } -} -- cgit v1.2.3-55-g6feb