| 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 | |
| 3 | namespace WixToolset.Extensibility |
| 4 | { |
| 5 | /// <summary> |
| 6 | /// Implemented by extensions that are backends. |
| 7 | /// </summary> |
| 8 | public interface IBackendFactory |
| 9 | { |
| 10 | /// <summary> |
| 11 | /// Called to find the backend used to produce the requested output type. |
| 12 | /// </summary> |
| 13 | /// <param name="outputType">Type of output being created.</param> |
| 14 | /// <param name="outputPath">Path to the output to create.</param> |
| 15 | /// <param name="binder">The backend for the output.</param> |
| 16 | /// <returns>True if the backend was created, otherwise false.</returns> |
| 17 | bool TryCreateBackend(string outputType, string outputPath, out IBackend binder); |
| 18 | } |
| 19 | } |