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