You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ObjectFiller/IFluentFillerApi.cs
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,17 @@
4
4
5
5
namespaceObjectFiller
6
6
{
7
+
/// <summary>
8
+
/// Interface for the fluent API of the ObjectFiller.NET.
9
+
/// </summary>
10
+
/// <typeparam name="TTargetObject">Type of the object which will be configured</typeparam>
7
11
publicinterfaceIFluentFillerApi<TTargetObject>
8
12
whereTTargetObject:class
9
13
{
10
14
/// <summary>
11
15
/// Sets the randomizer for the given type with a function delegate.
12
16
/// This will then be the default way to generate data for the given <see cref="TTargetType"/>.
13
-
/// When you want to change the randomizer of a specific propery look at <seealso cref="RandomizerForProperty{TTargetPoco,TTargetType}(System.Func{TTargetType},System.Linq.Expressions.Expression{System.Func{TTargetPoco,TTargetType}}[])"/>
17
+
/// When you want to change the randomizer of a specific propery look at <seealso cref="RandomizerForProperty{TTargetType}(System.Func{TTargetType},System.Linq.Expressions.Expression{System.Func{TTargetObject,TTargetType}},System.Linq.Expressions.Expression{System.Func{TTargetObject,TTargetType}}[])"/>
14
18
/// </summary>
15
19
/// <typeparam name="TTargetType">Type for which the randomizer will be set. For example string, int, etc...</typeparam>
16
20
/// <param name="randomizer">The randomizer delegate has the task to generate the random data for the given <see cref="TTargetType"/></param>
@@ -19,7 +23,7 @@ public interface IFluentFillerApi<TTargetObject>
19
23
/// <summary>
20
24
/// Sets the randomizer for the given type with a implementation of the <see cref="IRandomizerPlugin{T}"/>.
21
25
/// This will then be the default way to generate data for the given <see cref="TTargetType"/>.
22
-
/// When you want to change the randomizer of a specific propery look at <seealso cref="RandomizerForProperty{TTargetPoco,TTargetType}(System.Func{TTargetType},System.Linq.Expressions.Expression{System.Func{TTargetPoco,TTargetType}}[])"/>
26
+
/// When you want to change the randomizer of a specific propery look at <seealso cref="RandomizerForProperty{TTargetType}(System.Func{TTargetType},System.Linq.Expressions.Expression{System.Func{TTargetObject,TTargetType}},System.Linq.Expressions.Expression{System.Func{TTargetObject,TTargetType}}[])"/>
23
27
/// </summary>
24
28
/// <typeparam name="TTargetType">Type for which the randomizer plugin will be set. For example string, int, etc...</typeparam>
25
29
/// <param name="randomizerPlugin">The randomizer plugin has the task to generate random data for the given <see cref="TTargetType"/></param>
/// Sets the randomizer for the given type with a function delegate.
14
18
/// This will then be the default way to generate data for the given <see cref="TTargetType"/>.
15
-
/// When you want to change the randomizer of a specific propery look at <seealso cref="IFluentFillerApi{TTargetObject}.RandomizerForProperty{TTargetObject,TTargetType}(System.Func{TTargetType},System.Linq.Expressions.Expression{System.Func{TTargetObject,TTargetType}}[])"/>
19
+
/// When you want to change the randomizer of a specific propery look at <seealso cref="IFluentFillerApi{TTargetObject}.RandomizerForProperty{TTargetType}(System.Func{TTargetType},System.Linq.Expressions.Expression{System.Func{TTargetObject,TTargetType}},System.Linq.Expressions.Expression{System.Func{TTargetObject,TTargetType}}[])"/>
16
20
/// </summary>
17
21
/// <typeparam name="TTargetType">Type for which the randomizer will be set. For example string, int, etc...</typeparam>
18
22
/// <param name="randomizer">The randomizer delegate has the task to generate the random data for the given <see cref="TTargetType"/></param>
@@ -25,7 +29,7 @@ public IFluentFillerApi<TTargetObject> RandomizerForType<TTargetType>(Func<TTarg
25
29
/// <summary>
26
30
/// Sets the randomizer for the given type with a implementation of the <see cref="IRandomizerPlugin{T}"/>.
27
31
/// This will then be the default way to generate data for the given <see cref="TTargetType"/>.
28
-
/// When you want to change the randomizer of a specific propery look at <seealso cref="IFluentFillerApi{TTargetObject}.RandomizerForProperty{TTargetObject,TTargetType}(System.Func{TTargetType},System.Linq.Expressions.Expression{System.Func{TTargetObject,TTargetType}}[])"/>
32
+
/// When you want to change the randomizer of a specific propery look at <seealso cref="IFluentFillerApi{TTargetObject}.RandomizerForProperty{TTargetType}(System.Func{TTargetType},System.Linq.Expressions.Expression{System.Func{TTargetObject,TTargetType}},System.Linq.Expressions.Expression{System.Func{TTargetObject,TTargetType}}[])"/>
29
33
/// </summary>
30
34
/// <typeparam name="TTargetType">Type for which the randomizer plugin will be set. For example string, int, etc...</typeparam>
31
35
/// <param name="randomizerPlugin">The randomizer plugin has the task to generate random data for the given <see cref="TTargetType"/></param>
@@ -50,7 +54,7 @@ public IFluentFillerApi<TTargetObject> RandomizerForType<TTargetType>(IRandomize
0 commit comments