diff options
Diffstat (limited to 'src/api')
4 files changed, 19 insertions, 47 deletions
diff --git a/src/api/wix/WixToolset.Extensibility/Data/IUnbindContext.cs b/src/api/wix/WixToolset.Extensibility/Data/IUnbindContext.cs deleted file mode 100644 index 6427422f..00000000 --- a/src/api/wix/WixToolset.Extensibility/Data/IUnbindContext.cs +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
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.Data | ||
4 | { | ||
5 | using System; | ||
6 | |||
7 | #pragma warning disable 1591 // TODO: add documentation | ||
8 | public interface IUnbindContext | ||
9 | { | ||
10 | IServiceProvider ServiceProvider { get; } | ||
11 | |||
12 | string ExportBasePath { get; set; } | ||
13 | |||
14 | string InputFilePath { get; set; } | ||
15 | |||
16 | string IntermediateFolder { get; set; } | ||
17 | |||
18 | bool IsAdminImage { get; set; } | ||
19 | |||
20 | bool SuppressDemodularization { get; set; } | ||
21 | |||
22 | bool SuppressExtractCabinets { get; set; } | ||
23 | } | ||
24 | } \ No newline at end of file | ||
diff --git a/src/api/wix/WixToolset.Extensibility/IBackend.cs b/src/api/wix/WixToolset.Extensibility/IBackend.cs index be8406e4..cb151e05 100644 --- a/src/api/wix/WixToolset.Extensibility/IBackend.cs +++ b/src/api/wix/WixToolset.Extensibility/IBackend.cs | |||
@@ -2,16 +2,21 @@ | |||
2 | 2 | ||
3 | namespace WixToolset.Extensibility | 3 | namespace WixToolset.Extensibility |
4 | { | 4 | { |
5 | using WixToolset.Data; | ||
6 | using WixToolset.Extensibility.Data; | 5 | using WixToolset.Extensibility.Data; |
7 | 6 | ||
8 | #pragma warning disable 1591 // TODO: add documentation | 7 | /// <summary> |
8 | /// Interface all backends implement. | ||
9 | /// </summary> | ||
9 | public interface IBackend | 10 | public interface IBackend |
10 | { | 11 | { |
12 | /// <summary> | ||
13 | /// Bind the intermediate into the final output. | ||
14 | /// </summary> | ||
15 | /// <param name="context">Bind context.</param> | ||
16 | /// <returns>Result of the bind operation.</returns> | ||
11 | IBindResult Bind(IBindContext context); | 17 | IBindResult Bind(IBindContext context); |
12 | 18 | ||
19 | #pragma warning disable 1591 // TODO: add documentation | ||
13 | IDecompileResult Decompile(IDecompileContext context); | 20 | IDecompileResult Decompile(IDecompileContext context); |
14 | |||
15 | Intermediate Unbind(IUnbindContext context); | ||
16 | } | 21 | } |
17 | } | 22 | } |
diff --git a/src/api/wix/WixToolset.Extensibility/IBackendFactory.cs b/src/api/wix/WixToolset.Extensibility/IBackendFactory.cs index 99a6704f..7f9ef62d 100644 --- a/src/api/wix/WixToolset.Extensibility/IBackendFactory.cs +++ b/src/api/wix/WixToolset.Extensibility/IBackendFactory.cs | |||
@@ -2,9 +2,18 @@ | |||
2 | 2 | ||
3 | namespace WixToolset.Extensibility | 3 | namespace WixToolset.Extensibility |
4 | { | 4 | { |
5 | #pragma warning disable 1591 // TODO: add documentation | 5 | /// <summary> |
6 | /// Implemented by extensions to create backends. | ||
7 | /// </summary> | ||
6 | public interface IBackendFactory | 8 | public interface IBackendFactory |
7 | { | 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="backend">The backend for the output.</param> | ||
16 | /// <returns>True if the backend was created, otherwise false.</returns> | ||
8 | bool TryCreateBackend(string outputType, string outputPath, out IBackend backend); | 17 | bool TryCreateBackend(string outputType, string outputPath, out IBackend backend); |
9 | } | 18 | } |
10 | } | 19 | } |
diff --git a/src/api/wix/WixToolset.Extensibility/IUnbinderExtension.cs b/src/api/wix/WixToolset.Extensibility/IUnbinderExtension.cs deleted file mode 100644 index 0e9a2504..00000000 --- a/src/api/wix/WixToolset.Extensibility/IUnbinderExtension.cs +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
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 | using System; | ||
6 | using WixToolset.Data; | ||
7 | |||
8 | /// <summary> | ||
9 | /// Base class for creating an unbinder extension. | ||
10 | /// </summary> | ||
11 | public interface IUnbinderExtension | ||
12 | { | ||
13 | /// <summary> | ||
14 | /// Called during the generation of sectionIds for an admin image. | ||
15 | /// </summary> | ||
16 | void GenerateSectionIds(Intermediate output); | ||
17 | } | ||
18 | } | ||