Class InvocationList
Provides various extensions for InvocationList<TDelegate> type.
Inherited Members
Namespace: DotNext.Collections.Specialized
Assembly: DotNext.dll
Syntax
public static class InvocationList
Methods
| Edit this page View SourceInvoke<T>(InvocationList<Action<T>>, T)
Invokes all actions in the list.
Declaration
public static void Invoke<T>(this InvocationList<Action<T>> actions, T arg)
Parameters
Type | Name | Description |
---|---|---|
InvocationList<Action<T>> | actions | The list of actions. |
T | arg | The argument of the action. |
Type Parameters
Name | Description |
---|---|
T | The type of the action argument. |
Invoke<T1, T2>(InvocationList<Action<T1, T2>>, T1, T2)
Invokes all actions in the list.
Declaration
public static void Invoke<T1, T2>(this InvocationList<Action<T1, T2>> actions, T1 arg1, T2 arg2)
Parameters
Type | Name | Description |
---|---|---|
InvocationList<Action<T1, T2>> | actions | The list of actions. |
T1 | arg1 | The first argument of the action. |
T2 | arg2 | The second argument of the action. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first action argument. |
T2 | The type of the second action argument. |