From 311dbab658184e603953791a075c776456226b95 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 29 May 2020 11:44:46 +1000 Subject: Add overloads to WindowsInstallerData.Load for table definitions. --- src/WixToolset.Data/WindowsInstaller/SubStorage.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/WixToolset.Data/WindowsInstaller/SubStorage.cs') diff --git a/src/WixToolset.Data/WindowsInstaller/SubStorage.cs b/src/WixToolset.Data/WindowsInstaller/SubStorage.cs index e24839c0..76b1b795 100644 --- a/src/WixToolset.Data/WindowsInstaller/SubStorage.cs +++ b/src/WixToolset.Data/WindowsInstaller/SubStorage.cs @@ -36,8 +36,9 @@ namespace WixToolset.Data.WindowsInstaller /// Creates a SubStorage from the XmlReader. /// /// Reader to get data from. + /// Table definitions to use for strongly-typed rows. /// New SubStorage object. - internal static SubStorage Read(XmlReader reader) + internal static SubStorage Read(XmlReader reader, TableDefinitionCollection tableDefinitions) { if (reader.LocalName != "subStorage") { @@ -71,7 +72,7 @@ namespace WixToolset.Data.WindowsInstaller switch (reader.LocalName) { case WindowsInstallerData.XmlElementName: - data = WindowsInstallerData.Read(reader, true); + data = WindowsInstallerData.Read(reader, tableDefinitions, true); break; default: throw new XmlException(); -- cgit v1.2.3-55-g6feb