Can I specify to Castle Windsor which virtual methods to override in a class proxy?

Posted by Thiado de Arruda on Stack Overflow See other posts from Stack Overflow or by Thiado de Arruda
Published on 2010-05-03T20:02:08Z Indexed on 2010/05/04 5:38 UTC
Read the original article Hit count: 283

I have many virtual methods in a class, but only one should be intercepted, Can I tell Castle Windsor to override only that method so I dont have to do validation in the Intercept method?

Edit:

I use the IKernelEvents.ComponentRegistered event to choose which types get the interceptor.

© Stack Overflow or respective owner

Related posts about castle-windsor

Related posts about c#