3 writes to Endpoint
System.ServiceModel.Primitives (3)
System\ServiceModel\ChannelFactory.cs (3)
220Endpoint = CreateDescription(); 231Endpoint = endpoint ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(endpoint)); 237Endpoint = CreateDescription();
65 references to Endpoint
Binding.Http.IntegrationTests (2)
BasicHttpBindingTests.4.0.0.cs (2)
120factory.Endpoint.Behaviors.Add(handlerFactoryBehavior); 178factory.Endpoint.Behaviors.Add(handlerFactoryBehavior);
Binding.ReliableSession.IntegrationTests (8)
NetHttpBindingTests.cs (4)
145factory.Endpoint.Behaviors.Add(handlerFactoryBehavior); 222factory.Endpoint.Behaviors.Add(handlerFactoryBehavior); 302factory.Endpoint.Behaviors.Add(handlerFactoryBehavior); 374factory.Endpoint.Behaviors.Add(handlerFactoryBehavior);
WSHttpBindingTests.cs (4)
145factory.Endpoint.Behaviors.Add(handlerFactoryBehavior); 222factory.Endpoint.Behaviors.Add(handlerFactoryBehavior); 302factory.Endpoint.Behaviors.Add(handlerFactoryBehavior); 374factory.Endpoint.Behaviors.Add(handlerFactoryBehavior);
Binding.UDS.IntegrationTests (1)
UDSBindingTests.cs (1)
124ClientCredentials clientCredentials = (ClientCredentials)factory.Endpoint.EndpointBehaviors[typeof(ClientCredentials)];
Client.ClientBase.IntegrationTests (1)
ClientBaseTests.4.0.0.cs (1)
73ContractDescription cd = client.ChannelFactory.Endpoint.Contract;
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.Data.IntegrationTests (2)
DataContractTests.4.1.1.cs (2)
27ContractDescription cd = factory.Endpoint.Contract; 29foreach (var operation in factory.Endpoint.Contract.Operations)
Contract.Message.IntegrationTests (3)
MessageContractCommon.4.1.0.cs (1)
49factory.Endpoint.EndpointBehaviors.Add(inspector);
MessageContractTests.cs (1)
39factory.Endpoint.EndpointBehaviors.Add(inspector);
MessageTests.4.0.0.cs (1)
78foreach (OperationDescription operation in factory.Endpoint.Contract.Operations)
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 (26)
System\ServiceModel\ChannelFactory.cs (22)
32if (Endpoint == null) 39return EnsureCredentials(Endpoint); 58if (Endpoint != null && Endpoint.Binding != null) 60return Endpoint.Binding.CloseTimeout; 73if (Endpoint != null && Endpoint.Binding != null) 75return Endpoint.Binding.OpenTimeout; 127if (Endpoint == null) 132if (Endpoint.Binding == null) 137return ServiceChannelFactory.BuildChannelFactory(Endpoint, UseActiveAutoClose); 205OperationDescriptionCollection operations = Endpoint.Contract.Operations; 223Endpoint.Address = address; 226EnsureSecurityCredentialsManager(Endpoint); 232EnsureSecurityCredentialsManager(Endpoint); 241Endpoint.Binding = binding; 245Endpoint.Address = address; 248EnsureSecurityCredentialsManager(Endpoint); 254if (Endpoint != null) 256ClientCredentials credentials = Endpoint.Behaviors.Find<ClientCredentials>(); 473throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxCreateNonDuplexChannel1, Endpoint.Contract.Name))); 487return CreateChannel(CreateEndpointAddress(Endpoint), null);
System\ServiceModel\ClientBase.cs (1)
279return ChannelFactory.Endpoint;
System\ServiceModel\DuplexChannelFactory.cs (3)
147return CreateChannel(callbackInstance, CreateEndpointAddress(Endpoint), null); 188throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxCreateDuplexChannel1, Endpoint.Contract.Name))); 192Type callbackType = Endpoint.Contract.CallbackContractType;
System.ServiceModel.Primitives.Tests (15)
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);
Description\ContractDescriptionTest.cs (1)
180ContractDescription contract = factory.Endpoint.Contract;
Description\OperationBehaviorTest.cs (1)
52ContractDescription cd = factory.Endpoint.Contract;
ServiceModel\ClientBaseTest.cs (4)
56ServiceEndpoint serviceEndpoint = tempFactory.Endpoint; 106ServiceEndpoint serviceEndpoint = tempFactory.Endpoint; 114ServiceEndpoint serviceEndpoint2 = tempFactory.Endpoint; 162ServiceEndpoint serviceEndpoint = tempFactory.Endpoint;
ServiceModel\DuplexChannelFactoryTest.cs (2)
175factory.Endpoint.Binding = binding; 176factory.Endpoint.Address = endpoint;
UnitTests.Common (1)
TestHelpers.cs (1)
95ContractDescription contract = factory.Endpoint.Contract;