I just got this test pass:
public void BasicCase()
ProxyGenerationOptions options = new ProxyGenerationOptions();
options.Selector = new AllInterceptorSelector();
var target = this.generator.CreateInterfaceProxyWithTarget(
new NoopInterceptor() ) as ISimpleInterface;
Assert.IsNotNull( target );
And here’s how Do proxy method looks like in Reflector:
Technorati Tags: Castle,Dynamic Proxy,DynamicProxy2,IInterceptorSelector
Cool! How would you add that to the services resolved? Any idea on that yet?
No, I haven’t thought about the configuration yet. I want to make it work first, then think about the rest.