21 references to EndpointBehaviors
Binding.UDS.IntegrationTests (1)
UDSBindingTests.cs (1)
128ClientCredentials clientCredentials = (ClientCredentials)factory.Endpoint.EndpointBehaviors[typeof(ClientCredentials)];
Client.ClientBase.IntegrationTests (4)
ClientBaseTests.4.0.0.cs (3)
31client.Endpoint.EndpointBehaviors.Add(new ClientMessagePropertyBehavior()); 78client.Endpoint.EndpointBehaviors.Add(new ClientMessagePropertyBehavior()); 124client.Endpoint.EndpointBehaviors.Add(new ClientMessageInspectorBehavior(data));
MessageInspectorTestHelpers.cs (1)
46base.Endpoint.EndpointBehaviors.Add(new ClientAuthorizationBehavior(authType, accessToken));
Client.ExpectedExceptions.IntegrationTests (2)
CallbackDebugBehaviorTests.cs (2)
39System.Collections.ObjectModel.KeyedCollection<Type, IEndpointBehavior> endpointBehaviors = factory.Endpoint.EndpointBehaviors; 65System.Collections.ObjectModel.KeyedCollection<Type, IEndpointBehavior> endpointBehaviors2 = factory2.Endpoint.EndpointBehaviors;
Contract.Fault.IntegrationTests (1)
FaultExceptionTests.cs (1)
33client.Endpoint.EndpointBehaviors.Add(new TestFaultContractInfosBehavior());
Contract.Message.IntegrationTests (2)
MessageContractCommon.4.1.0.cs (1)
49factory.Endpoint.EndpointBehaviors.Add(inspector);
MessageContractTests.cs (1)
39factory.Endpoint.EndpointBehaviors.Add(inspector);
Contract.XmlSerializer.IntegrationTests (1)
XmlSerializerFormatTest.cs (1)
139factory1.Endpoint.EndpointBehaviors.Add(new InspectorBehavior());
dotnet-svcutil.xmlserializer.IntegrationTests (1)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.cs (1)
139factory1.Endpoint.EndpointBehaviors.Add(new InspectorBehavior());
System.ServiceModel.Federation (2)
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (2)
480channelFactory.Endpoint.EndpointBehaviors.Remove(typeof(ClientCredentials)); 481channelFactory.Endpoint.EndpointBehaviors.Add(ClientCredentials.Clone());
System.ServiceModel.Primitives.Tests (7)
Channels\CustomChannelTest.cs (7)
427factory.Endpoint.EndpointBehaviors.Add(mockEndpointBehavior); 464factory.Endpoint.EndpointBehaviors.Add(mockEndpointBehavior); 514factory.Endpoint.EndpointBehaviors.Add(mockEndpointBehavior); 565factory.Endpoint.EndpointBehaviors.Add(mockEndpointBehavior); 616factory.Endpoint.EndpointBehaviors.Add(mockEndpointBehavior); 668factory.Endpoint.EndpointBehaviors.Add(mockEndpointBehavior); 715factory.Endpoint.EndpointBehaviors.Add(mockEndpointBehavior);