public void CanCallBaseInterfaceAsynchronously()
{
windsorContainer.Register(
Component.For<IOperationsEx>()
.Named("operations")
.AsWcfClient(new DefaultClientModel()
{
Endpoint = WcfEndpoint
.BoundTo(new NetTcpBinding { PortSharingEnabled = true })
.At("net.tcp://localhost/Operations/Ex")
})
);
var client = windsorContainer.Resolve<IOperations>("operations");
var call = client.BeginWcfCall(p => p.GetValueFromConstructor());
Assert.AreEqual(42, call.End());
}