| 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 | |
| 7 | /// <summary> |
| 8 | /// Interface extensions implement to provide data. |
| 9 | /// </summary> |
| 10 | public interface IExtensionData |
| 11 | { |
| 12 | /// <summary> |
| 13 | /// |
| 14 | /// </summary> |
| 15 | /// <param name="name"></param> |
| 16 | /// <param name="symbolDefinition"></param> |
| 17 | /// <returns>True </returns> |
| 18 | bool TryGetSymbolDefinitionByName(string name, out IntermediateSymbolDefinition symbolDefinition); |
| 19 | |
| 20 | /// <summary> |
| 21 | /// Gets the library associated with this extension. |
| 22 | /// </summary> |
| 23 | /// <param name="symbolDefinitions">The symbol definitions to use while loading the library.</param> |
| 24 | /// <returns>The library for this extension or null if there is no library.</returns> |
| 25 | Intermediate GetLibrary(ISymbolDefinitionCreator symbolDefinitions); |
| 26 | } |
| 27 | } |