5 instantiations of ServiceEndpoint
dotnet-svcutil-lib (5)
FrameworkFork\System.ServiceModel\System\ServiceModel\ChannelFactory.cs (1)
575ServiceEndpoint endpoint = new ServiceEndpoint(contractDescription);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (2)
381ServiceEndpoint newWsdlBindingEndpoint = new ServiceEndpoint(contractDescription); 460endpoint = new ServiceEndpoint(bindingEndpointContext.Endpoint.Contract);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (2)
20public static ServiceEndpoint NullServiceEndpoint = new ServiceEndpoint(NullContract); 2657ServiceEndpoint bootstrapEndpoint = new ServiceEndpoint(NullContract);
145 references to ServiceEndpoint
dotnet-svcutil-lib (145)
CodeDomFixup\ConfigToCode.cs (3)
18public void MoveBindingsToCode(CodeCompileUnit codeCompileUnit, Collection<ServiceEndpoint> endpoints) 29private void MoveConfigIntoCode(CodeTypeDeclaration clientType, Collection<ServiceEndpoint> endpoints, CodeNamespace namespaceDecl) 35foreach (ServiceEndpoint endpoint in endpoints)
CodeDomFixup\EndpointSelector.cs (5)
20public EndpointSelector(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts) 26CollectionHelpers.MapList<ServiceEndpoint>(this.endpoints, EndpointSelector.SelectEndpoint, this.AddWarning); 28foreach (ServiceEndpoint endpoint in endpoints) 34private static bool SelectEndpoint(ServiceEndpoint endpoint) 326private void AddWarning(ServiceEndpoint endpoint, int i)
CodeDomFixup\IWcfCodeGenerationExtension.cs (1)
55void WsdlImported(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts);
CodeDomFixup\MetadataFixup.cs (4)
21public static IFixup[] GetPostFixups(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts) 32protected readonly Collection<ServiceEndpoint> endpoints; 38protected MetadataFixup(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts) 48foreach (ServiceEndpoint endpoint in endpoints)
CodeDomFixup\MethodCreationHelper.cs (2)
54public bool AddClientEndpoint(ServiceEndpoint endpoint) 2135private void AddNewEndpointAddress(string endpointConfigurationName, string endpointAddress, ServiceEndpoint serviceEndpoint)
CodeDomFixup\NoMessageHeaderFixup.cs (1)
13public NoMessageHeaderFixup(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts)
CodeDomFixup\NoSoapEncodingFixup.cs (1)
15public NoSoapEncodingFixup(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts)
CodeDomFixup\WcfCodeGenerationExtension.cs (2)
17private Collection<ServiceEndpoint> _endpoints; 40public void WsdlImported(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts)
FrameworkFork\System.ServiceModel\System\ServiceModel\CallbackBehaviorAttribute.cs (4)
31void IEndpointBehavior.Validate(ServiceEndpoint serviceEndpoint) 35void IEndpointBehavior.AddBindingParameters(ServiceEndpoint serviceEndpoint, BindingParameterCollection parameters) 39void IEndpointBehavior.ApplyClientBehavior(ServiceEndpoint serviceEndpoint, ClientRuntime clientRuntime) 58void IEndpointBehavior.ApplyDispatchBehavior(ServiceEndpoint serviceEndpoint, EndpointDispatcher endpointDispatcher)
FrameworkFork\System.ServiceModel\System\ServiceModel\ChannelFactory.cs (12)
18private ServiceEndpoint _serviceEndpoint; 83public ServiceEndpoint Endpoint 135protected abstract ServiceEndpoint CreateDescription(); 137internal EndpointAddress CreateEndpointAddress(ServiceEndpoint endpoint) 174private void EnsureSecurityCredentialsManager(ServiceEndpoint endpoint) 183private ClientCredentials EnsureCredentials(ServiceEndpoint endpoint) 226ServiceEndpoint serviceEndpointFromConfig = null; 253protected void InitializeEndpoint(ServiceEndpoint endpoint) 483public ChannelFactory(ServiceEndpoint endpoint) 571protected override ServiceEndpoint CreateDescription() 575ServiceEndpoint endpoint = new ServiceEndpoint(contractDescription); 582private void ReflectOnCallbackInstance(ServiceEndpoint endpoint)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelFactory.cs (2)
100public static ServiceChannelFactory BuildChannelFactory(ServiceEndpoint serviceEndpoint) 105public static ServiceChannelFactory BuildChannelFactory(ServiceEndpoint serviceEndpoint, bool useActiveAutoClose)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\StandardBindingImporter.cs (1)
63private void SetBinding(ServiceEndpoint endpoint, Binding binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\ClientBase.cs (1)
150public ServiceEndpoint Endpoint
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientCredentials.cs (4)
136void IEndpointBehavior.Validate(ServiceEndpoint serviceEndpoint) 140void IEndpointBehavior.AddBindingParameters(ServiceEndpoint serviceEndpoint, BindingParameterCollection bindingParameters) 155void IEndpointBehavior.ApplyDispatchBehavior(ServiceEndpoint serviceEndpoint, EndpointDispatcher endpointDispatcher) 162public virtual void ApplyClientBehavior(ServiceEndpoint serviceEndpoint, ClientRuntime behavior)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DispatcherBuilder.cs (11)
14internal static ClientRuntime BuildProxyBehavior(ServiceEndpoint serviceEndpoint, out BindingParameterCollection parameters) 98private static void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection parameters) 184private static void ApplyClientBehavior(ServiceEndpoint serviceEndpoint, ClientRuntime clientRuntime) 277public void Validate(ServiceEndpoint serviceEndpoint) { } 278public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection parameters) { } 279public void ApplyClientBehavior(ServiceEndpoint serviceEndpoint, ClientRuntime behavior) 288public void ApplyDispatchBehavior(ServiceEndpoint serviceEndpoint, EndpointDispatcher endpointDispatcher) 353public void Validate(ServiceEndpoint serviceEndpoint) { } 354public void ApplyDispatchBehavior(ServiceEndpoint serviceEndpoint, EndpointDispatcher endpointDispatcher) { } 355public void ApplyClientBehavior(ServiceEndpoint serviceEndpoint, ClientRuntime behavior) { } 356public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection parameters)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\IContractBehavior.cs (4)
14void Validate(ContractDescription contractDescription, ServiceEndpoint endpoint); 15void ApplyDispatchBehavior(ContractDescription contractDescription, ServiceEndpoint endpoint, DispatchRuntime dispatchRuntime); 16void ApplyClientBehavior(ContractDescription contractDescription, ServiceEndpoint endpoint, ClientRuntime clientRuntime); 17void AddBindingParameters(ContractDescription contractDescription, ServiceEndpoint endpoint, BindingParameterCollection bindingParameters);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\IEndpointBehavior.cs (4)
12void Validate(ServiceEndpoint endpoint); 13void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters); 14void ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher); 15void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ImportedPolicyConversionContext.cs (4)
17internal static IEnumerable<PolicyConversionContext> GetPolicyConversionContextEnumerator(ServiceEndpoint endpoint, PolicyAlternatives policyAlternatives) 22internal static IEnumerable<PolicyConversionContext> GetPolicyConversionContextEnumerator(ServiceEndpoint endpoint, PolicyAlternatives policyAlternatives, 36private ImportedPolicyConversionContext(ServiceEndpoint endpoint, IEnumerable<XmlElement> endpointAssertions, 114public static IEnumerable<PolicyConversionContext> GetPolicyConversionContextEnumerator(ServiceEndpoint endpoint,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExporter.cs (4)
48public abstract void ExportEndpoint(ServiceEndpoint endpoint); 52internal PolicyConversionContext ExportPolicy(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters) 72protected internal PolicyConversionContext ExportPolicy(ServiceEndpoint endpoint) 86internal ExportedPolicyConversionContext(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataImporter.cs (2)
78internal BindingElementCollection ImportPolicy(ServiceEndpoint endpoint, Collection<Collection<XmlElement>> policyAlternatives) 151internal BindingOnlyPolicyConversionContext(ServiceEndpoint endpoint, IEnumerable<XmlElement> bindingPolicy)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\PolicyConversionContext.cs (1)
17protected PolicyConversionContext(ServiceEndpoint endpoint)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceEndpointCollection.cs (21)
10public class ServiceEndpointCollection : Collection<ServiceEndpoint> 16public ServiceEndpoint Find(Type contractType) 23foreach (ServiceEndpoint endpoint in this) 34public ServiceEndpoint Find(XmlQualifiedName contractName) 41foreach (ServiceEndpoint endpoint in this) 52public ServiceEndpoint Find(Type contractType, XmlQualifiedName bindingName) 63foreach (ServiceEndpoint endpoint in this) 76public ServiceEndpoint Find(XmlQualifiedName contractName, XmlQualifiedName bindingName) 87foreach (ServiceEndpoint endpoint in this) 101public ServiceEndpoint Find(Uri address) 108foreach (ServiceEndpoint endpoint in this) 119public Collection<ServiceEndpoint> FindAll(Type contractType) 126Collection<ServiceEndpoint> results = new Collection<ServiceEndpoint>(); 128foreach (ServiceEndpoint endpoint in this) 139public Collection<ServiceEndpoint> FindAll(XmlQualifiedName contractName) 146Collection<ServiceEndpoint> results = new Collection<ServiceEndpoint>(); 148foreach (ServiceEndpoint endpoint in this) 159protected override void InsertItem(int index, ServiceEndpoint item) 168protected override void SetItem(int index, ServiceEndpoint item)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (2)
581internal void AddBehaviorsSFx(ServiceEndpoint serviceEndpoint, Type contractType) 593internal void AddBehaviorsFromImplementationType(ServiceEndpoint serviceEndpoint, Type implementationType)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlEndpointConversionContext.cs (4)
16private readonly ServiceEndpoint _endpoint; 28internal WsdlEndpointConversionContext(WsdlContractConversionContext contractContext, ServiceEndpoint endpoint, WsdlNS.Binding wsdlBinding, WsdlNS.Port wsdlport) 43internal WsdlEndpointConversionContext(WsdlEndpointConversionContext bindingContext, ServiceEndpoint endpoint, WsdlNS.Port wsdlport) 108public ServiceEndpoint Endpoint { get { return _endpoint; } }
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (14)
31private Dictionary<EndpointDictionaryKey, ServiceEndpoint> _exportedEndpoints = new Dictionary<EndpointDictionaryKey, ServiceEndpoint>(); 97public override void ExportEndpoint(ServiceEndpoint endpoint) 108public void ExportEndpoints(IEnumerable<ServiceEndpoint> endpoints, XmlQualifiedName wsdlServiceQName) 113internal void ExportEndpoints(IEnumerable<ServiceEndpoint> endpoints, XmlQualifiedName wsdlServiceQName, BindingParameterCollection bindingParameters) 123foreach (ServiceEndpoint endpoint in endpoints) 145private void ExportEndpoint(ServiceEndpoint endpoint, XmlQualifiedName wsdlServiceQName, BindingParameterCollection bindingParameters) 307private WsdlNS.Binding CreateWsdlBindingAndPort(ServiceEndpoint endpoint, XmlQualifiedName wsdlServiceQName, out WsdlNS.Port wsdlPort, out bool newBinding, out bool bindingNameWasUniquified) 718internal void AttachPolicy(ServiceEndpoint endpoint, WsdlEndpointConversionContext endpointContext, PolicyConversionContext policyContext) 1041internal static XmlQualifiedName GetBindingQName(ServiceEndpoint endpoint, WsdlExporter exporter, out bool wasUniquified) 1070internal static string GetPortName(ServiceEndpoint endpoint, WsdlNS.Service wsdlService) 1208private Exception ThrowExtensionException(ServiceEndpoint endpoint, IWsdlExportExtension exporter, Exception e) 1253public readonly ServiceEndpoint Endpoint; 1256public EndpointDictionaryKey(ServiceEndpoint endpoint, XmlQualifiedName serviceQName)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (11)
28private readonly Dictionary<WsdlNS.Port, ServiceEndpoint> _importedPorts = new Dictionary<WsdlNS.Port, ServiceEndpoint>(); 135ServiceEndpoint endpoint = ImportWsdlPort(wsdlPort, ErrorBehavior.DoNotThrowExceptions); 186public ServiceEndpoint ImportEndpoint(WsdlNS.Port wsdlPort) 214foreach (ServiceEndpoint endpoint in ImportEndpoints(wsdlBinding)) 239foreach (ServiceEndpoint endpoint in ImportEndpoints(wsdlBinding)) 263ServiceEndpoint endpoint = ImportWsdlPort(wsdlPort, ErrorBehavior.DoNotThrowExceptions); 285ServiceEndpoint endpoint = ImportWsdlPort(wsdlPort, ErrorBehavior.DoNotThrowExceptions); 381ServiceEndpoint newWsdlBindingEndpoint = new ServiceEndpoint(contractDescription); 438private ServiceEndpoint ImportWsdlPort(WsdlNS.Port wsdlPort, ErrorBehavior errorBehavior) 444ServiceEndpoint endpoint = null;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (4)
14void IContractBehavior.Validate(ContractDescription description, ServiceEndpoint endpoint) 18void IContractBehavior.AddBindingParameters(ContractDescription description, ServiceEndpoint endpoint, BindingParameterCollection parameters) 22void IContractBehavior.ApplyDispatchBehavior(ContractDescription description, ServiceEndpoint endpoint, DispatchRuntime dispatch) 28void IContractBehavior.ApplyClientBehavior(ContractDescription description, ServiceEndpoint endpoint, ClientRuntime proxy)
FrameworkFork\System.ServiceModel\System\ServiceModel\DuplexChannelFactory.cs (3)
32public DuplexChannelFactory(Type callbackInstanceType, ServiceEndpoint endpoint) 55public DuplexChannelFactory(InstanceContext callbackInstance, ServiceEndpoint endpoint) 147public DuplexChannelFactory(object callbackObject, ServiceEndpoint endpoint)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (4)
20public static ServiceEndpoint NullServiceEndpoint = new ServiceEndpoint(NullContract); 2657ServiceEndpoint bootstrapEndpoint = new ServiceEndpoint(NullContract); 2988foreach (ServiceEndpoint endpoint in serviceEndpoints) 3048private bool TryGetTrustDriver(ServiceEndpoint endpoint, out TrustDriver trustDriver)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrustFeb2005.cs (4)
237public void Validate(ServiceEndpoint serviceEndpoint) { } 238public void AddBindingParameters(ServiceEndpoint serviceEndpoint, BindingParameterCollection bindingParameters) { } 239public void ApplyDispatchBehavior(ServiceEndpoint serviceEndpoint, EndpointDispatcher endpointDispatcher) { } 240public void ApplyClientBehavior(ServiceEndpoint serviceEndpoint, ClientRuntime behavior)
ImportModule.cs (2)
143Collection<ServiceEndpoint> endpoints = new Collection<ServiceEndpoint>(serviceDescriptor.Endpoints.ToList());
Metadata\ServiceDescriptor.cs (3)
65public IEnumerable<ServiceEndpoint> Endpoints { get; private set; } = new List<ServiceEndpoint>(); 197ServiceEndpoint endpoint = this.Endpoints.FirstOrDefault(ep =>