Skip to content

Commit e93a994

Browse files
committed
reduced binding scope to Rubberduck.dll assembly
1 parent 02e3cc3 commit e93a994

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

RetailCoder.VBE/Root/RubberduckModule.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public override void Load()
133133
.WhenInjectedInto<ToDoExplorerCommand>()
134134
.InSingletonScope();
135135

136-
BindDockableToolwindows(assemblies);
136+
BindDockableToolwindows();
137137
BindCommandsToCodeExplorer();
138138
ConfigureRubberduckMenu();
139139
ConfigureCodePaneContextMenu();
@@ -144,9 +144,9 @@ public override void Load()
144144
BindWindowsHooks();
145145
}
146146

147-
private void BindDockableToolwindows(IEnumerable<Assembly> assemblies)
147+
private void BindDockableToolwindows()
148148
{
149-
Kernel.Bind(t => t.From(assemblies)
149+
Kernel.Bind(t => t.FromThisAssembly()
150150
.SelectAllClasses()
151151
.InheritedFrom<IDockableUserControl>()
152152
.BindToSelf()

0 commit comments

Comments
 (0)