From 0e71bdd637a6b3c34f18d4b3630d55fa4cdfd2a3 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 18 Dec 2020 22:04:48 -0600 Subject: Enable XML doc. --- .../Decompile/Decompiler.cs | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'src/WixToolset.Core.WindowsInstaller/Decompile') diff --git a/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs b/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs index 2288cedf..29e15c91 100644 --- a/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs +++ b/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs @@ -248,19 +248,20 @@ namespace WixToolset.Core.WindowsInstaller private XElement GetIndexedElement(string table, params string[] primaryKey) => this.IndexedElements[String.Concat(table, ':', String.Join(DecompilerConstants.PrimaryKeyDelimiterString, primaryKey))]; /// - /// Gets the element corresponding to the primary key of the given table. + /// Tries to get the element corresponding to the primary key of the given table. /// - /// The table corresponding to the element. - /// The primary key corresponding to the element. - /// The indexed element. + /// The table corresponding to the element. + /// The indexed element. + /// Whether the element was found. private bool TryGetIndexedElement(WixToolset.Data.WindowsInstaller.Row row, out XElement xElement) => this.TryGetIndexedElement(row.TableDefinition.Name, out xElement, row.GetPrimaryKey(DecompilerConstants.PrimaryKeyDelimiter)); /// - /// Gets the element corresponding to the primary key of the given table. + /// Tries to get the element corresponding to the primary key of the given table. /// /// The table corresponding to the element. + /// The indexed element. /// The primary key corresponding to the element. - /// The indexed element. + /// Whether the element was found. private bool TryGetIndexedElement(string table, out XElement xElement, params string[] primaryKey) => this.IndexedElements.TryGetValue(String.Concat(table, ':', String.Join(DecompilerConstants.PrimaryKeyDelimiterString, primaryKey)), out xElement); /// @@ -276,8 +277,9 @@ namespace WixToolset.Core.WindowsInstaller /// /// Index an element by its corresponding row. /// - /// The row corresponding to the element. /// The element to index. + /// + /// private void IndexElement(XElement element, string table, params string[] primaryKey) { this.IndexedElements.Add(String.Concat(table, ':', String.Join(DecompilerConstants.PrimaryKeyDelimiterString, primaryKey)), element); @@ -342,7 +344,7 @@ namespace WixToolset.Core.WindowsInstaller /// Set the common control attributes in a control element. /// /// The control attributes. - /// The control element. + /// The control element. private static void SetControlAttributes(int attributes, XElement xControl) { if (0 == (attributes & WindowsInstallerConstants.MsidbControlAttributesEnabled)) @@ -2424,6 +2426,7 @@ namespace WixToolset.Core.WindowsInstaller /// Initialize decompilation. /// /// The collection of all tables. + /// private void InitializeDecompile(TableIndexedCollection tables, int codepage) { // reset all the state information @@ -2983,7 +2986,7 @@ namespace WixToolset.Core.WindowsInstaller /// /// Decompile the _SummaryInformation table. /// - /// The table to decompile. + /// The tables to decompile. private void FinalizeSummaryInformationStream(TableIndexedCollection tables) { var table = tables["_SummaryInformation"]; -- cgit v1.2.3-55-g6feb