ActionExtensionsInvokeRepeatT1, T2(ActionT1, T2, T1, T2, 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>(
this Action<T1, T2> action,
T1 arg1,
T2 arg2,
int count
)
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
<ExtensionAttribute>
Public Shared Sub InvokeRepeat(Of T1, T2) (
action As Action(Of T1, T2),
arg1 As T1,
arg2 As T2,
count As Integer
)
Dim action As Action(Of T1, T2)
Dim arg1 As T1
Dim arg2 As T2
Dim count As Integer
action.InvokeRepeat(arg1, arg2, count)
public:
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
[ExtensionAttribute]
generic<typename T1, typename T2>
static void InvokeRepeat(
Action<T1, T2>^ action,
T1 arg1,
T2 arg2,
int count
)
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
[<ExtensionAttribute>]
static member InvokeRepeat :
action : Action<'T1, 'T2> *
arg1 : 'T1 *
arg2 : 'T2 *
count : int -> unit
No code example is currently available or this language may not be supported.
- action ActionT1, T2
-
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.
- 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.
In Visual Basic and C#, you can call this method as an instance method on any object of type
ActionT1,
T2. 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.
|