32 references to MetadataConstants
dotnet-svcutil-lib (32)
Metadata\MetadaExchangeResolver.cs (6)
94
bool isHttp = this.EndpointAddress.Uri.Scheme ==
MetadataConstants
.Uri.UriSchemeHttp || this.EndpointAddress.Uri.Scheme ==
MetadataConstants
.Uri.UriSchemeHttps;
371
if (String.Compare(scheme,
MetadataConstants
.Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) == 0)
380
else if (String.Compare(scheme,
MetadataConstants
.Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase) == 0)
389
else if (String.Compare(scheme,
MetadataConstants
.Uri.UriSchemeNetTcp, StringComparison.OrdinalIgnoreCase) == 0)
395
else if (String.Compare(scheme,
MetadataConstants
.Uri.UriSchemeNetPipe, StringComparison.OrdinalIgnoreCase) == 0)
Metadata\MetadataDocumentLoader.cs (20)
214
if (serviceUri.Scheme ==
MetadataConstants
.Uri.UriSchemeFile)
265
var isUrl = uri.StartsWith(
MetadataConstants
.Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) ||
266
uri.StartsWith(
MetadataConstants
.Uri.UriSchemeNetTcp, StringComparison.OrdinalIgnoreCase) ||
267
uri.StartsWith(
MetadataConstants
.Uri.UriSchemeNetPipe, StringComparison.OrdinalIgnoreCase);
273
return serviceUri.Scheme ==
MetadataConstants
.Uri.UriSchemeHttp ||
274
serviceUri.Scheme ==
MetadataConstants
.Uri.UriSchemeHttps ||
275
serviceUri.Scheme ==
MetadataConstants
.Uri.UriSchemeNetTcp ||
276
serviceUri.Scheme ==
MetadataConstants
.Uri.UriSchemeNetPipe ||
277
serviceUri.Scheme ==
MetadataConstants
.Uri.UriSchemeFile;
378
if (schemaUri.Scheme ==
MetadataConstants
.Uri.UriSchemeFile)
601
if (reader.IsStartElement(
MetadataConstants
.WSDL.Elements.Root,
MetadataConstants
.WSDL.NamespaceUri))
605
else if (reader.IsStartElement(
MetadataConstants
.XmlSchema.Elements.Root,
MetadataConstants
.XmlSchema.NamespaceUri))
609
else if (reader.IsStartElement(
MetadataConstants
.WSPolicy.Elements.Policy,
MetadataConstants
.WSPolicy.NamespaceUri)
610
|| reader.IsStartElement(
MetadataConstants
.WSPolicy.Elements.Policy,
MetadataConstants
.WSPolicy.NamespaceUri15))
614
else if (reader.IsStartElement(
MetadataConstants
.WSAddressing.Elements.EndpointReference,
MetadataConstants
.WSAddressing.NamespaceUri))
Metadata\MetadataDocumentSaver.cs (6)
349
if (policyElement.NamespaceURI ==
MetadataConstants
.WSPolicy.NamespaceUri && policyElement.LocalName ==
MetadataConstants
.WSPolicy.Elements.Policy)
351
id = policyElement.GetAttribute(
MetadataConstants
.Wsu.Attributes.Id,
MetadataConstants
.Wsu.NamespaceUri);
354
id = policyElement.GetAttribute(
MetadataConstants
.Xml.Attributes.Id,
MetadataConstants
.Xml.NamespaceUri);