3 instantiations of Binding
System.ServiceModel (1)
System\ServiceModel\Description\WsdlExporter.cs (1)
320
wsdlBinding = new WsdlNS.
Binding
();
System.Web.Services (2)
System\Web\Services\Description\ProtocolReflector.cs (1)
383
binding = new
Binding
();
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
4530
o = new global::System.Web.Services.Description.
Binding
();
105 references to Binding
System.ServiceModel (52)
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (1)
285
WsdlNS.
Binding
wsdlBinding = wsdlDocs.GetBinding(bindingQname);
System\ServiceModel\Description\MessageContractImporter.cs (2)
1110
foreach (WsdlNS.
Binding
binding in description.Bindings)
1191
static WsdlNS.SoapBindingStyle GetStyle(WsdlNS.
Binding
binding)
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
1248
WsdlNS.
Binding
binding = wsdls.GetBinding(port.Binding);
System\ServiceModel\Description\SoapHelper.cs (10)
42
internal static WsdlNS.SoapAddressBinding GetOrCreateSoapAddressBinding(WsdlNS.
Binding
wsdlBinding, WsdlNS.Port wsdlPort, WsdlExporter exporter)
149
internal static EnvelopeVersion GetSoapVersion(WsdlNS.
Binding
wsdlBinding)
159
private static void SetSoapVersionState(WsdlNS.
Binding
wsdlBinding, WsdlExporter exporter, EnvelopeVersion version)
165
versions = new Dictionary<WsdlNS.
Binding
, EnvelopeVersion>();
169
((Dictionary<WsdlNS.
Binding
, EnvelopeVersion>)versions)[wsdlBinding] = version;
172
private static EnvelopeVersion GetSoapVersionState(WsdlNS.
Binding
wsdlBinding, WsdlExporter exporter)
178
if (versions != null && ((Dictionary<WsdlNS.
Binding
, EnvelopeVersion>)versions).ContainsKey(wsdlBinding))
180
return ((Dictionary<WsdlNS.
Binding
, EnvelopeVersion>)versions)[wsdlBinding];
471
static WsdlNS.SoapBinding CreateSoapBinding(EnvelopeVersion version, WsdlNS.
Binding
wsdlBinding)
609
internal static WsdlNS.SoapBindingStyle GetStyle(WsdlNS.
Binding
binding)
System\ServiceModel\Description\WsdlContractConversionContext.cs (1)
153
foreach (WsdlNS.
Binding
wsdlBinding in wsdl.Bindings)
System\ServiceModel\Description\WsdlEndpointConversionContext.cs (3)
18
readonly WsdlNS.
Binding
wsdlBinding;
29
internal WsdlEndpointConversionContext(WsdlContractConversionContext contractContext, ServiceEndpoint endpoint, WsdlNS.
Binding
wsdlBinding, WsdlNS.Port wsdlport)
112
public WsdlNS.
Binding
WsdlBinding { get { return wsdlBinding; } }
System\ServiceModel\Description\WsdlExporter.cs (7)
166
WsdlNS.
Binding
wsdlBinding;
307
WsdlNS.
Binding
CreateWsdlBindingAndPort(ServiceEndpoint endpoint, XmlQualifiedName wsdlServiceQName, out WsdlNS.Port wsdlPort, out bool newBinding, out bool bindingNameWasUniquified)
310
WsdlNS.
Binding
wsdlBinding;
735
WsdlNS.
Binding
wsdlBinding = endpointContext.WsdlBinding;
872
static string CreateBindingPolicyKey(WsdlNS.
Binding
wsdlBinding)
887
WsdlNS.
Binding
wsdlBinding = wsdlOperationBinding.Binding;
898
WsdlNS.
Binding
wsdlBinding = wsdlOperationBinding.Binding;
System\ServiceModel\Description\WsdlHelper.cs (4)
115
foreach (WsdlNS.
Binding
binding in wsdl.Bindings)
151
private static void UpdatePolicyKeys(WsdlNS.
Binding
binding, string newBindingName, WsdlNS.ServiceDescription wsdl)
238
foreach (WsdlNS.
Binding
binding in wsdl.Bindings)
292
foreach (WsdlNS.
Binding
binding in bindings)
System\ServiceModel\Description\WsdlImporter.cs (23)
149
foreach (WsdlNS.
Binding
wsdlBinding in this.GetAllBindings())
174
public Binding ImportBinding(WsdlNS.
Binding
wsdlBinding)
211
foreach (WsdlNS.
Binding
wsdlBinding in FindBindingsForPortType(wsdlPortType))
236
foreach (WsdlNS.
Binding
wsdlBinding in FindBindingsForContract(contract))
244
public ServiceEndpointCollection ImportEndpoints(WsdlNS.
Binding
wsdlBinding)
359
WsdlEndpointConversionContext ImportWsdlBinding(WsdlNS.
Binding
wsdlBinding, ErrorBehavior errorBehavior)
452
WsdlNS.
Binding
wsdlBinding = this.wsdlDocuments.GetBinding(wsdlPort.Binding);
736
void VerifyImportedWsdlBinding(WsdlNS.
Binding
wsdlBinding)
1184
internal static XmlQualifiedName GetBindingName(WsdlNS.
Binding
wsdlBinding)
1321
static public void InsertAdHocPolicy(WsdlNS.
Binding
wsdlBinding, string value, string key)
1351
static string AddPolicyUri(WsdlNS.
Binding
wsdlBinding, string name)
1498
foreach (WsdlNS.
Binding
wsdlBinding in wsdl.Bindings)
1513
IEnumerable<WsdlNS.
Binding
> FindBindingsForPortType(WsdlNS.PortType wsdlPortType)
1515
foreach (WsdlNS.
Binding
wsdlBinding in GetAllBindings())
1523
IEnumerable<WsdlNS.
Binding
> FindBindingsForContract(ContractDescription contract)
1526
foreach (WsdlNS.
Binding
wsdlBinding in GetAllBindings())
1534
IEnumerable<WsdlNS.Port> FindPortsForBinding(WsdlNS.
Binding
binding)
1543
IEnumerable<WsdlNS.
Binding
> GetAllBindings()
1547
foreach (WsdlNS.
Binding
wsdlBinding in wsdl.Bindings)
1751
else if (item is WsdlNS.
Binding
)
1803
else if (item is WsdlNS.
Binding
)
1806
wsdlNs = ((WsdlNS.
Binding
)item).ServiceDescription.TargetNamespace ?? String.Empty;
2045
internal static bool ContainsPolicy(WsdlNS.
Binding
wsdlBinding)
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpTransportImporter.cs (1)
24
foreach (WsdlNS.
Binding
wsdlBinding in wsdl.Bindings)
System.Web.Extensions (6)
Compilation\WCFModel\AsmxEndpointPickerExtension.cs (4)
85
List<
Binding
> bindingsToDelete = new List<
Binding
>();
87
foreach (
Binding
binding in document.Bindings)
95
foreach (
Binding
bindingToDelete in bindingsToDelete)
Compilation\WCFModel\HttpBindingExtension.cs (1)
33
static bool ContainsHttpBindingExtension(WsdlNS.
Binding
wsdlBinding)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (1)
1835
foreach (System.Web.Services.Description.
Binding
binding in wsdlFile.Bindings)
System.Web.Services (46)
System\Web\Services\Configuration\WebServicesSection.cs (1)
185
table.Add(typeof(
Binding
), new XmlAttributes());
System\Web\Services\Description\HttpFormatExtensions.cs (1)
19
[XmlFormatExtension("binding", HttpBinding.Namespace, typeof(
Binding
))]
System\Web\Services\Description\ProtocolImporter.cs (8)
41
Binding
binding;
178
public
Binding
Binding {
264
Binding
binding = ServiceDescriptions.GetBinding(port.Binding);
282
foreach (
Binding
binding in serviceDescription.Bindings) {
308
Binding
binding = ServiceDescriptions.GetBinding(port.Binding);
319
foreach (
Binding
binding in serviceDescription.Bindings) {
333
void MoveToBinding(
Binding
binding, PortType portType) {
337
void MoveToBinding(Service service, Port port,
Binding
binding, PortType portType) {
System\Web\Services\Description\ProtocolReflector.cs (3)
33
Binding
binding;
134
public
Binding
Binding {
377
foreach (
Binding
b in bindingServiceDescription.Bindings)
System\Web\Services\Description\ServiceDescription.cs (18)
846
Binding
parent;
848
internal void SetParent(
Binding
parent) {
856
public
Binding
Binding {
2173
public
Binding
this[int index] {
2174
get { return (
Binding
)List[index]; }
2182
public int Add(
Binding
binding) {
2190
public void Insert(int index,
Binding
binding) {
2198
public int IndexOf(
Binding
binding) {
2206
public bool Contains(
Binding
binding) {
2214
public void Remove(
Binding
binding) {
2222
public void CopyTo(
Binding
[] array, int index) {
2230
public
Binding
this[string name] {
2231
get { return (
Binding
)Table[name]; }
2239
return ((
Binding
)value).Name;
2247
((
Binding
)value).SetParent((ServiceDescription)parent);
2434
internal OperationBindingCollection(
Binding
binding) : base(binding) { }
2498
((OperationBinding)value).SetParent((
Binding
)parent);
2865
else if (type == typeof(
Binding
))
System\Web\Services\Description\ServiceDescriptionImporter.cs (1)
343
foreach (
Binding
binding in description.Bindings) {
System\Web\Services\Description\ServiceDescriptions.cs (2)
157
public
Binding
GetBinding(XmlQualifiedName name) {
159
Binding
binding = null;
System\Web\Services\Description\ServiceDescriptionSerializer.cs (5)
89
Write117_Binding(@"binding", @"http://schemas.xmlsoap.org/wsdl/", ((global::System.Web.Services.Description.
Binding
)a[ia]), false, false);
293
void Write117_Binding(string n, string ns, global::System.Web.Services.Description.
Binding
o, bool isNullable, bool needType) {
300
if (t == typeof(global::System.Web.Services.Description.
Binding
)) {
4518
global::System.Web.Services.Description.
Binding
Read117_Binding(bool isNullable, bool checkType) {
4529
global::System.Web.Services.Description.
Binding
o;
System\Web\Services\Description\Soap12FormatExtensions.cs (1)
16
[XmlFormatExtension("binding", Soap12Binding.Namespace, typeof(
Binding
))]
System\Web\Services\Description\SoapFormatExtensions.cs (1)
11
[XmlFormatExtension("binding", SoapBinding.Namespace, typeof(
Binding
))]
System\Web\Services\Description\WebServicesInteroperability.cs (5)
87
internal static bool AnalyzeBinding(
Binding
binding, ServiceDescription description, ServiceDescriptionCollection descriptions, BasicProfileViolationCollection violations) {
270
foreach (
Binding
binding in description.Bindings) {
520
static void CheckExtensions(
Binding
binding, ServiceDescription description, BasicProfileViolationCollection violations) {
548
Binding
binding = descriptions.GetBinding(port.Binding);
557
foreach (
Binding
binding in description.Bindings) {