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)
60
Assert.Equal(expected, service.
GetComponentActions
(component, ComponentActionsType.All));
61
Assert.Equal(expected, service.
GetComponentActions
(component, ComponentActionsType.Service));
62
Assert.Empty(service.
GetComponentActions
(component, ComponentActionsType.Component));
86
Assert.Equal(new DesignerActionListCollection { actionList1, actionList2 }, service.
GetComponentActions
(component, ComponentActionsType.All));
87
Assert.Equal(new DesignerActionListCollection { actionList1, actionList2 }, service.
GetComponentActions
(component, ComponentActionsType.Service));
88
Assert.Empty(service.
GetComponentActions
(component, ComponentActionsType.Component));
116
Assert.Equal(expected, service.
GetComponentActions
(component, ComponentActionsType.All));
117
Assert.Equal(expected, service.
GetComponentActions
(component, ComponentActionsType.Service));
118
Assert.Empty(service.
GetComponentActions
(component, ComponentActionsType.Component));
142
Assert.Equal(new DesignerActionListCollection { actionList1, actionList2 }, service.
GetComponentActions
(component, ComponentActionsType.All));
143
Assert.Equal(new DesignerActionListCollection { actionList1, actionList2 }, service.
GetComponentActions
(component, ComponentActionsType.Service));
144
Assert.Empty(service.
GetComponentActions
(component, ComponentActionsType.Component));
358
Assert.Empty(service.
GetComponentActions
(new Component(), type));
359
Assert.Empty(service.
GetComponentActions
(new Component(), type));
368
Assert.Empty(service.
GetComponentActions
(new Component(), type));
379
Assert.Empty(service.
GetComponentActions
(component, type));
387
Assert.Throws<ArgumentNullException>("component", () => service.
GetComponentActions
(null, ComponentActionsType.All));