Esempio n. 1
0
        static public T[] GetInvocationList <T>(string eventType)
        {
            Delegate d;

            if (eventTable.TryGetValue(eventType, out d))
            {
                try
                {
                    return(d.GetInvocationList().Cast <T>().ToArray());
                }
                catch
                {
                    throw MessengerInternal.CreateBroadcastSignatureException(eventType);
                }
            }
            return(null);
        }