Skip to content

Commit 64117cd

Browse files
committed
Fix messed-up config.
1 parent 2d01027 commit 64117cd

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

RetailCoder.VBE/Root/RubberduckModule.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,13 @@ private void ApplyConfigurationConvention(IEnumerable<Assembly> assemblies)
180180
Bind<IIndenterConfigProvider>().To<IndenterConfigProvider>().InSingletonScope();
181181
Bind<ISourceControlConfigProvider>().To<SourceControlConfigProvider>().InSingletonScope();
182182

183-
Bind<ICodeInspectionSettings>().To<CodeInspectionSettings>();
184-
Bind<IGeneralSettings>().To<GeneralSettings>();
185-
Bind<IHotkeySettings>().To<HotkeySettings>();
186-
Bind<IToDoListSettings>().To<ToDoListSettings>();
187-
Bind<IUnitTestSettings>().To<UnitTestSettings>();
188-
Bind<IIndenterSettings>().To<IndenterSettings>();
189-
Bind<ISourceControlSettings>().To<SourceControlSettings>();
183+
Bind<ICodeInspectionSettings>().To<CodeInspectionSettings>().InCallScope();
184+
Bind<IGeneralSettings>().To<GeneralSettings>().InCallScope();
185+
Bind<IHotkeySettings>().To<HotkeySettings>().InCallScope();
186+
Bind<IToDoListSettings>().To<ToDoListSettings>().InCallScope();
187+
Bind<IUnitTestSettings>().To<UnitTestSettings>().InCallScope();
188+
Bind<IIndenterSettings>().To<IndenterSettings>().InCallScope();
189+
Bind<ISourceControlSettings>().To<SourceControlSettings>().InCallScope();
190190
}
191191

192192
// note convention: abstract factory interface names end with "Factory".

RetailCoder.VBE/Rubberduck.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@
373373
<Compile Include="Inspections\MalformedAnnotationInspection.cs" />
374374
<Compile Include="Inspections\ObjectVariableNotSetInspection.cs" />
375375
<Compile Include="Inspections\RemoveExplicitCallStatmentQuickFix.cs" />
376-
<Compile Include="Inspections\WriteOnlyPropertyQuickFix.cs" />
377376
<Compile Include="Navigation\CodeExplorer\ICodeExplorerDeclarationViewModel.cs" />
378377
<Compile Include="Navigation\Folders\FolderHelper.cs" />
379378
<Compile Include="Refactorings\ExtractMethod\ExtractedMethod.cs" />

0 commit comments

Comments
 (0)