aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.Burn/WixToolsetCoreServiceProviderExtensions.cs
blob: 5c3fd44937e01d19176d8a614c9a793b9cf4ff4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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.Core.Burn
{
    using WixToolset.Extensibility.Services;

    public static class WixToolsetCoreServiceProviderExtensions
    {
        public static IWixToolsetCoreServiceProvider AddBundleBackend(this IWixToolsetCoreServiceProvider coreProvider)
        {
            var extensionManager = coreProvider.GetService<IExtensionManager>();
            extensionManager.Add(typeof(BurnExtensionFactory).Assembly);

            return coreProvider;
        }
    }
}