| 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 WixToolset.Data; |
| 6 | using WixToolset.Extensibility.Data; |
| 7 | |
| 8 | /// <summary> |
| 9 | /// Interface all resolver extensions implement. |
| 10 | /// </summary> |
| 11 | public interface IResolverExtension |
| 12 | { |
| 13 | /// <summary> |
| 14 | /// Called before resolving occurs. |
| 15 | /// </summary> |
| 16 | void PreResolve(IResolveContext context); |
| 17 | |
| 18 | /// <summary> |
| 19 | /// Called to attempt to resolve source to a file. |
| 20 | /// </summary> |
| 21 | IResolveFileResult ResolveFile(string source, IntermediateSymbolDefinition symbolDefinition, SourceLineNumber sourceLineNumbers, BindStage bindStage); |
| 22 | |
| 23 | /// <summary> |
| 24 | /// Called after all resolving occurs. |
| 25 | /// </summary> |
| 26 | void PostResolve(IResolveResult result); |
| 27 | } |
| 28 | } |