Runtime/UnityEventListener.cs
/// <summary>
/// Count an invocation with payload.
/// </summary>
/// <param name="payload">Payload</param>
Count an invocation with payload.
Count an invocation with payload .
public void Invoke<T>(T payload)
        {
            if (payload == null)
            {
                _invocationsWithNull++;
            }
            else
            {
                _invocationsWithPayload.TryGetValue(payload, out var invocations);
                _invocationsWithPayload[payload] = invocations + 1;
            }
        }
public void Invoke < T > ( T payload ) { if ( payload == null ) { _invocationsWithNull ++ ; } else { _invocationsWithPayload . TryGetValue ( payload , out var invocations ) ; _invocationsWithPayload [ payload ] = invocations + 1 ; } }
Count an invocation with payload.
Count an invocation with payload .
payload
T
None