ninject-interception Questions

2

Solved

I've been trying for ages to figure this our. when i try to bind my class with an interceptor i'm getting the following exception on the line Kernel.Bind<MyClass>().ToSelf().Intercept().Wit...
Discovert asked 3/4, 2012 at 6:31

2

Solved

Our company has the need to log certain things each time one of our action methods of our ASP.NET WebApi controllers gets called. Since we use Ninject for the DI right now, we'd like to use it also...

1

Solved

I am starting to work with ninject interceptors to wrap some of my async code with various behaviors and am having some trouble getting everything working. Here is an interceptor I am working with...
Tessler asked 29/11, 2012 at 16:44

1

Solved

I've noticed in the tutorials for interception that you can target a method and intercept it. I.e. Kernel.Bind<Foo>().ToSelf(); Kernel.InterceptReplace<Foo>(foo => foo.ThrowsAnErr...

1

Solved

I'm learning to use Ninject and Interceptor pattern. I have the following interceptor. public class MyInterceptor:IInterceptor { public void Intercept(IInvocation invocation) { Console.WriteLi...

2

Solved

How can I get Ninject.Extensions.Interception to basically let me bind a specific interceptor to any method that has an attribute... psudocode: Kernel.Intercept(context => context.Binding.HasAt...
Ekaterinoslav asked 17/6, 2011 at 13:29
1

© 2022 - 2024 — McMap. All rights reserved.