Skip to content

Commit 047aba7

Browse files
committed
Fixed registration of parse tree inspections and quickfixes.
1 parent 1942e26 commit 047aba7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

RetailCoder.VBE/Root/RubberduckIoCInstaller.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ private static void RegisterQuickFixes(IWindsorContainer container, Assembly[] a
223223
{
224224
container.Register(Classes.FromAssembly(assembly)
225225
.BasedOn<IQuickFix>()
226+
.WithService.Base()
227+
.WithService.Self()
226228
.LifestyleSingleton());
227229
}
228230
}
@@ -245,6 +247,7 @@ private static void RegisterParseTreeInspections(IWindsorContainer container, As
245247
container.Register(Classes.FromAssembly(assembly)
246248
.BasedOn<IParseTreeInspection>()
247249
.WithService.Base()
250+
.WithService.Select(new[]{typeof(IInspection)})
248251
.LifestyleTransient());
249252
}
250253
}

0 commit comments

Comments
 (0)