Show / Hide Table of Contents

Class InvocationList

Provides various extensions for InvocationList<TDelegate> type.

Inheritance
object
InvocationList
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DotNext.Collections.Specialized
Assembly: DotNext.dll
Syntax
public static class InvocationList

Methods

| Edit this page View Source

Invoke<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.

| Edit this page View Source

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.

  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾