7 instantiations of MyClientBase
System.ServiceModel.Primitives.Tests (7)
ServiceModel\ClientBaseTest.cs (7)
20
MyClientBase client = new
MyClientBase
(binding, new EndpointAddress("http://myendpoint"));
36
MyClientBase client1 = new
MyClientBase
(binding, endpointAddress);
38
MyClientBase client2 = new
MyClientBase
(binding, endpointAddress);
57
MyClientBase client1 = new
MyClientBase
(serviceEndpoint);
59
MyClientBase client2 = new
MyClientBase
(serviceEndpoint);
181
MyClientBase client = new
MyClientBase
(binding, new EndpointAddress("http://myendpoint"));
200
MyClientBase client = new
MyClientBase
(customBinding, new EndpointAddress("http://myendpoint"));
15 references to MyClientBase
System.ServiceModel.Primitives.Tests (15)
ServiceModel\ClientBaseTest.cs (15)
20
MyClientBase
client = new MyClientBase(binding, new EndpointAddress("http://myendpoint"));
33
Assert.Equal(CacheSetting.Default,
MyClientBase
.CacheSetting);
36
MyClientBase
client1 = new MyClientBase(binding, endpointAddress);
38
MyClientBase
client2 = new MyClientBase(binding, endpointAddress);
44
MyClientBase
.CacheSetting = CacheSetting.Default;
46
Assert.Throws<InvalidOperationException>(() =>
MyClientBase
.CacheSetting = CacheSetting.AlwaysOn);
52
Assert.Equal(CacheSetting.Default,
MyClientBase
.CacheSetting);
57
MyClientBase
client1 = new MyClientBase(serviceEndpoint);
59
MyClientBase
client2 = new MyClientBase(serviceEndpoint);
65
MyClientBase
.CacheSetting = CacheSetting.Default;
67
Assert.Throws<InvalidOperationException>(() =>
MyClientBase
.CacheSetting = CacheSetting.AlwaysOn);
152
Assert.Throws<InvalidOperationException>(() =>
MyClientBase
.CacheSetting = CacheSetting.AlwaysOn);
173
Assert.Throws<InvalidOperationException>(() =>
MyClientBase
.CacheSetting = CacheSetting.AlwaysOn);
181
MyClientBase
client = new MyClientBase(binding, new EndpointAddress("http://myendpoint"));
200
MyClientBase
client = new MyClientBase(customBinding, new EndpointAddress("http://myendpoint"));