8 instantiations of MyClientBase2
System.ServiceModel.Primitives.Tests (8)
ServiceModel\ClientBaseTest.cs (8)
76
MyClientBase2 client1 = new
MyClientBase2
(binding, endpointAddress);
78
MyClientBase2 client2 = new
MyClientBase2
(binding, endpointAddress);
82
MyClientBase2 client3 = new
MyClientBase2
(binding, new EndpointAddress("http://myendpoint"));
86
MyClientBase2 client4 = new
MyClientBase2
(binding, new EndpointAddress("http://myotherendpoint"));
107
MyClientBase2 client1 = new
MyClientBase2
(serviceEndpoint);
109
MyClientBase2 client2 = new
MyClientBase2
(serviceEndpoint);
115
MyClientBase2 client3 = new
MyClientBase2
(serviceEndpoint2);
126
MyClientBase2 client4 = new
MyClientBase2
(serviceEndpoint);
14 references to MyClientBase2
System.ServiceModel.Primitives.Tests (14)
ServiceModel\ClientBaseTest.cs (14)
73
MyClientBase2
.CacheSetting = CacheSetting.AlwaysOn;
76
MyClientBase2
client1 = new MyClientBase2(binding, endpointAddress);
78
MyClientBase2
client2 = new MyClientBase2(binding, endpointAddress);
82
MyClientBase2
client3 = new MyClientBase2(binding, new EndpointAddress("http://myendpoint"));
86
MyClientBase2
client4 = new MyClientBase2(binding, new EndpointAddress("http://myotherendpoint"));
94
MyClientBase2
.CacheSetting = CacheSetting.AlwaysOn;
96
Assert.Throws<InvalidOperationException>(() =>
MyClientBase2
.CacheSetting = CacheSetting.Default);
102
MyClientBase2
.CacheSetting = CacheSetting.AlwaysOn;
107
MyClientBase2
client1 = new MyClientBase2(serviceEndpoint);
109
MyClientBase2
client2 = new MyClientBase2(serviceEndpoint);
115
MyClientBase2
client3 = new MyClientBase2(serviceEndpoint2);
126
MyClientBase2
client4 = new MyClientBase2(serviceEndpoint);
130
MyClientBase2
.CacheSetting = CacheSetting.AlwaysOn;
132
Assert.Throws<InvalidOperationException>(() =>
MyClientBase2
.CacheSetting = CacheSetting.Default);