aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Bind/DelayedField.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/Bind/DelayedField.cs')
-rw-r--r--src/WixToolset.Core/Bind/DelayedField.cs38
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
3namespace 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}