Implemented interface member:
method
GetHandler
System.Windows.Forms.Design.IEventHandlerService.GetHandler(System.Type)
10 references to GetHandler
System.Windows.Forms.Design.Tests (10)
System\Windows\Forms\Design\EventHandlerServiceTests.cs (10)
24Assert.Throws<ArgumentNullException>(() => service.GetHandler(null)); 32Assert.Null(service.GetHandler(typeof(object))); 44Assert.Same(second, service.GetHandler(typeof(A))); 54object foundHandler = service.GetHandler(typeof(A)); 56foundHandler = service.GetHandler(typeof(A)); 69object foundHandler = service.GetHandler(typeof(A)); 83Assert.Null(service.GetHandler(typeof(int))); 116Assert.Same(a, service.GetHandler(typeof(A))); 126Assert.Null(service.GetHandler(typeof(A))); 163Assert.Same(a2, service.GetHandler(typeof(A)));