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