Skip to content

Commit 97291bf

Browse files
committed
Update ObjectFillerSetup.cs
1 parent 40c1fd3 commit 97291bf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ObjectFiller/Setup/ObjectFillerSetup.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public ObjectFillerSetup()
1717
PropertiesToIgnore = new List<PropertyInfo>();
1818
PropertyOrder = new Dictionary<PropertyInfo, At>();
1919
TypesToIgnore = new List<Type>();
20+
PropertiesWritePrivateSetter = new List<PropertyInfo>();
2021

2122
InterfaceToImplementation = new Dictionary<Type, Type>();
2223

@@ -99,5 +100,10 @@ private void SetDefaultRandomizer()
99100
/// Interface Mocker for interface generation
100101
/// </summary>
101102
public IInterfaceMocker InterfaceMocker { get; set; }
103+
104+
/// <summary>
105+
/// Properties for which it is allowed to write the private setter
106+
/// </summary>
107+
public List<PropertyInfo> PropertiesWritePrivateSetter { get; private set; }
102108
}
103109
}

0 commit comments

Comments
 (0)