DotNext by .NET Foundation and Contributors

<PackageReference Include="DotNext" Version="4.15.2" />

 InvocationList

public static class InvocationList
Provides various extensions for InvocationList<T> type.
public static ReadOnlySpan<TDelegate> AsSpan<TDelegate>(this ref InvocationList delegates) where TDelegate : MulticastDelegate

Gets a span over the delegates in the list.

public static void Invoke<T>(this InvocationList<Action<T>> actions, T arg)

Invokes all actions in the list.

public static void Invoke<T1, T2>(this InvocationList<Action<T1, T2>> actions, T1 arg1, T2 arg2)

Invokes all actions in the list.