public static void Dispatch <TPayload>(TPayload payload) { if (s_DefaultDispatcher == null) { throw new InvalidOperationException("No default dispatcher was registered."); } s_DefaultDispatcher.DispatchImplementation(payload); }
public static void Dispatch <TPayload>(TPayload payload) { CheckDefaultDipatcher(); s_DefaultDispatcher.DispatchImplementation(payload); }