| 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.Core.Bind |
| 4 | { |
| 5 | using WixToolset.Data; |
| 6 | using WixToolset.Extensibility.Data; |
| 7 | |
| 8 | /// <summary> |
| 9 | /// Holds a symbol and field that contain binder variables, which need to be resolved |
| 10 | /// later, once the files have been resolved. |
| 11 | /// </summary> |
| 12 | internal class DelayedField : IDelayedField |
| 13 | { |
| 14 | /// <summary> |
| 15 | /// Creates a delayed field. |
| 16 | /// </summary> |
| 17 | /// <param name="symbol">Symbol for the field.</param> |
| 18 | /// <param name="field">Field needing further resolution.</param> |
| 19 | public DelayedField(IntermediateSymbol symbol, IntermediateField field) |
| 20 | { |
| 21 | this.Symbol = symbol; |
| 22 | this.Field = field; |
| 23 | } |
| 24 | |
| 25 | /// <summary> |
| 26 | /// The row containing the field. |
| 27 | /// </summary> |
| 28 | public IntermediateSymbol Symbol { get; } |
| 29 | |
| 30 | /// <summary> |
| 31 | /// The field needing further resolving. |
| 32 | /// </summary> |
| 33 | public IntermediateField Field { get; } |
| 34 | } |
| 35 | } |