18 references to GetComponentActions
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionService.cs (1)
145
return
GetComponentActions
(component, ComponentActionsType.All);
System.Windows.Forms.Design.Tests (17)
System\ComponentModel\Design\DesignerActionServiceTests.cs (17)
62
Assert.Equal(expected, service.
GetComponentActions
(component, ComponentActionsType.All));
63
Assert.Equal(expected, service.
GetComponentActions
(component, ComponentActionsType.Service));
64
Assert.Empty(service.
GetComponentActions
(component, ComponentActionsType.Component));
88
Assert.Equal(new DesignerActionListCollection { actionList1, actionList2 }, service.
GetComponentActions
(component, ComponentActionsType.All));
89
Assert.Equal(new DesignerActionListCollection { actionList1, actionList2 }, service.
GetComponentActions
(component, ComponentActionsType.Service));
90
Assert.Empty(service.
GetComponentActions
(component, ComponentActionsType.Component));
118
Assert.Equal(expected, service.
GetComponentActions
(component, ComponentActionsType.All));
119
Assert.Equal(expected, service.
GetComponentActions
(component, ComponentActionsType.Service));
120
Assert.Empty(service.
GetComponentActions
(component, ComponentActionsType.Component));
144
Assert.Equal(new DesignerActionListCollection { actionList1, actionList2 }, service.
GetComponentActions
(component, ComponentActionsType.All));
145
Assert.Equal(new DesignerActionListCollection { actionList1, actionList2 }, service.
GetComponentActions
(component, ComponentActionsType.Service));
146
Assert.Empty(service.
GetComponentActions
(component, ComponentActionsType.Component));
360
Assert.Empty(service.
GetComponentActions
(new Component(), type));
361
Assert.Empty(service.
GetComponentActions
(new Component(), type));
370
Assert.Empty(service.
GetComponentActions
(new Component(), type));
381
Assert.Empty(service.
GetComponentActions
(component, type));
389
Assert.Throws<ArgumentNullException>("component", () => service.
GetComponentActions
(null, ComponentActionsType.All));