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. --- .../ExtractBAContainerResult.cs | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'src/WixToolset.Core.TestPackage/ExtractBAContainerResult.cs') diff --git a/src/WixToolset.Core.TestPackage/ExtractBAContainerResult.cs b/src/WixToolset.Core.TestPackage/ExtractBAContainerResult.cs index 63d7bb31..277861ff 100644 --- a/src/WixToolset.Core.TestPackage/ExtractBAContainerResult.cs +++ b/src/WixToolset.Core.TestPackage/ExtractBAContainerResult.cs @@ -6,22 +6,61 @@ namespace WixToolset.Core.TestPackage using System.Xml; using Xunit; + /// + /// The result of extracting the BA container. + /// public class ExtractBAContainerResult { + /// + /// for BundleExtensionData.xml. + /// public XmlDocument BundleExtensionDataDocument { get; set; } + + /// + /// for BundleExtensionData.xml. + /// public XmlNamespaceManager BundleExtensionDataNamespaceManager { get; set; } + + /// + /// for BootstrapperApplicationData.xml. + /// public XmlDocument BADataDocument { get; set; } + + /// + /// for BootstrapperApplicationData.xml. + /// public XmlNamespaceManager BADataNamespaceManager { get; set; } + + /// + /// for the Burn manifest.xml. + /// public XmlDocument ManifestDocument { get; set; } + + /// + /// for the Burn manifest.xml. + /// public XmlNamespaceManager ManifestNamespaceManager { get; set; } + + /// + /// Whether extraction succeeded. + /// public bool Success { get; set; } + /// + /// + /// + /// public ExtractBAContainerResult AssertSuccess() { Assert.True(this.Success); return this; } + /// + /// Returns the relative path of the BA entry point dll in the given folder. + /// + /// + /// public string GetBAFilePath(string extractedBAContainerFolderPath) { var uxPayloads = this.SelectManifestNodes("/burn:BurnManifest/burn:UX/burn:Payload"); @@ -30,6 +69,12 @@ namespace WixToolset.Core.TestPackage return Path.Combine(extractedBAContainerFolderPath, relativeBAPath); } + /// + /// Returns the relative path of the BundleExtension entry point dll in the given folder. + /// + /// + /// + /// public string GetBundleExtensionFilePath(string extractedBAContainerFolderPath, string extensionId) { var uxPayloads = this.SelectManifestNodes($"/burn:BurnManifest/burn:UX/burn:Payload[@Id='{extensionId}']"); -- cgit v1.2.3-55-g6feb