1 type derived from DesignerActionService
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\DesignerActionServiceTests.cs (1)
1041private class SubDesignerActionService : DesignerActionService
24 instantiations of DesignerActionService
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionUI.cs (1)
71designerActionService = new DesignerActionService(serviceProvider);
System.Windows.Forms.Design.Tests (23)
System\ComponentModel\Design\DesignerActionServiceTests.cs (23)
35DesignerActionService service = new(mockServiceProvider.Object); 102DesignerActionService service = new(null); 158DesignerActionService service = new(null); 230DesignerActionService service = new(null); 237DesignerActionService service = new(null); 245DesignerActionService service = new(null); 269DesignerActionService service = new(mockServiceProvider.Object); 342DesignerActionService service = new(serviceProvider); 385DesignerActionService service = new(null); 660DesignerActionService service = new(null); 679DesignerActionService service = new(null); 716DesignerActionService service = new(null); 724DesignerActionService service = new(null); 731DesignerActionService service = new(null); 843DesignerActionService service = new(null); 853DesignerActionService service = new(null); 860DesignerActionService service = new(null); 898DesignerActionService service = new(null); 972DesignerActionService service = new(null); 983DesignerActionService service = new(null); 990DesignerActionService service = new(null); 1028DesignerActionService service = new(null); 1036DesignerActionService service = new(null);
52 references to DesignerActionService
System.Design (1)
artifacts\obj\System.Design.Facade\Release\net9.0\System.Design.Forwards.cs (1)
21[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.DesignerActionService))]
System.Windows.Forms.Design (14)
System\ComponentModel\Design\DesignerActionListsChangedEventArgs.cs (2)
7/// Provides data for the <see cref="DesignerActionService.DesignerActionListsChanged" /> event. 11/// The <c>DesignerActionListsChangedEventArgs</c> class is used by the <see cref="DesignerActionService"/> class
System\ComponentModel\Design\DesignerActionListsChangedEventHandler.cs (1)
7/// This event is raised by the <see cref="DesignerActionService"/> when a shortcut is either added or removed
System\ComponentModel\Design\DesignerActionPanel.cs (2)
610DesignerActionService? actionService = _serviceProvider.GetService<DesignerActionService>();
System\ComponentModel\Design\DesignerActionService.cs (2)
37host?.AddService(typeof(DesignerActionService), this); 134host?.RemoveService<DesignerActionService>();
System\ComponentModel\Design\DesignerActionUI.cs (2)
27private DesignerActionService _designerActionService; // this is how all designeractions will be managed 68if (!serviceProvider.TryGetService(out DesignerActionService? designerActionService))
System\ComponentModel\Design\DesignerActionUIService.cs (3)
12private readonly DesignerActionService? _designerActionService; 22_designerActionService = serviceProvider.GetService(typeof(DesignerActionService)) as DesignerActionService;
System\ComponentModel\Design\MenuCommandService.cs (1)
221if (TryGetService(out DesignerActionService? daSvc))
System\Windows\Forms\Design\ControlDesigner.cs (1)
942if (TryGetService(out DesignerActionService? designerActionService))
System.Windows.Forms.Design.Tests (37)
Mocks\MockSite.cs (1)
34.Setup(s => s.GetService(typeof(DesignerActionService)))
System\ComponentModel\Design\DesignerActionServiceTests.cs (36)
18.Setup(h => h.AddService(typeof(DesignerActionService), It.IsAny<DesignerActionService>())) 35DesignerActionService service = new(mockServiceProvider.Object); 39mockDesignerHost.Verify(h => h.AddService(typeof(DesignerActionService), service), Times.Once()); 102DesignerActionService service = new(null); 158DesignerActionService service = new(null); 230DesignerActionService service = new(null); 237DesignerActionService service = new(null); 245DesignerActionService service = new(null); 254.Setup(h => h.AddService(typeof(DesignerActionService), It.IsAny<DesignerActionService>())); 256.Setup(h => h.RemoveService(typeof(DesignerActionService))); 269DesignerActionService service = new(mockServiceProvider.Object); 271mockDesignerHost.Verify(h => h.RemoveService(typeof(DesignerActionService)), Times.Once()); 275mockDesignerHost.Verify(h => h.RemoveService(typeof(DesignerActionService)), Times.Exactly(2)); 285.Setup(h => h.AddService(typeof(DesignerActionService), It.IsAny<DesignerActionService>())); 287.Setup(h => h.RemoveService(typeof(DesignerActionService))); 302mockDesignerHost.Verify(h => h.RemoveService(typeof(DesignerActionService)), Times.Exactly(expectedRemoveCallCount)); 306mockDesignerHost.Verify(h => h.RemoveService(typeof(DesignerActionService)), Times.Exactly(expectedRemoveCallCount * 2)); 342DesignerActionService service = new(serviceProvider); 385DesignerActionService service = new(null); 660DesignerActionService service = new(null); 679DesignerActionService service = new(null); 716DesignerActionService service = new(null); 724DesignerActionService service = new(null); 731DesignerActionService service = new(null); 843DesignerActionService service = new(null); 853DesignerActionService service = new(null); 860DesignerActionService service = new(null); 898DesignerActionService service = new(null); 972DesignerActionService service = new(null); 983DesignerActionService service = new(null); 990DesignerActionService service = new(null); 1028DesignerActionService service = new(null); 1036DesignerActionService service = new(null);