aboutsummaryrefslogtreecommitdiff
path: root/src/test/burn/WixToolset.WixBA/WixBAFactory.cs
blob: 67fcc4b52f60fe0d1bb4ec9d0a886828e651e624 (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.

// Identifies the class that derives from IBootstrapperApplicationFactory and is the BAFactory class that gets
// instantiated by the interop layer
[assembly: WixToolset.Mba.Core.BootstrapperApplicationFactory(typeof(WixToolset.WixBA.WixBAFactory))]
namespace WixToolset.WixBA
{
    using WixToolset.Mba.Core;

    public class WixBAFactory : BaseBootstrapperApplicationFactory
    {
        protected override IBootstrapperApplication Create(IEngine engine, IBootstrapperCommand command)
        {
            return new WixBA(engine, command);
        }
    }
}