Skip to content

Commit 55be0bc

Browse files
committed
Fix up the linebreaks in constructor -- they were all over the places. The changes now has all parameters on their own line, with the base in its own line, as well.
1 parent 1bd3bc3 commit 55be0bc

32 files changed

+134
-39
lines changed

Rubberduck.Core/UI/CodeExplorer/Commands/AddTemplateCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ public class AddTemplateCommand : CodeExplorerCommandBase
3333

3434
public AddTemplateCommand(
3535
ICodeExplorerAddComponentService addComponentService,
36-
ITemplateProvider provider, IVbeEvents vbeEvents)
36+
ITemplateProvider provider,
37+
IVbeEvents vbeEvents)
3738
: base(vbeEvents)
3839
{
3940
_provider = provider;

Rubberduck.Core/UI/CodeExplorer/Commands/AddTestComponentCommand.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ public class AddTestComponentCommand : AddTestModuleCommand
2222
};
2323

2424
public AddTestComponentCommand(
25-
IVBE vbe, RubberduckParserState state,
26-
ITestCodeGenerator codeGenerator, IVbeEvents vbeEvents)
25+
IVBE vbe,
26+
RubberduckParserState state,
27+
ITestCodeGenerator codeGenerator,
28+
IVbeEvents vbeEvents)
2729
: base(vbe, state, codeGenerator, vbeEvents)
2830
{
2931
AddToCanExecuteEvaluation(SpecialEvaluateCanExecute);

Rubberduck.Core/UI/CodeExplorer/Commands/CodeExplorerCommandBase.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ namespace Rubberduck.UI.CodeExplorer.Commands
88
{
99
public abstract class CodeExplorerCommandBase : ComCommandBase
1010
{
11-
protected CodeExplorerCommandBase(IVbeEvents vbeEvents) : base(vbeEvents)
11+
protected CodeExplorerCommandBase(IVbeEvents vbeEvents)
12+
: base(vbeEvents)
1213
{
1314
AddToCanExecuteEvaluation(SpecialEvaluateCanExecute);
1415
}

Rubberduck.Core/UI/CodeExplorer/Commands/CodeExplorerFindAllImplementationsCommand.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ public class CodeExplorerFindAllImplementationsCommand : CodeExplorerCommandBase
1818
private readonly RubberduckParserState _state;
1919
private readonly FindAllImplementationsService _finder;
2020

21-
public CodeExplorerFindAllImplementationsCommand(RubberduckParserState state, FindAllImplementationsService finder, IVbeEvents vbeEvents) : base(vbeEvents)
21+
public CodeExplorerFindAllImplementationsCommand(
22+
RubberduckParserState state,
23+
FindAllImplementationsService finder,
24+
IVbeEvents vbeEvents)
25+
: base(vbeEvents)
2226
{
2327
_state = state;
2428
_finder = finder;

Rubberduck.Core/UI/CodeExplorer/Commands/CodeExplorerFindAllReferencesCommand.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ public class CodeExplorerFindAllReferencesCommand : CodeExplorerCommandBase
2121
private readonly RubberduckParserState _state;
2222
private readonly FindAllReferencesService _finder;
2323

24-
public CodeExplorerFindAllReferencesCommand(RubberduckParserState state, FindAllReferencesService finder, IVbeEvents vbeEvents) : base(vbeEvents)
24+
public CodeExplorerFindAllReferencesCommand(
25+
RubberduckParserState state,
26+
FindAllReferencesService finder,
27+
IVbeEvents vbeEvents)
28+
: base(vbeEvents)
2529
{
2630
_state = state;
2731
_finder = finder;

Rubberduck.Core/UI/CodeExplorer/Commands/DeleteCommand.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ public class DeleteCommand : CodeExplorerCommandBase
1818
private readonly IMessageBox _messageBox;
1919
private readonly IVBE _vbe;
2020

21-
public DeleteCommand(RemoveCommand removeCommand, IProjectsProvider projectsProvider, IMessageBox messageBox, IVBE vbe, IVbeEvents vbeEvents) : base(vbeEvents)
21+
public DeleteCommand(
22+
RemoveCommand removeCommand,
23+
IProjectsProvider projectsProvider,
24+
IMessageBox messageBox,
25+
IVBE vbe,
26+
IVbeEvents vbeEvents)
27+
: base(vbeEvents)
2228
{
2329
_removeCommand = removeCommand;
2430
_projectsProvider = projectsProvider;

Rubberduck.Core/UI/CodeExplorer/Commands/ImportCommand.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ public class ImportCommand : CodeExplorerCommandBase
2525
private readonly IList<string> _importableExtensions;
2626
private readonly string _filterExtensions;
2727

28-
public ImportCommand(IVBE vbe, IFileSystemBrowserFactory dialogFactory, IVbeEvents vbeEvents) : base(vbeEvents)
28+
public ImportCommand(
29+
IVBE vbe,
30+
IFileSystemBrowserFactory dialogFactory,
31+
IVbeEvents vbeEvents)
32+
: base(vbeEvents)
2933
{
3034
_vbe = vbe;
3135
_dialogFactory = dialogFactory;

Rubberduck.Core/UI/CodeExplorer/Commands/IndentCommand.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ public class IndentCommand : CodeExplorerCommandBase
2525
private readonly IIndenter _indenter;
2626
private readonly INavigateCommand _navigateCommand;
2727

28-
public IndentCommand(RubberduckParserState state, IIndenter indenter, INavigateCommand navigateCommand, IVbeEvents vbeEvents) : base(vbeEvents)
28+
public IndentCommand(
29+
RubberduckParserState state,
30+
IIndenter indenter,
31+
INavigateCommand navigateCommand,
32+
IVbeEvents vbeEvents)
33+
: base(vbeEvents)
2934
{
3035
_state = state;
3136
_indenter = indenter;

Rubberduck.Core/UI/CodeExplorer/Commands/OpenCommand.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ public class OpenCommand : CodeExplorerCommandBase
1818

1919
private readonly INavigateCommand _openCommand;
2020

21-
public OpenCommand(INavigateCommand openCommand, IVbeEvents vbeEvents) : base(vbeEvents)
21+
public OpenCommand(
22+
INavigateCommand openCommand,
23+
IVbeEvents vbeEvents)
24+
: base(vbeEvents)
2225
{
2326
_openCommand = openCommand;
2427

Rubberduck.Core/UI/CodeExplorer/Commands/OpenDesignerCommand.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ public class OpenDesignerCommand : CodeExplorerCommandBase
2121
private readonly IProjectsProvider _projectsProvider;
2222
private readonly IVBE _vbe;
2323

24-
public OpenDesignerCommand(IProjectsProvider projectsProvider, IVBE vbe, IVbeEvents vbeEvents) : base(vbeEvents)
24+
public OpenDesignerCommand(
25+
IProjectsProvider projectsProvider,
26+
IVBE vbe,
27+
IVbeEvents vbeEvents)
28+
: base(vbeEvents)
2529
{
2630
_projectsProvider = projectsProvider;
2731
_vbe = vbe;

0 commit comments

Comments
 (0)