Skip to content

Commit cc8a487

Browse files
committed
Update README.markdown
Show the ability to intercept with additional interfaces
1 parent 46fdb55 commit cc8a487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ ChannelProxies can be intercepted now:
1212

1313
kernel.Bind<IFooService>()
1414
.ToMethod(context => ChannelFactory<IFooService>.CreateChannel(new NetTcpBinding(), new EndpointAddress("net.tcp://localhost/FooService")))
15-
.Intercept()
15+
.Intercept(typeof(ICommunicationObject))
1616
.With(interceptor);

0 commit comments

Comments
 (0)