Skip to content

Commit dab73c9

Browse files
committed
Added ability to convert from builder proxy object to a ListBuilder instance (for use in extension methods and the like)
1 parent cbbad23 commit dab73c9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

NTestDataBuilder/TestDataBuilder.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ public abstract class TestDataBuilder<TObject, TBuilder>
1616
{
1717
private readonly Dictionary<string, object> _properties = new Dictionary<string, object>();
1818
private ProxyBuilder<TObject> _proxyBuilder;
19-
internal ListBuilder<TObject, TBuilder> ListBuilder { get; set; }
19+
20+
/// <summary>
21+
/// The list builder instance (if this ia a list builder proxy).
22+
/// </summary>
23+
public ListBuilder<TObject, TBuilder> ListBuilder { get; internal set; }
2024

2125
/// <summary>
2226
/// Default Constructor.

0 commit comments

Comments
 (0)