2 instantiations of Binding
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (1)
320
wsdlBinding = new WsdlNS.
Binding
();
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
5691
o = new global::System.Web.Services.Description.
Binding
();
78 references to Binding
dotnet-svcutil-lib (78)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpTransportImporter.cs (1)
25
foreach (WsdlNS.
Binding
wsdlBinding in wsdl.Bindings)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (2)
1098
foreach (WsdlNS.
Binding
binding in description.Bindings)
1179
private static WsdlNS.SoapBindingStyle GetStyle(WsdlNS.
Binding
binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\SoapHelper.cs (10)
43
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];
468
private static WsdlNS.SoapBinding CreateSoapBinding(EnvelopeVersion version, WsdlNS.
Binding
wsdlBinding)
606
internal static WsdlNS.SoapBindingStyle GetStyle(WsdlNS.
Binding
binding)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlContractConversionContext.cs (1)
150
foreach (WsdlNS.
Binding
wsdlBinding in wsdl.Bindings)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlEndpointConversionContext.cs (3)
17
private readonly WsdlNS.
Binding
_wsdlBinding;
28
internal WsdlEndpointConversionContext(WsdlContractConversionContext contractContext, ServiceEndpoint endpoint, WsdlNS.
Binding
wsdlBinding, WsdlNS.Port wsdlport)
109
public WsdlNS.
Binding
WsdlBinding { get { return _wsdlBinding; } }
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (7)
166
WsdlNS.
Binding
wsdlBinding;
307
private 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
private static string CreateBindingPolicyKey(WsdlNS.
Binding
wsdlBinding)
887
WsdlNS.
Binding
wsdlBinding = wsdlOperationBinding.Binding;
898
WsdlNS.
Binding
wsdlBinding = wsdlOperationBinding.Binding;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (23)
150
foreach (WsdlNS.
Binding
wsdlBinding in this.GetAllBindings())
175
public Binding ImportBinding(WsdlNS.
Binding
wsdlBinding)
212
foreach (WsdlNS.
Binding
wsdlBinding in FindBindingsForPortType(wsdlPortType))
237
foreach (WsdlNS.
Binding
wsdlBinding in FindBindingsForContract(contract))
245
public ServiceEndpointCollection ImportEndpoints(WsdlNS.
Binding
wsdlBinding)
358
private WsdlEndpointConversionContext ImportWsdlBinding(WsdlNS.
Binding
wsdlBinding, ErrorBehavior errorBehavior)
451
WsdlNS.
Binding
wsdlBinding = _wsdlDocuments.GetBinding(wsdlPort.Binding);
734
private void VerifyImportedWsdlBinding(WsdlNS.
Binding
wsdlBinding)
1178
internal static XmlQualifiedName GetBindingName(WsdlNS.
Binding
wsdlBinding)
1315
static public void InsertAdHocPolicy(WsdlNS.
Binding
wsdlBinding, string value, string key)
1345
private static string AddPolicyUri(WsdlNS.
Binding
wsdlBinding, string name)
1486
foreach (WsdlNS.
Binding
wsdlBinding in wsdl.Bindings)
1501
private IEnumerable<WsdlNS.
Binding
> FindBindingsForPortType(WsdlNS.PortType wsdlPortType)
1503
foreach (WsdlNS.
Binding
wsdlBinding in GetAllBindings())
1511
private IEnumerable<WsdlNS.
Binding
> FindBindingsForContract(ContractDescription contract)
1514
foreach (WsdlNS.
Binding
wsdlBinding in GetAllBindings())
1522
private IEnumerable<WsdlNS.Port> FindPortsForBinding(WsdlNS.
Binding
binding)
1531
private IEnumerable<WsdlNS.
Binding
> GetAllBindings()
1535
foreach (WsdlNS.
Binding
wsdlBinding in wsdl.Bindings)
1738
else if (item is WsdlNS.
Binding
)
1790
else if (item is WsdlNS.
Binding
)
1793
wsdlNs = ((WsdlNS.
Binding
)item).ServiceDescription.TargetNamespace ?? String.Empty;
2033
internal static bool ContainsPolicy(WsdlNS.
Binding
wsdlBinding)
FrameworkFork\System.Web.Services\Configuration\WebServicesSection.cs (1)
41
table.Add(typeof(
Binding
), new XmlAttributes());
FrameworkFork\System.Web.Services\Services\Description\HttpFormatExtensions.cs (1)
26
[XmlFormatExtension("binding", HttpBinding.Namespace, typeof(
Binding
))]
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (18)
940
private
Binding
_parent;
942
internal void SetParent(
Binding
parent)
951
public
Binding
Binding
2443
public
Binding
this[int index]
2445
get { return (
Binding
)List[index]; }
2453
public int Add(
Binding
binding)
2462
public void Insert(int index,
Binding
binding)
2471
public int IndexOf(
Binding
binding)
2480
public bool Contains(
Binding
binding)
2489
public void Remove(
Binding
binding)
2498
public void CopyTo(
Binding
[] array, int index)
2507
public
Binding
this[string name]
2509
get { return (
Binding
)Table[name]; }
2518
return ((
Binding
)value).Name;
2527
((
Binding
)value).SetParent((ServiceDescription)parent);
2737
internal OperationBindingCollection(
Binding
binding) : base(binding) { }
2809
((OperationBinding)value).SetParent((
Binding
)parent);
3226
else if (type == typeof(
Binding
))
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptions.cs (2)
167
public
Binding
GetBinding(XmlQualifiedName name)
170
Binding
binding = null;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (5)
116
Write117_Binding(@"binding", @"http://schemas.xmlsoap.org/wsdl/", ((global::System.Web.Services.Description.
Binding
)a[ia]), false, false);
374
private void Write117_Binding(string n, string ns, global::System.Web.Services.Description.
Binding
o, bool isNullable, bool needType)
384
if (t == typeof(global::System.Web.Services.Description.
Binding
))
5676
private global::System.Web.Services.Description.
Binding
Read117_Binding(bool isNullable, bool checkType)
5690
global::System.Web.Services.Description.
Binding
o;
FrameworkFork\System.Web.Services\Services\Description\Soap12FormatExtensions.cs (1)
13
[XmlFormatExtension("binding", Soap12Binding.Namespace, typeof(
Binding
))]
FrameworkFork\System.Web.Services\Services\Description\SoapFormatExtensions.cs (1)
16
[XmlFormatExtension("binding", SoapBinding.Namespace, typeof(
Binding
))]
ImportModule.cs (1)
408
private static bool ContainsHttpBindingExtension(WsdlNS.
Binding
wsdlBinding)
Metadata\ServiceDescriptor.cs (1)
247
foreach (WsdlNS.
Binding
binding in wsdl.Bindings)