ActionExtensionsInvokeRepeatT1, T2, T3, T4, T5, T6, T7, T8(ActionT1, T2, T3, T4, T5, T6, T7, T8, T1, T2, T3, T4, T5, T6, T7, T8, Int32) Method
Repeteadly invokes for the specified amount of times the method that the source Action encapsulates.
Namespace: DevCase.Extensions.ActionExtensionsAssembly: 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>(
this Action<T1, T2, T3, T4, T5, T6, T7, T8> action,
T1 arg1,
T2 arg2,
T3 arg3,
T4 arg4,
T5 arg5,
T6 arg6,
T7 arg7,
T8 arg8,
int count
)
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
<ExtensionAttribute>
Public Shared Sub InvokeRepeat(Of T1, T2, T3, T4, T5, T6, T7, T8) (
action As Action(Of T1, T2, T3, T4, T5, T6, T7, T8),
arg1 As T1,
arg2 As T2,
arg3 As T3,
arg4 As T4,
arg5 As T5,
arg6 As T6,
arg7 As T7,
arg8 As T8,
count As Integer
)
Dim action As Action(Of T1, T2, T3, T4, T5, T6, T7, T8)
Dim arg1 As T1
Dim arg2 As T2
Dim arg3 As T3
Dim arg4 As T4
Dim arg5 As T5
Dim arg6 As T6
Dim arg7 As T7
Dim arg8 As T8
Dim count As Integer
action.InvokeRepeat(arg1, arg2, arg3,
arg4, arg5, arg6, arg7, arg8, count)
public:
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
[ExtensionAttribute]
generic<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8>
static void InvokeRepeat(
Action<T1, T2, T3, T4, T5, T6, T7, T8>^ action,
T1 arg1,
T2 arg2,
T3 arg3,
T4 arg4,
T5 arg5,
T6 arg6,
T7 arg7,
T8 arg8,
int count
)
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
[<ExtensionAttribute>]
static member InvokeRepeat :
action : Action<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8> *
arg1 : 'T1 *
arg2 : 'T2 *
arg3 : 'T3 *
arg4 : 'T4 *
arg5 : 'T5 *
arg6 : 'T6 *
arg7 : 'T7 *
arg8 : 'T8 *
count : int -> unit
No code example is currently available or this language may not be supported.
- action ActionT1, T2, T3, T4, T5, T6, T7, T8
-
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.
- count Int32
-
The amount of times to invoke the method that the source Action encapsulates.
- 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.
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. 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).
ArgumentOutOfRangeException
|
Value greater than zero is required.
|