50 references to Endpoint
dotnet-svcutil-lib (50)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextBindingElementImporter.cs (6)
38
if (context.
Endpoint
== null)
42
if (context.
Endpoint
.Binding == null)
50
CustomBinding customBinding = context.
Endpoint
.Binding as CustomBinding;
110
binding.Name = context.
Endpoint
.Binding.Name;
111
binding.Namespace = context.
Endpoint
.Binding.Namespace;
112
context.
Endpoint
.Binding = binding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (5)
28
if (context.
Endpoint
.Binding == null)
147
Binding binding = context.
Endpoint
.Binding;
154
CustomBinding customBinding = context.
Endpoint
.Binding as CustomBinding;
157
customBinding = new CustomBinding(context.
Endpoint
.Binding);
158
context.
Endpoint
.Binding = customBinding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\StandardBindingImporter.cs (8)
26
if (endpointContext.
Endpoint
.Binding == null)
29
if (endpointContext.
Endpoint
.Binding is CustomBinding)
31
BindingElementCollection elements = ((CustomBinding)endpointContext.
Endpoint
.Binding).Elements;
40
SetBinding(endpointContext.
Endpoint
, binding);
45
SetBinding(endpointContext.
Endpoint
, binding);
49
SetBinding(endpointContext.
Endpoint
, binding);
54
SetBinding(endpointContext.
Endpoint
, binding);
58
SetBinding(endpointContext.
Endpoint
, binding);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElementImporter.cs (7)
39
if (context.
Endpoint
.Binding == null)
67
Binding binding = context.
Endpoint
.Binding;
74
CustomBinding customBinding = context.
Endpoint
.Binding as CustomBinding;
77
customBinding = new CustomBinding(context.
Endpoint
.Binding);
78
context.
Endpoint
.Binding = customBinding;
85
EndpointAddress address = context.
Endpoint
.Address = WsdlImporter.WSAddressingHelper.ImportAddress(context.WsdlPort);
88
context.
Endpoint
.Address = address;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpTransportImporter.cs (8)
70
if (context.
Endpoint
.Binding == null)
75
BindingElementCollection bindingElements = context.
Endpoint
.Binding.CreateBindingElements();
82
if (context.
Endpoint
.Binding is CustomBinding)
95
newEndpointBinding.Name = context.
Endpoint
.Binding.Name;
96
newEndpointBinding.Namespace = context.
Endpoint
.Binding.Namespace;
97
context.
Endpoint
.Binding = newEndpointBinding;
109
address = context.
Endpoint
.Address = WsdlImporter.WSAddressingHelper.ImportAddress(context.WsdlPort);
114
context.
Endpoint
.Address = address;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (1)
89
return importer.KnownContracts.ContainsValue(endpointContext.
Endpoint
.Contract);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (1)
1196
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(ThrowExtensionException(endpointContext.
Endpoint
, extension, e));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (8)
158
bindings.Add(importedBindingContext.
Endpoint
.Binding);
183
return ImportWsdlBinding(wsdlBinding, ErrorBehavior.RethrowExceptions).
Endpoint
.Binding;
460
endpoint = new ServiceEndpoint(bindingEndpointContext.
Endpoint
.Contract);
472
endpoint.Binding = bindingEndpointContext.
Endpoint
.Binding;
842
operation = FindOperationDescription(endpointContext.
Endpoint
.Contract, wsdlOperationBinding);
1583
IEnumerable<PolicyConversionContext> policyContexts = GetPolicyConversionContextEnumerator(endpointContext.
Endpoint
, policyAlternatives, this.Quotas);
2205
policyAlternatives.OperationBindingAlternatives = new Dictionary<OperationDescription, IEnumerable<IEnumerable<XmlElement>>>(endpointContext.
Endpoint
.Contract.Operations.Count);
2209
foreach (OperationDescription operation in endpointContext.
Endpoint
.Contract.Operations)
ImportModule.cs (6)
386
if (context != null && context.
Endpoint
!= null && context.
Endpoint
.Binding != null)
388
if (!_bindingContractMapping.ContainsKey(context.
Endpoint
.Binding))
390
_bindingContractMapping.Add(context.
Endpoint
.Binding, context.
Endpoint
.Contract);
394
_bindingWsdlMapping[context.
Endpoint
.Binding] = wsdlBindingQName;