6 types derived from Binding
dotnet-svcutil-lib (6)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CustomBinding.cs (1)
9public class CustomBinding : Binding
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpBindingBase.cs (1)
13public abstract class HttpBindingBase : Binding, IBindingRuntimePreferences
FrameworkFork\System.ServiceModel\System\ServiceModel\NetNamedPipeBinding.cs (1)
11public class NetNamedPipeBinding : Binding, IBindingRuntimePreferences
FrameworkFork\System.ServiceModel\System\ServiceModel\NetTcpBinding.cs (1)
12public class NetTcpBinding : Binding
FrameworkFork\System.ServiceModel\System\ServiceModel\UdpBinding.cs (1)
14public class UdpBinding : Binding, IBindingRuntimePreferences
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpBindingBase.cs (1)
21public abstract class WSHttpBindingBase : Binding, IBindingRuntimePreferences
140 references to Binding
dotnet-svcutil-lib (140)
CodeDomFixup\CodeDomVisitors\ConstructorFixer.cs (2)
27new Type[] { typeof(Binding), typeof(EndpointAddress), }, 28new Type[] { typeof(InstanceContext), typeof(Binding), typeof(EndpointAddress), },
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (2)
148ctor.Parameters.Add(new CodeParameterDeclarationExpression(typeof(System.ServiceModel.Channels.Binding), "binding")); 162ctor.Parameters.Add(new CodeParameterDeclarationExpression(typeof(System.ServiceModel.Channels.Binding), "binding"));
CodeDomFixup\EndpointSelector.cs (3)
20public EndpointSelector(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts) 39private static bool IsBindingSupported(Binding binding) 119private static void ValidateBindingElements(Binding binding)
CodeDomFixup\IWcfCodeGenerationExtension.cs (1)
55void WsdlImported(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts);
CodeDomFixup\MetadataFixup.cs (3)
21public static IFixup[] GetPostFixups(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts) 33protected readonly Collection<Binding> bindings; 38protected MetadataFixup(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts)
CodeDomFixup\MethodCreationHelper.cs (5)
38ReturnType = new CodeTypeReference(typeof(Binding)), 134private void AddNewBinding(string endpointConfigurationName, Binding binding) 148private static void AddBindingConfiguration(CodeStatementCollection statements, Binding binding) 214private static void AddIssuerBindingConfiguration(CodeStatementCollection statements, Binding binding) 2178ReturnType = new CodeTypeReference(typeof(Binding)),
CodeDomFixup\NoMessageHeaderFixup.cs (1)
13public NoMessageHeaderFixup(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts)
CodeDomFixup\NoSoapEncodingFixup.cs (1)
15public NoSoapEncodingFixup(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts)
CodeDomFixup\System.ServiceModel.FederationCodeGen.cs (2)
86public static WSTrustTokenParameters CreateWSFederationTokenParameters(System.ServiceModel.Channels.Binding issuerBinding, System.ServiceModel.EndpointAddress issuerAddress) => default; 87public static WSTrustTokenParameters CreateWS2007FederationTokenParameters(System.ServiceModel.Channels.Binding issuerBinding, System.ServiceModel.EndpointAddress issuerAddress) => default;
CodeDomFixup\WcfCodeGenerationExtension.cs (1)
40public void WsdlImported(WsdlImporter importer, Collection<ServiceEndpoint> endpoints, Collection<Binding> bindings, Collection<ContractDescription> contracts)
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpBinding.cs (1)
146internal static bool TryCreate(BindingElementCollection elements, out Binding binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\ChannelFactory.cs (6)
266protected void InitializeEndpoint(Binding binding, EndpointAddress address) 453public ChannelFactory(Binding binding) 458public ChannelFactory(Binding binding, String remoteAddress) 464public ChannelFactory(Binding binding, EndpointAddress remoteAddress) 633public static TChannel CreateChannel(Binding binding, EndpointAddress endpointAddress) 647public static TChannel CreateChannel(Binding binding, EndpointAddress endpointAddress, Uri via)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelBuilder.cs (1)
26public ChannelBuilder(Binding binding, BindingParameterCollection bindingParameters, bool addChannelDemuxerIfRequired)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextBindingElementImporter.cs (1)
81Binding binding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CustomBinding.cs (3)
73public CustomBinding(Binding binding) 78private static BindingElementCollection SafeCreateBindingElements(Binding binding) 87internal CustomBinding(Binding binding, BindingElementCollection elements)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (1)
147Binding binding = context.Endpoint.Binding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelFactory.cs (9)
24public ServiceChannelFactory(ClientRuntime clientRuntime, Binding binding) 122Binding binding = serviceEndpoint.Binding; 402ClientRuntime clientRuntime, Binding binding) 483public ServiceChannelFactoryOverOutput(IChannelFactory<IOutputChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding) 502public ServiceChannelFactoryOverDuplex(IChannelFactory<IDuplexChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding) 522public ServiceChannelFactoryOverRequest(IChannelFactory<IRequestChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding) 542public ServiceChannelFactoryOverOutputSession(IChannelFactory<IOutputSessionChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding, bool datagramAdapter) 571public ServiceChannelFactoryOverDuplexSession(IChannelFactory<IDuplexSessionChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding, bool useActiveAutoClose) 597public ServiceChannelFactoryOverRequestSession(IChannelFactory<IRequestSessionChannel> innerChannelFactory, ClientRuntime clientRuntime, Binding binding, bool datagramAdapter)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\StandardBindingImporter.cs (2)
33Binding binding = null; 63private void SetBinding(ServiceEndpoint endpoint, Binding binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElement.cs (1)
88Binding binding = new CustomBinding(transport);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElementImporter.cs (1)
67Binding binding = context.Endpoint.Binding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpTransportImporter.cs (2)
84Binding newEndpointBinding = null; 87Binding udpBinding;
FrameworkFork\System.ServiceModel\System\ServiceModel\ClientBase.cs (2)
45protected ClientBase(Binding binding, EndpointAddress remoteAddress) 56protected ClientBase(InstanceContext callbackInstance, Binding binding, EndpointAddress remoteAddress)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (1)
44private static Type s_bindingType = typeof(Binding);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DispatcherBuilder.cs (2)
303private bool IsManualAddressing(Binding binding) 315private bool IsMulticast(Binding binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeBindings.cs (20)
14private static Binding s_httpBinding; 15private static Binding s_httpGetBinding; 16private static Binding s_httpsBinding; 17private static Binding s_httpsGetBinding; 18private static Binding s_tcpBinding; 19private static Binding s_pipeBinding; 21internal static Binding Http 35internal static Binding HttpGet 49internal static Binding Https 63internal static Binding HttpsGet 77internal static Binding Tcp 91internal static Binding NamedPipe 105public static Binding CreateMexHttpBinding() 110public static Binding CreateMexHttpsBinding() 115public static Binding CreateMexTcpBinding() 120public static Binding CreateMexNamedPipeBinding() 125internal static Binding GetBindingForScheme(string scheme) 127Binding binding = null; 132internal static bool TryGetBindingForScheme(string scheme, out Binding binding) 210Binding binding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (3)
85public MetadataExchangeClient(Binding mexBinding) 196Binding mexBinding = null; 410private static long GetMaxMessageSize(Binding mexBinding)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceEndpoint.cs (3)
19private Binding _binding; 35public ServiceEndpoint(ContractDescription contract, Binding binding, EndpointAddress address) 70public Binding Binding
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (5)
382private WsdlNS.MessageBinding CreateWsdlMessageBinding(MessageDescription messageDescription, Binding binding, WsdlNS.OperationBinding wsdlOperationBinding) 402private WsdlNS.FaultBinding CreateWsdlFaultBinding(FaultDescription faultDescription, Binding binding, WsdlNS.OperationBinding wsdlOperationBinding) 555private static bool IsWsdlExportable(Binding binding) 1229public readonly Binding Binding; 1231public BindingDictionaryKey(ContractDescription contract, Binding binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (5)
143public Collection<Binding> ImportAllBindings() 149Collection<Binding> bindings = new Collection<Binding>(); 175public Binding ImportBinding(WsdlNS.Binding wsdlBinding) 551private Binding CreateBinding(WsdlEndpointConversionContext endpointContext, XmlQualifiedName bindingQName)
FrameworkFork\System.ServiceModel\System\ServiceModel\DuplexChannelFactory.cs (13)
17public DuplexChannelFactory(Type callbackInstanceType, Binding binding, String remoteAddress) 20public DuplexChannelFactory(Type callbackInstanceType, Binding binding, EndpointAddress remoteAddress) 23public DuplexChannelFactory(Type callbackInstanceType, Binding binding) 40public DuplexChannelFactory(InstanceContext callbackInstance, Binding binding, String remoteAddress) 43public DuplexChannelFactory(InstanceContext callbackInstance, Binding binding, EndpointAddress remoteAddress) 46public DuplexChannelFactory(InstanceContext callbackInstance, Binding binding) 111public DuplexChannelFactory(object callbackObject, Binding binding) 117public DuplexChannelFactory(object callbackObject, Binding binding, String remoteAddress) 122public DuplexChannelFactory(object callbackObject, Binding binding, EndpointAddress remoteAddress) 269public static TChannel CreateChannel(object callbackObject, Binding binding, EndpointAddress endpointAddress) 274public static TChannel CreateChannel(object callbackObject, Binding binding, EndpointAddress endpointAddress, Uri via) 287public static TChannel CreateChannel(InstanceContext callbackInstance, Binding binding, EndpointAddress endpointAddress) 295public static TChannel CreateChannel(InstanceContext callbackInstance, Binding binding, EndpointAddress endpointAddress, Uri via)
FrameworkFork\System.ServiceModel\System\ServiceModel\DuplexClientBase.cs (1)
28protected DuplexClientBase(InstanceContext callbackInstance, Binding binding, EndpointAddress remoteAddress)
FrameworkFork\System.ServiceModel\System\ServiceModel\FederatedMessageSecurityOverHttp.cs (2)
30private Binding _issuerBinding; 92public Binding IssuerBinding
FrameworkFork\System.ServiceModel\System\ServiceModel\NetHttpBinding.cs (1)
169internal static bool TryCreate(BindingElementCollection elements, out Binding binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\NetNamedPipeBinding.cs (1)
190internal static bool TryCreate(BindingElementCollection elements, out Binding binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\NetTcpBinding.cs (1)
325internal static bool TryCreate(BindingElementCollection elements, out Binding binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (4)
31public Binding IssuerBinding; 39private Binding _issuerBinding; 89public IssuedSecurityTokenParameters(string tokenType, EndpointAddress issuerAddress, Binding issuerBinding) 152public Binding IssuerBinding
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\ServiceModelSecurityTokenRequirement.cs (2)
130public Binding IssuerBinding 134return GetPropertyOrDefault<Binding>(IssuerBindingProperty, null);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\TrustDriver.cs (1)
155public abstract IChannelFactory<IRequestChannel> CreateFederationProxy(EndpointAddress address, Binding binding, KeyedByTypeCollection<IEndpointBehavior> channelBehaviors);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrustDec2005.cs (1)
109public override IChannelFactory<IRequestChannel> CreateFederationProxy(EndpointAddress address, Binding binding, KeyedByTypeCollection<IEndpointBehavior> channelBehaviors)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrustFeb2005.cs (1)
205public override IChannelFactory<IRequestChannel> CreateFederationProxy(EndpointAddress address, Binding binding, KeyedByTypeCollection<IEndpointBehavior> channelBehaviors)
FrameworkFork\System.ServiceModel\System\ServiceModel\UdpBinding.cs (1)
188internal static bool TryCreate(BindingElementCollection bindingElements, out Binding binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\WS2007FederationHttpBinding.cs (1)
67internal new static bool TryCreate(SecurityBindingElement sbe, TransportBindingElement transport, PrivacyNoticeBindingElement privacy, ReliableSessionBindingElement rsbe, TransactionFlowBindingElement tfbe, out Binding binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\WS2007HttpBinding.cs (1)
66internal new static bool TryCreate(SecurityBindingElement sbe, TransportBindingElement transport, ReliableSessionBindingElement rsbe, TransactionFlowBindingElement tfbe, out Binding binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\WSFederationHttpBinding.cs (1)
104internal static bool TryCreate(SecurityBindingElement sbe, TransportBindingElement transport, PrivacyNoticeBindingElement privacy, ReliableSessionBindingElement rsbe, TransactionFlowBindingElement tfbe, out Binding binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpBinding.cs (1)
102internal static bool TryCreate(SecurityBindingElement sbe, TransportBindingElement transport, ReliableSessionBindingElement rsbe, TransactionFlowBindingElement tfbe, out Binding binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpBindingBase.cs (1)
286internal static bool TryCreate(BindingElementCollection elements, out Binding binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpContextBinding.cs (2)
109internal static new bool TryCreate(BindingElementCollection bindingElements, out Binding binding) 123Binding wsHttpBinding;
ImportModule.cs (6)
144Collection<Binding> bindings = new Collection<Binding>(serviceDescriptor.Bindings.ToList()); 376private readonly Dictionary<Binding, ContractDescription> _bindingContractMapping = new Dictionary<Binding, ContractDescription>(); 377private readonly Dictionary<Binding, XmlQualifiedName> _bindingWsdlMapping = new Dictionary<Binding, XmlQualifiedName>();
MarkupTelemetryHelper.cs (5)
14public static void SendBindingData(IEnumerable<Binding> bindings) 21foreach (Binding binding in bindings) 38private static string GetDetails(Binding binding) 83private static string GetBindingName<T>(Binding binding) where T : Binding
Metadata\MetadaExchangeResolver.cs (1)
40private MetadataExchangeResolver(Binding binding) : base(binding)
Metadata\ServiceDescriptor.cs (2)
67public IEnumerable<Binding> Bindings { get; private set; } = new List<Binding>();