2 instantiations of ServiceDescription
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (1)
488
wsdl = new WsdlNS.
ServiceDescription
();
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
5220
o = new global::System.Web.Services.Description.
ServiceDescription
();
160 references to ServiceDescription
dotnet-svcutil-lib (160)
CodeSerializer.cs (4)
137
var wsdlDocuments = metadataSections.Where(s => s.Metadata is WsdlNS.
ServiceDescription
).Cast<WsdlNS.
ServiceDescription
>();
139
foreach (WsdlNS.
ServiceDescription
wsdl in wsdlDocuments)
153
foreach (WsdlNS.
ServiceDescription
wsdl in wsdlDocuments)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpTransportImporter.cs (1)
21
foreach (WsdlNS.
ServiceDescription
wsdl in wsdlDocuments)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (4)
841
foreach (WsdlNS.
ServiceDescription
wsdl in importer.WsdlDocuments)
907
foreach (WsdlNS.
ServiceDescription
description in serviceDescriptions)
1076
WsdlNS.
ServiceDescription
description = part.Message.ServiceDescription;
1095
private static void FindUse(WsdlNS.Operation operation, WsdlNS.
ServiceDescription
description, string messageName, ref bool isEncoded, ref bool isLiteral)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (7)
529
else if (section.Metadata is WsdlNS.
ServiceDescription
)
568
WsdlNS.
ServiceDescription
wsdl = (WsdlNS.
ServiceDescription
)section.Metadata;
655
else if (WsdlNS.
ServiceDescription
.CanRead(reader))
657
WsdlNS.
ServiceDescription
wsdl = WsdlNS.
ServiceDescription
.Read(reader);
659
metadataType = typeof(WsdlNS.
ServiceDescription
);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataSection.cs (4)
39
static public string ServiceDescriptionDialect { get { return System.Web.Services.Description.
ServiceDescription
.Namespace; } }
69
[XmlElement(MetadataStrings.ServiceDescription.Definitions, typeof(WsdlNS.
ServiceDescription
), Namespace = WsdlNS.
ServiceDescription
.Namespace)]
122
public static MetadataSection CreateFromServiceDescription(WsdlNS.
ServiceDescription
serviceDescription)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataSet.cs (3)
349
if (o.@Metadata is global::System.Web.Services.Description.
ServiceDescription
)
351
((global::System.Web.Services.Description.
ServiceDescription
)o.@Metadata).Write(this.Writer);
582
o.@Metadata = System.Web.Services.Description.
ServiceDescription
.Read(this.Reader);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlContractConversionContext.cs (1)
148
foreach (WsdlNS.
ServiceDescription
wsdl in wsdlDocuments)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (12)
133
foreach (WsdlNS.
ServiceDescription
wsdl in _wsdlDocuments)
258
WsdlNS.
ServiceDescription
wsdl = GetOrCreateWsdl(wsdlPortTypeQName.Namespace);
309
WsdlNS.
ServiceDescription
bindingWsdl;
479
internal WsdlNS.
ServiceDescription
GetOrCreateWsdl(string ns)
483
WsdlNS.
ServiceDescription
wsdl = wsdlCollection[ns];
506
WsdlNS.
ServiceDescription
wsdl = GetOrCreateWsdl(wsdlServiceQName.Namespace);
523
private static void EnsureWsdlContainsImport(WsdlNS.
ServiceDescription
srcWsdl, string target)
730
WsdlNS.
ServiceDescription
policyWsdl = endpointContext.WsdlBinding.ServiceDescription;
799
private void AttachItemPolicy(ICollection<XmlElement> assertions, string key, WsdlNS.
ServiceDescription
policyWsdl, WsdlNS.DocumentableItem item)
822
private string InsertPolicy(string key, WsdlNS.
ServiceDescription
policyWsdl, ICollection<XmlElement> assertions)
921
namespaces.Add("wsdl", WsdlNS.
ServiceDescription
.Namespace);
1060
WsdlNS.
ServiceDescription
wsdl = exporter._wsdlDocuments[bindingWsdlNamespace];
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (28)
110
foreach (WsdlNS.
ServiceDescription
wsdl in _wsdlDocuments)
601
_wsdlDocuments.Add(TryConvert<WsdlNS.
ServiceDescription
>(doc));
1426
private static void InsertPolicy(string key, string id, WsdlNS.
ServiceDescription
policyWsdl, string value, XmlQualifiedName wsdlBindingQName)
1483
foreach (WsdlNS.
ServiceDescription
wsdl in wsdlDocuments)
1533
foreach (WsdlNS.
ServiceDescription
wsdl in this.WsdlDocuments)
1544
foreach (WsdlNS.
ServiceDescription
wsdl in this.WsdlDocuments)
1568
foreach (WsdlNS.
ServiceDescription
wsdl in wsdlDocuments)
1740
else if (item is WsdlNS.
ServiceDescription
)
1780
if (item is WsdlNS.
ServiceDescription
)
1783
wsdlNs = ((WsdlNS.
ServiceDescription
)item).TargetNamespace ?? String.Empty;
1795
else if (item is WsdlNS.
ServiceDescription
)
1798
wsdlNs = ((WsdlNS.
ServiceDescription
)item).TargetNamespace ?? String.Empty;
1991
private IEnumerable<IEnumerable<XmlElement>> GetPolicyAlternatives(WsdlNS.NamedItem item, WsdlNS.
ServiceDescription
wsdl)
2079
private IEnumerable<XmlElement> GetReferencedPolicy(WsdlNS.NamedItem item, WsdlNS.
ServiceDescription
wsdl)
2190
WsdlNS.
ServiceDescription
bindingWsdl = endpointContext.WsdlBinding.ServiceDescription;
2247
private void CreateMessageBindingAlternatives(PolicyAlternatives policyAlternatives, WsdlNS.
ServiceDescription
bindingWsdl, MessageDescription message, WsdlNS.MessageBinding wsdlMessageBinding)
2263
private void CreateFaultBindingAlternatives(PolicyAlternatives policyAlternatives, WsdlNS.
ServiceDescription
bindingWsdl, FaultDescription fault, WsdlNS.FaultBinding wsdlFaultBinding)
2287
private readonly Dictionary<WsdlNS.
ServiceDescription
, Dictionary<string, XmlElement>> _embeddedPolicyDictionary = new Dictionary<WsdlNS.
ServiceDescription
, Dictionary<string, XmlElement>>();
2289
private readonly Dictionary<XmlElement, WsdlNS.
ServiceDescription
> _policySourceTable = new Dictionary<XmlElement, WsdlNS.
ServiceDescription
>();
2291
internal Dictionary<XmlElement, WsdlNS.
ServiceDescription
> PolicySourceTable
2303
foreach (WsdlNS.
ServiceDescription
wsdl in importer._wsdlDocuments)
2320
private void AddEmbeddedPolicy(WsdlImporter importer, WsdlNS.
ServiceDescription
wsdl, XmlElement element)
2392
WsdlNS.
ServiceDescription
sourceWsdl;
2401
internal XmlElement ResolvePolicyReference(string policyReference, WsdlNS.
ServiceDescription
wsdlDocument)
2438
WsdlNS.
ServiceDescription
sourceWsdl;
2451
internal static string CreateIdXPath(WsdlNS.
ServiceDescription
wsdl, XmlElement element, string key)
FrameworkFork\System.Web.Services\Configuration\WebServicesSection.cs (1)
33
table.Add(typeof(
ServiceDescription
), new XmlAttributes());
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (50)
29
[XmlRoot("definitions", Namespace =
ServiceDescription
.Namespace)]
58
private
ServiceDescription
_next;
253
return xmlReader.IsStartElement("definitions",
ServiceDescription
.Namespace);
302
internal
ServiceDescription
Next
312
public static
ServiceDescription
Read(TextReader textReader)
321
public static
ServiceDescription
Read(Stream stream)
330
public static
ServiceDescription
Read(XmlReader reader)
339
public static
ServiceDescription
Read(string fileName)
348
public static
ServiceDescription
Read(TextReader textReader, bool validate)
361
public static
ServiceDescription
Read(Stream stream, bool validate)
374
public static
ServiceDescription
Read(string fileName, bool validate)
391
public static
ServiceDescription
Read(XmlReader reader, bool validate)
410
ServiceDescription
sd = (
ServiceDescription
)Serializer.Deserialize(validatingReader);
416
return (
ServiceDescription
)Serializer.Deserialize(reader);
481
ns.Add(
ServiceDescription
.Prefix,
ServiceDescription
.Namespace);
489
if (tns != null && tns.Length > 0 && tns != this.TargetNamespace && tns !=
ServiceDescription
.Namespace)
570
private
ServiceDescription
_parent;
573
internal void SetParent(
ServiceDescription
parent)
592
public
ServiceDescription
ServiceDescription
653
xmlWriter.WriteElementString(
ServiceDescription
.Prefix, "documentation",
ServiceDescription
.Namespace, value);
664
[XmlAnyElement("documentation", Namespace =
ServiceDescription
.Namespace)]
726
_documentationElement = Parent.CreateElement(
ServiceDescription
.Prefix, "documentation",
ServiceDescription
.Namespace);
809
private
ServiceDescription
_parent;
811
internal void SetParent(
ServiceDescription
parent)
820
public
ServiceDescription
ServiceDescription
1031
private
ServiceDescription
_parent;
1033
internal void SetParent(
ServiceDescription
parent)
1042
public
ServiceDescription
ServiceDescription
1343
private
ServiceDescription
_parent;
1346
internal void SetParent(
ServiceDescription
parent)
1365
public
ServiceDescription
ServiceDescription
1389
private
ServiceDescription
_parent;
1392
internal void SetParent(
ServiceDescription
parent)
1411
public
ServiceDescription
ServiceDescription
1747
XmlAttribute requiredAttr = element.Attributes["required",
ServiceDescription
.Namespace];
1805
[XmlAttribute("required", Namespace =
ServiceDescription
.Namespace), DefaultValue(false)]
2055
internal ImportCollection(
ServiceDescription
serviceDescription) : base(serviceDescription) { }
2127
((Import)value).SetParent((
ServiceDescription
)parent);
2137
internal MessageCollection(
ServiceDescription
serviceDescription) : base(serviceDescription) { }
2227
((Message)value).SetParent((
ServiceDescription
)parent);
2337
internal PortTypeCollection(
ServiceDescription
serviceDescription) : base(serviceDescription) { }
2427
((PortType)value).SetParent((
ServiceDescription
)parent);
2437
internal BindingCollection(
ServiceDescription
serviceDescription) : base(serviceDescription) { }
2527
((Binding)value).SetParent((
ServiceDescription
)parent);
2537
internal ServiceCollection(
ServiceDescription
serviceDescription) : base(serviceDescription) { }
2627
((Service)value).SetParent((
ServiceDescription
)parent);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptions.cs (22)
26
public
ServiceDescription
this[int index]
28
get { return (
ServiceDescription
)List[index]; }
36
public
ServiceDescription
this[string ns]
38
get { return (
ServiceDescription
)Table[ns]; }
45
public int Add(
ServiceDescription
serviceDescription)
54
public void Insert(int index,
ServiceDescription
serviceDescription)
63
public int IndexOf(
ServiceDescription
serviceDescription)
72
public bool Contains(
ServiceDescription
serviceDescription)
81
public void Remove(
ServiceDescription
serviceDescription)
90
public void CopyTo(
ServiceDescription
[] array, int index)
101
string ns = ((
ServiceDescription
)value).TargetNamespace;
118
ServiceDescription
sd = GetServiceDescription(name);
135
ServiceDescription
sd = GetServiceDescription(name);
152
ServiceDescription
sd = GetServiceDescription(name);
169
ServiceDescription
sd = GetServiceDescription(name);
180
private
ServiceDescription
GetServiceDescription(XmlQualifiedName name)
182
ServiceDescription
serviceDescription = this[name.Namespace];
196
((
ServiceDescription
)value).SetParent((ServiceDescriptionCollection)parent);
208
ServiceDescription
item = (
ServiceDescription
)Table[key];
209
((
ServiceDescription
)value).Next = (
ServiceDescription
)Table[key];
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (5)
18
Write124_ServiceDescription(@"definitions", @"http://schemas.xmlsoap.org/wsdl/", ((global::System.Web.Services.Description.
ServiceDescription
)o), true, false);
21
private void Write124_ServiceDescription(string n, string ns, global::System.Web.Services.Description.
ServiceDescription
o, bool isNullable, bool needType)
31
if (t == typeof(global::System.Web.Services.Description.
ServiceDescription
))
5205
private global::System.Web.Services.Description.
ServiceDescription
Read124_ServiceDescription(bool isNullable, bool checkType)
5219
global::System.Web.Services.Description.
ServiceDescription
o;
Metadata\MetadaExchangeResolver.cs (1)
57
return _metadataSet != null && _metadataSet.MetadataSections.Any((section) => section.Metadata is XmlSchema || section.Metadata is WsdlNS.
ServiceDescription
);
Metadata\MetadataConstants.cs (1)
18
public const string NamespaceUri = System.Web.Services.Description.
ServiceDescription
.Namespace;
Metadata\MetadataDocumentLoader.cs (4)
346
WsdlNS.
ServiceDescription
wsdl = await AsyncHelper.RunAsync(() => WsdlNS.
ServiceDescription
.Read(reader), cancellationToken).ConfigureAwait(false);
636
var
wsdl = section.Metadata as WsdlNS.
ServiceDescription
;
Metadata\MetadataDocumentSaver.cs (6)
105
AddUnresolvedWsdlRefs(doc.Metadata as WsdlNS.
ServiceDescription
);
112
if (AddWsdl(doc.Metadata as WsdlNS.
ServiceDescription
) == null)
162
private bool AddUnresolvedWsdlRefs(WsdlNS.
ServiceDescription
wsdl)
215
private MetadataFileInfo AddWsdl(WsdlNS.
ServiceDescription
wsdl)
281
foreach (
var
wsdl in wsdlFiles.Select(f => f.Wsdl))
378
public WsdlNS.
ServiceDescription
Wsdl;
Metadata\MetadataFileInfo.cs (2)
65
internal WsdlNS.
ServiceDescription
Wsdl
69
return this.Metadata as WsdlNS.
ServiceDescription
;
Metadata\ServiceDescriptor.cs (3)
187
foreach (WsdlNS.
ServiceDescription
wsdlDocument in wsdlImporter.WsdlDocuments)
242
return this.metadataDocumentLoader.MetadataSections.Select((s) => s.Metadata).OfType<WsdlNS.
ServiceDescription
>().Any((wsdl) => ContainsHttpBindings(wsdl));
245
private static bool ContainsHttpBindings(WsdlNS.
ServiceDescription
wsdl)
XmlStrings.cs (1)
20
public const string NamespaceUri = System.Web.Services.Description.
ServiceDescription
.Namespace;