ActionExtensionsInvokeRepeatT1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11(ActionT1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Int32) Method

Repeteadly invokes for the specified amount of times the method that the source Action encapsulates.

Definition

Namespace: DevCase.Extensions.ActionExtensions
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static void InvokeRepeat<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(
	this Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> action,
	T1 arg1,
	T2 arg2,
	T3 arg3,
	T4 arg4,
	T5 arg5,
	T6 arg6,
	T7 arg7,
	T8 arg8,
	T9 arg9,
	T10 arg10,
	T11 arg11,
	int count
)

Parameters

action  ActionT1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11
The source Action.
arg1  T1
The first parameter of the method that the source Action encapsulates.
arg2  T2
The second parameter of the method that the source Action encapsulates.
arg3  T3
The third parameter of the method that the source Action encapsulates.
arg4  T4
The fourth parameter of the method that the source Action encapsulates.
arg5  T5
The fifth parameter of the method that the source Action encapsulates.
arg6  T6
The sixth parameter of the method that the source Action encapsulates.
arg7  T7
The seventh parameter of the method that the source Action encapsulates.
arg8  T8
The eighth parameter of the method that the source Action encapsulates.
arg9  T9
The ninth parameter of the method that the source Action encapsulates.
arg10  T10
The tenth parameter of the method that the source Action encapsulates.
arg11  T11
The eleventh parameter of the method that the source Action encapsulates.
count  Int32
The amount of times to invoke the method that the source Action encapsulates.

Type Parameters

T1
The type of the first parameter of the method that the source Action encapsulates.
T2
The type of the second parameter of the method that the source Action encapsulates.
T3
The type of the third parameter of the method that the source Action encapsulates.
T4
The type of the fourth parameter of the method that the source Action encapsulates.
T5
The type of the fifth parameter of the method that the source Action encapsulates.
T6
The type of the sixth parameter of the method that the source Action encapsulates.
T7
The type of the seventh parameter of the method that the source Action encapsulates.
T8
The type of the eighth parameter of the method that the source Action encapsulates.
T9
The type of the ninth parameter of the method that the source Action encapsulates.
T10
The type of the tenth parameter of the method that the source Action encapsulates.
T11
The type of the eleventh parameter of the method that the source Action encapsulates.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ActionT1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Exceptions

ArgumentOutOfRangeException Value greater than zero is required.

See Also