public void DummyService_WithFactoryObject() { var factory = new ChannelManagerFactoryObject { ChannelType = typeof(IDummyService), EndPointAddressUri = "http://localhost:8733/DummyService/", Binding = "BasicHttp", ChannelManagementMode = "SingleAction" }; var proxy = factory.GetObject() as IDummyService; proxy.ReturnNull(); Console.WriteLine(proxy.ReturnInt()); Console.WriteLine(proxy.DoWork()); Console.WriteLine(proxy.ReturnDtos()[0].B); }
public void StartTest() { Factory = new ChannelManagerFactoryObject(); }