Skip to content

Commit 7f02a33

Browse files
committed
Fixed compilation Errors after CommandBase was introduced in next
1 parent 8ec9b6d commit 7f02a33

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

RetailCoder.VBE/UI/Command/MenuItems/RegexAssistantCommandMenuItem.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
using Rubberduck.UI.Command.MenuItems.ParentMenus;
2-
using System;
3-
using System.Collections.Generic;
4-
using System.Linq;
5-
using System.Text;
6-
using System.Threading.Tasks;
72
using System.Windows.Input;
83

94
namespace Rubberduck.UI.Command.MenuItems
105
{
116
class RegexAssistantCommandMenuItem : CommandMenuItemBase
127
{
13-
public RegexAssistantCommandMenuItem(ICommand command) : base(command)
8+
public RegexAssistantCommandMenuItem(CommandBase command) : base(command)
149
{
1510
}
1611

RetailCoder.VBE/UI/Command/RegexAssistantCommand.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using Rubberduck.UI.RegexAssistant;
1+
using NLog;
2+
using Rubberduck.UI.RegexAssistant;
23
using System.Runtime.InteropServices;
34

45
namespace Rubberduck.UI.Command
@@ -9,7 +10,11 @@ namespace Rubberduck.UI.Command
910
[ComVisible(false)]
1011
class RegexAssistantCommand : CommandBase
1112
{
12-
public override void Execute(object parameter)
13+
public RegexAssistantCommand() : base (LogManager.GetCurrentClassLogger())
14+
{
15+
}
16+
17+
protected override void ExecuteImpl(object parameter)
1318
{
1419
using (var window = new RegexAssistantDialog())
1520
{

0 commit comments

Comments
 (0)