2 implementations of IDesignerEventService
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerEventService.cs (1)
12internal sealed class DesignerEventService : IDesignerEventService
System.Windows.Forms.Tests (1)
System\Windows\Forms\Design\EventsTabTests.cs (1)
139private class CustomDesignerEventService : Component, IDesignerEventService
54 references to IDesignerEventService
netstandard (1)
netstandard.cs (1)
253[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.IDesignerEventService))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
239[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.IDesignerEventService))]
System.ComponentModel.TypeConverter (2)
System\ComponentModel\Design\ActiveDesignerEventArgs.cs (1)
7/// Provides data for the <see cref='System.ComponentModel.Design.IDesignerEventService.ActiveDesigner'/>
System\ComponentModel\Design\ActiveDocumentEventHandler.cs (1)
7/// Represents the method that will handle the <see cref='System.ComponentModel.Design.IDesignerEventService.ActiveDesignerChanged'/>
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
63private IDesignerEventService? _designerEventService;
System\Windows\Forms\Design\EventsTab.cs (1)
60if (_serviceProvider.TryGetService(out IDesignerEventService? designerEventService))
System.Windows.Forms.Design (23)
System\ComponentModel\Design\DesignerEventService.cs (6)
300IDesignerHost? IDesignerEventService.ActiveDesigner => _activeDesigner; 308DesignerCollection IDesignerEventService.Designers 322event ActiveDesignerEventHandler? IDesignerEventService.ActiveDesignerChanged 345event DesignerEventHandler? IDesignerEventService.DesignerCreated 368event DesignerEventHandler? IDesignerEventService.DesignerDisposed 391event EventHandler? IDesignerEventService.SelectionChanged
System\ComponentModel\Design\DesignerHost.cs (2)
60private IDesignerEventService? _designerEventService; 326if (this.TryGetService(out IDesignerEventService? des))
System\ComponentModel\Design\DesignSurfaceManager.cs (15)
36ServiceContainer.AddService<IDesignerEventService>(callback); 74private IDesignerEventService? EventService => GetService(typeof(IDesignerEventService)) as IDesignerEventService; 93IDesignerEventService? eventService = EventService; 110IDesignerEventService? eventService = EventService; 128IDesignerEventService? eventService = EventService; 145IDesignerEventService? eventService = EventService; 163IDesignerEventService? eventService = EventService; 180IDesignerEventService? eventService = EventService; 199IDesignerEventService? eventService = EventService; 216IDesignerEventService? eventService = EventService; 235if (GetService(typeof(IDesignerEventService)) is DesignerEventService eventService) 264DesignerEventService? eventService = GetService(typeof(IDesignerEventService)) as DesignerEventService; 319if (serviceType == typeof(IDesignerEventService))
System.Windows.Forms.Design.Tests (22)
System\ComponentModel\Design\DesignerHostTests.cs (3)
2309.Setup(p => p.GetService(typeof(IDesignerEventService))) 2456Mock<IDesignerEventService> mockDesignerEventService = new(MockBehavior.Strict); 2459.Setup(p => p.GetService(typeof(IDesignerEventService)))
System\ComponentModel\Design\DesignSurfaceTests.cs (19)
42.Setup(p => p.GetService(typeof(IDesignerEventService))) 123.Setup(p => p.GetService(typeof(IDesignerEventService))) 390.Setup(p => p.GetService(typeof(IDesignerEventService))) 396.Setup(p => p.GetService(typeof(IDesignerEventService))) 400Mock<IDesignerEventService> mockDesignerEventService = new(MockBehavior.Strict); 403.Setup(p => p.GetService(typeof(IDesignerEventService))) 617.Setup(p => p.GetService(typeof(IDesignerEventService))) 632mockServiceProvider.Verify(p => p.GetService(typeof(IDesignerEventService)), Times.Once()); 639mockServiceProvider.Verify(p => p.GetService(typeof(IDesignerEventService)), Times.Once()); 656.Setup(p => p.GetService(typeof(IDesignerEventService))) 672mockServiceProvider.Verify(p => p.GetService(typeof(IDesignerEventService)), Times.Once()); 680mockServiceProvider.Verify(p => p.GetService(typeof(IDesignerEventService)), Times.Once()); 701.Setup(p => p.GetService(typeof(IDesignerEventService))) 717mockServiceProvider.Verify(p => p.GetService(typeof(IDesignerEventService)), Times.Once()); 724mockServiceProvider.Verify(p => p.GetService(typeof(IDesignerEventService)), Times.Once()); 758Mock<IDesignerEventService> mockDesignerEventService = new(MockBehavior.Strict); 761.Setup(p => p.GetService(typeof(IDesignerEventService))) 781mockServiceProvider.Verify(p => p.GetService(typeof(IDesignerEventService)), Times.Once()); 787mockServiceProvider.Verify(p => p.GetService(typeof(IDesignerEventService)), Times.Once());
System.Windows.Forms.Tests (3)
System\Windows\Forms\Design\EventsTabTests.cs (3)
37.Setup(p => p.GetService(typeof(IDesignerEventService))) 42.Setup(p => p.GetService(typeof(IDesignerEventService))) 130.Setup(p => p.GetService(typeof(IDesignerEventService)))