Skip to content

Commit 96f2662

Browse files
authored
Revert "Allow interception of synchronous calls passing through this interceptor"
1 parent 3a86b73 commit 96f2662

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Ninject.Extensions.Interception/AsyncInterceptor.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ public abstract class AsyncInterceptor : IInterceptor
2323
/// <summary>
2424
/// Intercepts the specified invocation.
2525
/// </summary>
26-
/// <remarks>If overridden, you should invoke base.</remarks>
2726
/// <param name="invocation">The invocation to intercept.</param>
28-
public virtual void Intercept(IInvocation invocation)
27+
public void Intercept(IInvocation invocation)
2928
{
3029
var returnType = invocation.Request.Method.ReturnType;
3130
if (returnType == typeof(Task))

0 commit comments

Comments
 (0)