public void Invoke(TEvent argument, TCallback[] callbacks, int count) { if (count == 0) { return; } CallbackExecuterHelper.Invoke <TEvent, TCallback, TCallbackExecuter>(argument, callbacks, count); }
public void Invoke(TEvent argument, TCallback[] callbacks, int count) { if (count == 0) { return; } CallbackExecuterHelper.Invoke <TEvent, TCallback, ExecuteAndFree <TEvent, TCallback, TCallbackExecuter> >(argument, callbacks, count); ArrayUtils.ReturnArray(callbacks, count); }