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.
IProxyHook
to pick which method you want to proxy.ComponentModel
(and adding interceptors or proxy hooks is one such operation) use IContributeComponentModelConstruction
s for that. See the docs for more in depth explanation.