diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-09-17 15:35:20 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-09-17 16:00:11 -0700 |
| commit | d3d3649a68cb1fa589fdd987a6690dbd5d671f0d (patch) | |
| tree | 44fe37ee352b7e3a355cc1e08b1d7d5988c14cc0 /src/WixToolset.Core/Bind/DelayedField.cs | |
| parent | a62610d23d6feb98be3b1e529a4e81b19d77d9d8 (diff) | |
| download | wix-d3d3649a68cb1fa589fdd987a6690dbd5d671f0d.tar.gz wix-d3d3649a68cb1fa589fdd987a6690dbd5d671f0d.tar.bz2 wix-d3d3649a68cb1fa589fdd987a6690dbd5d671f0d.zip | |
Initial code commit
Diffstat (limited to 'src/WixToolset.Core/Bind/DelayedField.cs')
| -rw-r--r-- | src/WixToolset.Core/Bind/DelayedField.cs | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/WixToolset.Core/Bind/DelayedField.cs b/src/WixToolset.Core/Bind/DelayedField.cs new file mode 100644 index 00000000..181ac3e3 --- /dev/null +++ b/src/WixToolset.Core/Bind/DelayedField.cs | |||
| @@ -0,0 +1,38 @@ | |||
| 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.Bind | ||
| 4 | { | ||
| 5 | using System; | ||
| 6 | using System.Collections.Generic; | ||
| 7 | using System.Linq; | ||
| 8 | using System.Text; | ||
| 9 | using WixToolset.Data; | ||
| 10 | |||
| 11 | /// <summary> | ||
| 12 | /// Structure used to hold a row and field that contain binder variables, which need to be resolved | ||
| 13 | /// later, once the files have been resolved. | ||
| 14 | /// </summary> | ||
| 15 | internal class DelayedField | ||
| 16 | { | ||
| 17 | /// <summary> | ||
| 18 | /// Basic constructor for struct | ||
| 19 | /// </summary> | ||
| 20 | /// <param name="row">Row for the field.</param> | ||
| 21 | /// <param name="field">Field needing further resolution.</param> | ||
| 22 | public DelayedField(Row row, Field field) | ||
| 23 | { | ||
| 24 | this.Row = row; | ||
| 25 | this.Field = field; | ||
| 26 | } | ||
| 27 | |||
| 28 | /// <summary> | ||
| 29 | /// The row containing the field. | ||
| 30 | /// </summary> | ||
| 31 | public Row Row { get; private set; } | ||
| 32 | |||
| 33 | /// <summary> | ||
| 34 | /// The field needing further resolving. | ||
| 35 | /// </summary> | ||
| 36 | public Field Field { get; private set; } | ||
| 37 | } | ||
| 38 | } | ||
