Skip to content

Commit 281e42f

Browse files
committed
Update FluentPropertyApi.cs
1 parent b032d70 commit 281e42f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

ObjectFiller/Setup/FluentPropertyApi.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,6 @@ public FluentPropertyApi<TTargetObject, TTargetType> DoIt(At propertyOrder)
3636
return this;
3737
}
3838

39-
/// <summary>
40-
/// If a property is not writable because of private setter you can allow the objectfiller
41-
/// to write it anyway
42-
/// </summary>
43-
/// <returns></returns>
44-
public FluentPropertyApi<TTargetObject, TTargetType> WritePrivateSetter()
45-
{
46-
SetupManager.GetFor<TTargetObject>().PropertiesWritePrivateSetter.AddRange(_affectedProps);
47-
48-
return this;
49-
}
50-
5139
/// <summary>
5240
/// Use the default random generator method for the given type.
5341
/// Its usefull when you want to define the order of the property with <see cref="DoIt"/>, but you

0 commit comments

Comments
 (0)