void IInterceptor.Intercept(Invocation invocation) { if (HandleWellKnownMethods.Handle(invocation, this)) { return; } RecordInvocation.Handle(invocation, this); if (FindAndExecuteMatchingSetup.Handle(invocation, this)) { return; } if (HandleAutoSetupProperties.Handle(invocation, this)) { return; } if (HandleEventSubscription.Handle(invocation, this)) { return; } FailForStrictMock.Handle(invocation, this); Return.Handle(invocation, this); }
void IInterceptor.Intercept(Invocation invocation) { if (HandleWellKnownMethods.Handle(invocation, this)) { return; } if (HandleEventSubscription.Handle(invocation, this)) { return; } RecordInvocation.Handle(invocation, this); if (FindAndExecuteMatchingSetup.Handle(invocation, this)) { return; } Return.Handle(invocation, this); }