-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not sure why this is failing ... #36
Comments
Any idea's? |
Closing this for now. Thanks. |
You missed |
The syntax is "intercept some types with some interceptors" |
@scott-xu - thanks, this really was not obvious. |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tried:
Implementing Ninject.Extensions.Interception.IInterceptor, easy enough called 'InstrumentationInterceptor'.
Then registering with:
Ended up with:
[NullReferenceException]: Object reference not set to an instance of an object.
at Ninject.Extensions.Interception.Advice.Advice.GetInterceptor(IProxyRequest request)
at System.Linq.Enumerable.WhereSelectListIterator
2.MoveNext() at System.Collections.Generic.List
1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source)at Ninject.Extensions.Interception.Registry.AdviceRegistry.GetInterceptorsForRequest(IProxyRequest request)
at Ninject.Extensions.Interception.Registry.AdviceRegistry.GetInterceptors(IProxyRequest request)
at Ninject.Extensions.Interception.Wrapper.StandardWrapper.CreateInvocation(IProxyRequest request)
at Ninject.Extensions.Interception.Wrapper.DynamicProxyWrapper.Intercept(IInvocation castleInvocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.IAuthenticationRepositoryProxy.FindUser(String userName, String password)
The text was updated successfully, but these errors were encountered: