9 writes to Metadata
dotnet-svcutil-lib (9)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataSection.cs (3)
103
section.
Metadata
= policy;
118
section.
Metadata
= schema;
133
section.
Metadata
= serviceDescription;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataSet.cs (6)
569
o.
@Metadata
= Read67_MetadataSet(false, true);
574
o.
@Metadata
= Microsoft.Xml.Schema.XmlSchema.Read(this.Reader, null);
582
o.
@Metadata
= System.Web.Services.Description.ServiceDescription.Read(this.Reader);
588
o.
@Metadata
= (global::System.ServiceModel.Description.MetadataReference)ReadSerializable((Microsoft.Xml.Serialization.IXmlSerializable)System.Activator.CreateInstance(typeof(global::System.ServiceModel.Description.MetadataReference), System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic, null, new object[0], null));
593
o.
@Metadata
= Read65_MetadataLocation(false, true);
598
o.
@Metadata
= (global::Microsoft.Xml.XmlElement)ReadXmlNode(false);
43 references to Metadata
dotnet-svcutil-lib (43)
CodeSerializer.cs (2)
137
var wsdlDocuments = metadataSections.Where(s => s.
Metadata
is WsdlNS.ServiceDescription).Cast<WsdlNS.ServiceDescription>();
167
var schemaDocuments = metadataSections.Where(s => s.
Metadata
is XmlSchema).Cast<XmlSchema>();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (10)
495
if (section.
Metadata
is MetadataSet)
497
foreach (MetadataSection innerSection in ((MetadataSet)section.
Metadata
).MetadataSections)
503
else if (section.
Metadata
is MetadataReference)
507
EndpointAddress address = ((MetadataReference)section.
Metadata
).Address;
516
else if (section.
Metadata
is MetadataLocation)
520
string location = ((MetadataLocation)section.
Metadata
).Location;
529
else if (section.
Metadata
is WsdlNS.ServiceDescription)
537
else if (section.
Metadata
is XsdNS.XmlSchema)
553
XsdNS.XmlSchema schema = (XsdNS.XmlSchema)section.
Metadata
;
568
WsdlNS.ServiceDescription wsdl = (WsdlNS.ServiceDescription)section.
Metadata
;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataSet.cs (14)
349
if (o.
@Metadata
is global::System.Web.Services.Description.ServiceDescription)
351
((global::System.Web.Services.Description.ServiceDescription)o.
@Metadata
).Write(this.Writer);
353
else if (o.
@Metadata
is global::Microsoft.Xml.Schema.XmlSchema)
355
((global::Microsoft.Xml.Schema.XmlSchema)o.
@Metadata
).Write(this.Writer);
357
else if (o.
@Metadata
is global::System.ServiceModel.Description.MetadataSet)
359
Write67_MetadataSet(@"Metadata", @"http://schemas.xmlsoap.org/ws/2004/09/mex", ((global::System.ServiceModel.Description.MetadataSet)o.
@Metadata
), false, false);
361
else if (o.
@Metadata
is global::System.ServiceModel.Description.MetadataLocation)
363
Write65_MetadataLocation(@"Location", @"http://schemas.xmlsoap.org/ws/2004/09/mex", ((global::System.ServiceModel.Description.MetadataLocation)o.
@Metadata
), false, false);
365
else if (o.
@Metadata
is global::System.ServiceModel.Description.MetadataReference)
367
WriteSerializable((Microsoft.Xml.Serialization.IXmlSerializable)((global::System.ServiceModel.Description.MetadataReference)o.
@Metadata
), @"MetadataReference", @"http://schemas.xmlsoap.org/ws/2004/09/mex", false, true);
369
else if (o.
@Metadata
is Microsoft.Xml.XmlElement)
371
Microsoft.Xml.XmlElement elem = (Microsoft.Xml.XmlElement)o.
@Metadata
;
383
if (o.
@Metadata
!= null)
385
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnknownTypeException(o.
@Metadata
));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (3)
596
if (doc.
Metadata
is MetadataReference || doc.
Metadata
is MetadataLocation)
633
return ((T)doc.
Metadata
);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (2)
2342
if (section.
Metadata
is MetadataReference)
2344
issuerMetadata = ((MetadataReference)section.
Metadata
).Address;
Metadata\MetadaExchangeResolver.cs (2)
57
return _metadataSet != null && _metadataSet.MetadataSections.Any((section) => section.
Metadata
is XmlSchema || section.
Metadata
is WsdlNS.ServiceDescription);
Metadata\MetadataDocumentLoader.cs (3)
578
var documents = metadataSections.Select((s) => s.
Metadata
);
636
var wsdl = section.
Metadata
as WsdlNS.ServiceDescription;
650
UpdateSchemaSourceUri(section.
Metadata
as XmlNS.Schema.XmlSchema, GetSourceUrl(section));
Metadata\MetadataDocumentSaver.cs (6)
103
if (!AddUnresolvedSchemaRefs(doc.
Metadata
as XmlNS.Schema.XmlSchema))
105
AddUnresolvedWsdlRefs(doc.
Metadata
as WsdlNS.ServiceDescription);
112
if (AddWsdl(doc.
Metadata
as WsdlNS.ServiceDescription) == null)
114
if (AddSchema(doc.
Metadata
as XmlNS.Schema.XmlSchema) == null)
116
if (AddXmlDocument(doc.
Metadata
as XmlNS.XmlElement, doc.Dialect) == null)
119
string typeName = doc.
Metadata
.GetType().ToString();
Metadata\ServiceDescriptor.cs (1)
242
return this.metadataDocumentLoader.MetadataSections.Select((s) => s.
Metadata
).OfType<WsdlNS.ServiceDescription>().Any((wsdl) => ContainsHttpBindings(wsdl));