aboutsummaryrefslogtreecommitdiff
path: root/src/wix/WixToolset.Core.Burn/Bundles/PackageFacade.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wix/WixToolset.Core.Burn/Bundles/PackageFacade.cs')
-rw-r--r--src/wix/WixToolset.Core.Burn/Bundles/PackageFacade.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/wix/WixToolset.Core.Burn/Bundles/PackageFacade.cs b/src/wix/WixToolset.Core.Burn/Bundles/PackageFacade.cs
new file mode 100644
index 00000000..471262de
--- /dev/null
+++ b/src/wix/WixToolset.Core.Burn/Bundles/PackageFacade.cs
@@ -0,0 +1,25 @@
1// 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.
2
3namespace WixToolset.Core.Burn.Bundles
4{
5 using System.Diagnostics;
6 using WixToolset.Data;
7 using WixToolset.Data.Symbols;
8
9 internal class PackageFacade
10 {
11 public PackageFacade(WixBundlePackageSymbol packageSymbol, IntermediateSymbol specificPackageSymbol)
12 {
13 Debug.Assert(packageSymbol.Id.Id == specificPackageSymbol.Id.Id);
14
15 this.PackageSymbol = packageSymbol;
16 this.SpecificPackageSymbol = specificPackageSymbol;
17 }
18
19 public string PackageId => this.PackageSymbol.Id.Id;
20
21 public WixBundlePackageSymbol PackageSymbol { get; }
22
23 public IntermediateSymbol SpecificPackageSymbol { get; }
24 }
25}