Skip to content

Commit 29a5ac4

Browse files
committed
Remove Interceptors and their binding
1 parent 286f4fd commit 29a5ac4

File tree

6 files changed

+0
-133
lines changed

6 files changed

+0
-133
lines changed

RetailCoder.VBE/Root/EnumerableCounterInterceptor.cs

Lines changed: 0 additions & 34 deletions
This file was deleted.

RetailCoder.VBE/Root/InterceptedException.cs

Lines changed: 0 additions & 13 deletions
This file was deleted.

RetailCoder.VBE/Root/InterceptorBase.cs

Lines changed: 0 additions & 36 deletions
This file was deleted.

RetailCoder.VBE/Root/RubberduckModule.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -308,17 +308,12 @@ private void BindCodeInspectionTypes(IEnumerable<Assembly> assemblies)
308308
.InCallScope()
309309
.Named(inspection.FullName);
310310

311-
binding.Intercept().With<TimedCallLoggerInterceptor>();
312-
binding.Intercept().With<EnumerableCounterInterceptor<IInspectionResult>>();
313-
314311
var localInspection = inspection;
315312
Bind<IInspection>().ToMethod(c => (IInspection)c.Kernel.Get(iParseTreeInspection, localInspection.FullName));
316313
}
317314
else
318315
{
319316
var binding = Bind<IInspection>().To(inspection).InCallScope();
320-
binding.Intercept().With<TimedCallLoggerInterceptor>();
321-
binding.Intercept().With<EnumerableCounterInterceptor<IInspectionResult>>();
322317
}
323318
}
324319
}

RetailCoder.VBE/Root/TimedCallLoggerInterceptor.cs

Lines changed: 0 additions & 41 deletions
This file was deleted.

RetailCoder.VBE/Rubberduck.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,6 @@
373373
<Compile Include="Refactorings\ExtractMethod\IExtractMethodProc.cs" />
374374
<Compile Include="Refactorings\ExtractMethod\IExtractMethodRule.cs" />
375375
<Compile Include="Refactorings\ExtractMethod\IExtractMethodSelectionValidation.cs" />
376-
<Compile Include="Root\EnumerableCounterInterceptor.cs" />
377-
<Compile Include="Root\InterceptedException.cs" />
378-
<Compile Include="Root\InterceptorBase.cs" />
379-
<Compile Include="Root\TimedCallLoggerInterceptor.cs" />
380376
<Compile Include="RubberduckGuid.cs" />
381377
<Compile Include="RubberduckProgId.cs" />
382378
<Compile Include="Settings\CodeInspectionConfigProvider.cs" />

0 commit comments

Comments
 (0)