| 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 WixToolset.Data; |
| 6 | |
| 7 | /// <summary> |
| 8 | /// Interface used to by extensions to define a component key path or |
| 9 | /// (non-intuitively) the executable payload for a the bootstrapper application. |
| 10 | /// </summary> |
| 11 | public interface IComponentKeyPath |
| 12 | { |
| 13 | /// <summary> |
| 14 | /// Indicates whether the key path was specified explicitly. |
| 15 | /// </summary> |
| 16 | bool Explicit { get; set; } |
| 17 | |
| 18 | /// <summary> |
| 19 | /// Gets or sets the key path or executable payload identifier. |
| 20 | /// </summary> |
| 21 | Identifier Id { get; set; } |
| 22 | |
| 23 | /// <summary> |
| 24 | /// Gets or sets the key path type for the component or if the |
| 25 | /// executable payload for a bootstrapper application is provided |
| 26 | /// as a File. |
| 27 | /// </summary> |
| 28 | PossibleKeyPathType Type { get; set; } |
| 29 | } |
| 30 | } |