10 writes to Metadata
System.ServiceModel (10)
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (1)
447
mexDoc.
Metadata
= document;
System\ServiceModel\Description\MetadataSection.cs (3)
103
section.
Metadata
= policy;
118
section.
Metadata
= schema;
133
section.
Metadata
= serviceDescription;
System\ServiceModel\Description\MetadataSet.cs (6)
570
o.
@Metadata
= Read67_MetadataSet(false, true);
575
o.
@Metadata
= System.Xml.Schema.XmlSchema.Read(this.Reader, null);
583
o.
@Metadata
= System.Web.Services.Description.ServiceDescription.Read(this.Reader);
589
o.
@Metadata
= (global::System.ServiceModel.Description.MetadataReference)ReadSerializable((System.Xml.Serialization.IXmlSerializable)System.Activator.CreateInstance(typeof(global::System.ServiceModel.Description.MetadataReference), System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.CreateInstance | System.Reflection.BindingFlags.NonPublic, null, new object[0], null));
594
o.
@Metadata
= Read65_MetadataLocation(false, true);
599
o.
@Metadata
= (global::System.Xml.XmlElement)ReadXmlNode(false);
49 references to Metadata
System.ServiceModel (44)
System\ServiceModel\Administration\ServiceInfo.cs (7)
126
if (section.
Metadata
is System.Web.Services.Description.ServiceDescription)
128
System.Web.Services.Description.ServiceDescription metadata = (System.Web.Services.Description.ServiceDescription)section.
Metadata
;
132
else if (section.
Metadata
is System.Xml.XmlElement)
134
System.Xml.XmlElement metadata = (System.Xml.XmlElement)section.
Metadata
;
141
else if (section.
Metadata
is System.Xml.Schema.XmlSchema)
143
System.Xml.Schema.XmlSchema metadata = (System.Xml.Schema.XmlSchema)section.
Metadata
;
149
metadataStrings.Add(section.
Metadata
.ToString());
System\ServiceModel\Description\MetadataExchangeClient.cs (10)
530
if (section.
Metadata
is MetadataSet)
532
foreach (MetadataSection innerSection in ((MetadataSet)section.
Metadata
).MetadataSections)
538
else if (section.
Metadata
is MetadataReference)
543
EndpointAddress address = ((MetadataReference)section.
Metadata
).Address;
552
else if (section.
Metadata
is MetadataLocation)
556
string location = ((MetadataLocation)section.
Metadata
).Location;
565
else if (section.
Metadata
is WsdlNS.ServiceDescription)
573
else if (section.
Metadata
is XsdNS.XmlSchema)
589
XsdNS.XmlSchema schema = (XsdNS.XmlSchema)section.
Metadata
;
604
WsdlNS.ServiceDescription wsdl = (WsdlNS.ServiceDescription)section.
Metadata
;
System\ServiceModel\Description\MetadataSet.cs (14)
350
if (o.
@Metadata
is global::System.Web.Services.Description.ServiceDescription)
352
((global::System.Web.Services.Description.ServiceDescription)o.
@Metadata
).Write(this.Writer);
354
else if (o.
@Metadata
is global::System.Xml.Schema.XmlSchema)
356
((global::System.Xml.Schema.XmlSchema)o.
@Metadata
).Write(this.Writer);
358
else if (o.
@Metadata
is global::System.ServiceModel.Description.MetadataSet)
360
Write67_MetadataSet(@"Metadata", @"http://schemas.xmlsoap.org/ws/2004/09/mex", ((global::System.ServiceModel.Description.MetadataSet)o.
@Metadata
), false, false);
362
else if (o.
@Metadata
is global::System.ServiceModel.Description.MetadataLocation)
364
Write65_MetadataLocation(@"Location", @"http://schemas.xmlsoap.org/ws/2004/09/mex", ((global::System.ServiceModel.Description.MetadataLocation)o.
@Metadata
), false, false);
366
else if (o.
@Metadata
is global::System.ServiceModel.Description.MetadataReference)
368
WriteSerializable((System.Xml.Serialization.IXmlSerializable)((global::System.ServiceModel.Description.MetadataReference)o.
@Metadata
), @"MetadataReference", @"http://schemas.xmlsoap.org/ws/2004/09/mex", false, true);
370
else if (o.
@Metadata
is System.Xml.XmlElement)
372
System.Xml.XmlElement elem = (System.Xml.XmlElement)o.
@Metadata
;
384
if (o.
@Metadata
!= null)
386
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnknownTypeException(o.
@Metadata
));
System\ServiceModel\Description\ServiceMetadataExtension.cs (4)
1155
if (section.
Metadata
is WsdlNS.ServiceDescription)
1157
wsdls.Add((WsdlNS.ServiceDescription)section.
Metadata
);
1169
if (section.
Metadata
is XmlSchema)
1171
xsds.Add((XmlSchema)section.
Metadata
);
System\ServiceModel\Description\WsdlHelper.cs (4)
33
if (section.
Metadata
is WsdlNS.ServiceDescription)
35
wsdls.Add((WsdlNS.ServiceDescription)section.
Metadata
);
38
if (section.
Metadata
is XmlSchema)
40
xsds.Add((XmlSchema)section.
Metadata
);
System\ServiceModel\Description\WsdlImporter.cs (3)
597
if (doc.
Metadata
is MetadataReference || doc.
Metadata
is MetadataLocation)
634
return ((T)doc.
Metadata
);
System\ServiceModel\Security\WSSecurityPolicy.cs (2)
2342
if (section.
Metadata
is MetadataReference)
2344
issuerMetadata = ((MetadataReference)section.
Metadata
).Address;
System.Web.Extensions (5)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (5)
1510
XmlSchema schema = (XmlSchema)metadataSection.
Metadata
;
1520
System.Web.Services.Description.ServiceDescription wsdl = (System.Web.Services.Description.ServiceDescription)metadataSection.
Metadata
;
1545
System.Web.Services.Description.ServiceDescription wsdl = (System.Web.Services.Description.ServiceDescription)metadataSection.
Metadata
;
1563
System.Web.Services.Description.ServiceDescription wsdl = (System.Web.Services.Description.ServiceDescription)metadataSection.
Metadata
;
1817
System.Web.Services.Description.ServiceDescription wsdlFile = (System.Web.Services.Description.ServiceDescription)metadataSection.
Metadata
;