blob: e9b60929e859601773d450ad85294fab8b201358 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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.BootstrapperCore
{
public abstract class BaseBootstrapperApplicationFactory : IBootstrapperApplicationFactory
{
public IBootstrapperApplication Create(IBootstrapperEngine pEngine, ref Command command)
{
IEngine engine = new Engine(pEngine);
IBootstrapperCommand bootstrapperCommand = command.GetBootstrapperCommand();
return this.Create(engine, bootstrapperCommand);
}
protected abstract IBootstrapperApplication Create(IEngine engine, IBootstrapperCommand bootstrapperCommand);
}
}
|