public void GetEventArgsType_EventHandlerT_AssemblyLoadEventArgs() { var eventRef = FindEvent(_goodTypeIsValidEventDelegate, "GenericEvent"); Assert.AreEqual(typeof(System.AssemblyLoadEventArgs).FullName, EventDefinitionExtensions.GetEventArgsType(eventRef.EventType).FullName); }
public void GetEventArgsType_PropertyChangedEventHandler_PropertyChangedEventArgs() { var eventRef = FindEvent(_goodTypeIsValidEventDelegate, "SpecializedEvent"); Assert.AreEqual(typeof(System.ComponentModel.PropertyChangedEventArgs).FullName, EventDefinitionExtensions.GetEventArgsType(eventRef.EventType).FullName); }