コード例 #1
0
        public static void Dispatch <TPayload>(TPayload payload)
        {
            if (s_DefaultDispatcher == null)
            {
                throw new InvalidOperationException("No default dispatcher was registered.");
            }

            s_DefaultDispatcher.DispatchImplementation(payload);
        }
コード例 #2
0
 public static void Dispatch <TPayload>(TPayload payload)
 {
     CheckDefaultDipatcher();
     s_DefaultDispatcher.DispatchImplementation(payload);
 }