Skip to content

Commit 8df46dd

Browse files
committed
Fix leftover CommandBase ctor injections
1 parent 51fd03f commit 8df46dd

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

Rubberduck.Core/UI/Command/MenuItems/CommandBars/SerializeDeclarationsCommandMenuItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Rubberduck.UI.Command.MenuItems.CommandBars
1111
{
1212
public class SerializeDeclarationsCommandMenuItem : CommandMenuItemBase
1313
{
14-
public SerializeDeclarationsCommandMenuItem(CommandBase command) : base(command)
14+
public SerializeDeclarationsCommandMenuItem(SerializeDeclarationsCommand command) : base(command)
1515
{
1616
}
1717

Rubberduck.Core/UI/Command/MenuItems/CommandBars/ShowParserErrorsCommandMenuItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Rubberduck.UI.Command.MenuItems.CommandBars
99
{
1010
public class ShowParserErrorsCommandMenuItem : CommandMenuItemBase
1111
{
12-
public ShowParserErrorsCommandMenuItem(CommandBase command) : base(command)
12+
public ShowParserErrorsCommandMenuItem(ShowParserErrorsCommand command) : base(command)
1313
{
1414
}
1515

Rubberduck.Core/UI/Command/MenuItems/FormDesignerFindAllReferencesCommandMenuItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Rubberduck.UI.Command.MenuItems
55
{
66
public class FormDesignerFindAllReferencesCommandMenuItem : CommandMenuItemBase
77
{
8-
public FormDesignerFindAllReferencesCommandMenuItem(CommandBase command)
8+
public FormDesignerFindAllReferencesCommandMenuItem(FormDesignerFindAllReferencesCommand command)
99
: base(command)
1010
{
1111
}

Rubberduck.Main/Root/RubberduckIoCInstaller.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ public void Install(IWindsorContainer container, IConfigurationStore store)
142142
RegisterCommandMenuItems(container);
143143
RegisterParentMenus(container);
144144

145-
146-
147145
RegisterRubberduckCommandBar(container);
148146
RegisterRubberduckMenu(container);
149147
RegisterCodePaneContextMenu(container);

0 commit comments

Comments
 (0)