10 writes to Binding
dotnet-svcutil-lib (10)
FrameworkFork\System.ServiceModel\System\ServiceModel\ChannelFactory.cs (1)
272
this.Endpoint.
Binding
= binding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextBindingElementImporter.cs (1)
112
context.Endpoint.
Binding
= binding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (1)
158
context.Endpoint.
Binding
= customBinding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\StandardBindingImporter.cs (1)
67
endpoint.
Binding
= binding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElementImporter.cs (1)
78
context.Endpoint.
Binding
= customBinding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpTransportImporter.cs (1)
97
context.Endpoint.
Binding
= newEndpointBinding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (3)
416
newWsdlBindingEndpoint.
Binding
= CreateBinding(bindingEndpointContext, bindingQName);
468
endpoint.
Binding
= CreateBinding(endpointContext, bindingQName);
472
endpoint.
Binding
= bindingEndpointContext.Endpoint.Binding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2658
bootstrapEndpoint.
Binding
= bootstrapBinding;
84 references to Binding
dotnet-svcutil-lib (84)
CodeDomFixup\EndpointSelector.cs (2)
30
bindings.Add(endpoint.
Binding
);
36
return IsBindingSupported(endpoint.
Binding
);
CodeDomFixup\MethodCreationHelper.cs (1)
60
this.AddNewBinding(endpoint.Name, endpoint.
Binding
);
FrameworkFork\System.ServiceModel\System\ServiceModel\ChannelFactory.cs (5)
57
if (this.Endpoint != null && this.Endpoint.
Binding
!= null)
59
return this.Endpoint.
Binding
.CloseTimeout;
72
if (this.Endpoint != null && this.Endpoint.
Binding
!= null)
74
return this.Endpoint.
Binding
.OpenTimeout;
154
if (this.Endpoint.
Binding
== null)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextBindingElementImporter.cs (4)
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;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (4)
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
);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelFactory.cs (2)
122
Binding binding = serviceEndpoint.
Binding
;
128
customBinding.CopyTimeouts(serviceEndpoint.
Binding
);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\StandardBindingImporter.cs (5)
26
if (endpointContext.Endpoint.
Binding
== null)
29
if (endpointContext.Endpoint.
Binding
is CustomBinding)
31
BindingElementCollection elements = ((CustomBinding)endpointContext.Endpoint.
Binding
).Elements;
65
binding.Name = endpoint.
Binding
.Name;
66
binding.Namespace = endpoint.
Binding
.Namespace;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElementImporter.cs (4)
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
);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpTransportImporter.cs (5)
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;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientCredentials.cs (2)
169
if (serviceEndpoint.
Binding
== null)
175
if (serviceEndpoint.
Binding
.CreateBindingElements().Find<SecurityBindingElement>() == null)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DispatcherBuilder.cs (9)
25
IdentityVerifier identityVerifier = serviceEndpoint.
Binding
.GetProperty<IdentityVerifier>(parameters);
281
behavior.ManualAddressing = this.IsManualAddressing(serviceEndpoint.
Binding
);
282
behavior.EnableFaults = !this.IsMulticast(serviceEndpoint.
Binding
);
285
behavior.CallbackDispatchRuntime.ChannelDispatcher.MessageVersion = serviceEndpoint.
Binding
.MessageVersion;
290
IBindingRuntimePreferences runtimePreferences = serviceEndpoint.
Binding
as IBindingRuntimePreferences;
298
endpointDispatcher.ChannelDispatcher.ManualAddressing = this.IsManualAddressing(serviceEndpoint.
Binding
);
299
endpointDispatcher.ChannelDispatcher.EnableFaults = !this.IsMulticast(serviceEndpoint.
Binding
);
300
endpointDispatcher.ChannelDispatcher.MessageVersion = serviceEndpoint.
Binding
.MessageVersion;
360
BindingElementCollection elements = endpoint.
Binding
.CreateBindingElements();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (7)
48
_maxMessageSize = GetMaxMessageSize(_factory.Endpoint.
Binding
);
83
_maxMessageSize = GetMaxMessageSize(_factory.Endpoint.
Binding
);
92
_maxMessageSize = GetMaxMessageSize(_factory.Endpoint.
Binding
);
171
BindingElementCollection bindingElementCollection = _factory.Endpoint.
Binding
.CreateBindingElements();
205
_maxMessageSize = GetMaxMessageSize(_factory.Endpoint.
Binding
);
968
messageVersion = channelFactory.Endpoint.
Binding
.MessageVersion;
1022
messageVersion = channelFactory.Endpoint.
Binding
.MessageVersion;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExporter.cs (2)
56
foreach (IPolicyExportExtension exporter in endpoint.
Binding
.CreateBindingElements().FindAll<IPolicyExportExtension>())
89
_bindingElements = endpoint.
Binding
.CreateBindingElements();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceEndpoint.cs (3)
105
return String.Format(CultureInfo.InvariantCulture, "{0}_{1}", new XmlName(
Binding
.Name).EncodedName, Contract.Name);
187
if (
Binding
== null)
196
this.
Binding
.EnsureInvariants(this.Contract.Name);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceEndpointCollection.cs (4)
66
endpoint.
Binding
.Name == bindingName.Name &&
67
endpoint.
Binding
.Namespace == bindingName.Namespace)
91
endpoint.
Binding
.Name == bindingName.Name &&
92
endpoint.
Binding
.Namespace == bindingName.Namespace)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlEndpointConversionContext.cs (1)
67
foreach (IWsdlExportExtension extension in _endpoint.
Binding
.CreateBindingElements().FindAll<IWsdlExportExtension>())
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (12)
147
if (endpoint.
Binding
== null)
194
WsdlNS.MessageBinding wsdlMessageBinding = CreateWsdlMessageBinding(message, endpoint.
Binding
, wsdlOperationBinding);
200
WsdlNS.FaultBinding wsdlFaultBinding = CreateWsdlFaultBinding(fault, endpoint.
Binding
, wsdlOperationBinding);
219
_exportedBindings.Add(new BindingDictionaryKey(endpoint.Contract, endpoint.
Binding
), endpointContext);
223
endpointContext = new WsdlEndpointConversionContext(_exportedBindings[new BindingDictionaryKey(endpoint.Contract, endpoint.
Binding
)], endpoint, wsdlPort);
229
Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.WarnDuplicateBindingQNameNameOnExport, endpoint.
Binding
.Name, endpoint.
Binding
.Namespace, endpoint.Contract.Name), true /*isWarning*/));
314
bool printWsdlDeclaration = IsWsdlExportable(endpoint.
Binding
);
316
if (!_exportedBindings.TryGetValue(new BindingDictionaryKey(endpoint.Contract, endpoint.
Binding
), out bindingConversionContext))
1048
string bindingWsdlNamespace = endpoint.
Binding
.Namespace;
1218
endpoint.
Binding
.Name,
1219
endpoint.
Binding
.Namespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (3)
158
bindings.Add(importedBindingContext.Endpoint.
Binding
);
183
return ImportWsdlBinding(wsdlBinding, ErrorBehavior.RethrowExceptions).Endpoint.
Binding
;
472
endpoint.Binding = bindingEndpointContext.Endpoint.
Binding
;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (3)
3035
parameters.IssuerBinding = endpoint.
Binding
;
3041
endpointInfo.IssuerBinding = endpoint.
Binding
;
3050
SecurityBindingElement sbe = endpoint.
Binding
.CreateBindingElements().Find<SecurityBindingElement>();
ImportModule.cs (4)
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;
Metadata\ServiceDescriptor.cs (2)
198
(port.Binding.Name == ep.
Binding
.Name) &&
199
(port.Binding.Namespace == ep.
Binding
.Namespace));