18 instantiations of CustomBinding
dotnet-svcutil-lib (18)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Binding.cs (3)
172BindingContext context = new BindingContext(new CustomBinding(this), parameters); 198BindingContext context = new BindingContext(new CustomBinding(this), parameters); 208BindingContext context = new BindingContext(new CustomBinding(this), parameters);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BindingElement.cs (1)
41return this.GetProperty<T>(new BindingContext(new CustomBinding(), new BindingParameterCollection()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelBuilder.cs (3)
22_binding = new CustomBinding(context.Binding, context.RemainingBindingElements); 28_binding = new CustomBinding(binding); 38_binding = new CustomBinding(channelBuilder.Binding);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (1)
157customBinding = new CustomBinding(context.Endpoint.Binding);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (1)
1483CustomBinding binding = new CustomBinding(bindingElements);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelFactory.cs (2)
125CustomBinding customBinding = new CustomBinding(binding); 127customBinding = new CustomBinding(context.RemainingBindingElements);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElement.cs (1)
88Binding binding = new CustomBinding(transport);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElementImporter.cs (1)
77customBinding = new CustomBinding(context.Endpoint.Binding);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeBindings.cs (2)
192return new CustomBinding(textEncoding, httpTransport); 197CustomBinding binding = new CustomBinding(MetadataStrings.MetadataExchangeStrings.TcpBindingName, MetadataStrings.MetadataExchangeStrings.BindingNamespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (1)
557CustomBinding binding = new CustomBinding(bindingElements);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (1)
66_issuerBinding = new CustomBinding(other._issuerBinding);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2642CustomBinding bootstrapBinding = new CustomBinding(bootstrapSecurity);
49 references to CustomBinding
dotnet-svcutil-lib (49)
CodeDomFixup\EndpointSelector.cs (2)
43if (!(binding is BasicHttpBinding || binding is NetHttpBinding || binding is WSHttpBinding || binding is NetTcpBinding || binding is WSFederationHttpBinding || binding is NetNamedPipeBinding || binding is CustomBinding)) 46typeof(BasicHttpBinding).FullName, typeof(NetHttpBinding).FullName, typeof(WSHttpBinding).FullName, typeof(NetTcpBinding).FullName, typeof(CustomBinding).FullName));
CodeDomFixup\MethodCreationHelper.cs (9)
178CustomBinding custom = binding as CustomBinding; 237CustomBinding custom = binding as CustomBinding; 947private static void AddCustomBindingConfiguration(CodeStatementCollection statements, CustomBinding custom, bool isIssuerBinding = false) 957typeof(CustomBinding), 959new CodeObjectCreateExpression(typeof(CustomBinding)))); 966typeof(CustomBinding), 968new CodeObjectCreateExpression(typeof(CustomBinding))));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BindingContext.cs (5)
13private CustomBinding _binding; 20public BindingContext(CustomBinding binding, BindingParameterCollection parameters) 30private BindingContext(CustomBinding binding, 37private void Initialize(CustomBinding binding, 47public CustomBinding Binding
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelBuilder.cs (2)
11private CustomBinding _binding; 42public CustomBinding Binding
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextBindingElementImporter.cs (2)
50CustomBinding customBinding = context.Endpoint.Binding as CustomBinding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (5)
148BindingElementCollection elements = binding is CustomBinding ? ((CustomBinding)binding).Elements : binding.CreateBindingElements(); 152private static CustomBinding ConvertToCustomBinding(WsdlEndpointConversionContext context) 154CustomBinding customBinding = context.Endpoint.Binding as CustomBinding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (1)
1483CustomBinding binding = new CustomBinding(bindingElements);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelFactory.cs (1)
125CustomBinding customBinding = new CustomBinding(binding);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\StandardBindingImporter.cs (2)
29if (endpointContext.Endpoint.Binding is CustomBinding) 31BindingElementCollection elements = ((CustomBinding)endpointContext.Endpoint.Binding).Elements;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElementImporter.cs (5)
68BindingElementCollection elements = binding is CustomBinding ? ((CustomBinding)binding).Elements : binding.CreateBindingElements(); 72private static CustomBinding ConvertToCustomBinding(WsdlEndpointConversionContext context) 74CustomBinding customBinding = context.Endpoint.Binding as CustomBinding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpTransportImporter.cs (1)
82if (context.Endpoint.Binding is CustomBinding)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeBindings.cs (6)
176private static CustomBinding CreateHttpGetBinding() 181private static CustomBinding CreateHttpsGetBinding() 186private static CustomBinding CreateGetBinding(HttpTransportBindingElement httpTransport) 195private static CustomBinding CreateTcpBinding() 197CustomBinding binding = new CustomBinding(MetadataStrings.MetadataExchangeStrings.TcpBindingName, MetadataStrings.MetadataExchangeStrings.BindingNamespace); 203private static CustomBinding CreateNamedPipeBinding()
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (1)
557CustomBinding binding = new CustomBinding(bindingElements);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2642CustomBinding bootstrapBinding = new CustomBinding(bootstrapSecurity);
MarkupTelemetryHelper.cs (2)
74case CustomBinding customBinding: 75return GetBindingName<CustomBinding>(binding);
Metadata\MetadaExchangeResolver.cs (4)
391CustomBinding binding = (CustomBinding)MetadataExchangeBindings.CreateMexTcpBinding(); 397CustomBinding binding = (CustomBinding)MetadataExchangeBindings.CreateMexNamedPipeBinding();