blob: 7b12fc8c9b1d36d9290c32d508b17c3813eaa08a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// 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.WindowsInstaller
{
using System;
using WixToolset.Extensibility;
internal class WindowsInstallerExtensionFactory : IExtensionFactory
{
public bool TryCreateExtension(Type extensionType, out object extension)
{
extension = null;
if (extensionType == typeof(IBackendFactory))
{
extension = new WindowsInstallerBackendFactory();
}
return extension != null;
}
}
}
|