38 references to Elements
System.ServiceModel (38)
System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
772
MetadataStrings.WSPolicy.
Elements
.ExactlyOne,
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (1)
626
string policy = MetadataStrings.WSPolicy.
Elements
.Policy;
System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (3)
335
string policyLocalName = MetadataStrings.WSPolicy.
Elements
.Policy;
347
MetadataStrings.WSPolicy.
Elements
.Policy)
350
MetadataStrings.WSPolicy.
Elements
.Policy, node.LocalName, node.NamespaceURI);
System\ServiceModel\Description\MetadataSection.cs (2)
96
SR.GetString(SR.SFxBadMetadataMustBePolicy, MetadataStrings.WSPolicy.NamespaceUri, MetadataStrings.WSPolicy.
Elements
.Policy, policy.NamespaceURI, policy.LocalName));
142
&& policy.LocalName == MetadataStrings.WSPolicy.
Elements
.Policy;
System\ServiceModel\Description\PolicyReader.cs (4)
253
else if (currentElement.LocalName == MetadataStrings.WSPolicy.
Elements
.Policy)
255
else if (currentElement.LocalName == MetadataStrings.WSPolicy.
Elements
.All)
257
else if (currentElement.LocalName == MetadataStrings.WSPolicy.
Elements
.ExactlyOne)
259
else if (currentElement.LocalName == MetadataStrings.WSPolicy.
Elements
.PolicyReference)
System\ServiceModel\Description\WsdlExporter.cs (8)
462
nameTable.Add(MetadataStrings.WSPolicy.
Elements
.Policy);
463
nameTable.Add(MetadataStrings.WSPolicy.
Elements
.All);
464
nameTable.Add(MetadataStrings.WSPolicy.
Elements
.ExactlyOne);
680
MetadataStrings.WSPolicy.
Elements
.Policy,
810
MetadataStrings.WSPolicy.
Elements
.PolicyReference,
847
MetadataStrings.WSPolicy.
Elements
.Policy,
852
MetadataStrings.WSPolicy.
Elements
.ExactlyOne,
858
MetadataStrings.WSPolicy.
Elements
.All,
System\ServiceModel\Description\WsdlHelper.cs (2)
156
IEnumerable<XmlElement> bindingPolicies = FindAllElements(wsdl.Extensions, MetadataStrings.WSPolicy.
Elements
.Policy);
194
IEnumerable<XmlElement> bindingPolicyReferences = FindAllElements(extensions, MetadataStrings.WSPolicy.
Elements
.PolicyReference);
System\ServiceModel\Description\WsdlImporter.cs (16)
1152
MetadataStrings.WSPolicy.
Elements
.Policy);
1367
nameTable.Add(MetadataStrings.WSPolicy.
Elements
.Policy);
1368
nameTable.Add(MetadataStrings.WSPolicy.
Elements
.All);
1369
nameTable.Add(MetadataStrings.WSPolicy.
Elements
.ExactlyOne);
1458
MetadataStrings.WSPolicy.
Elements
.Policy,
1463
MetadataStrings.WSPolicy.
Elements
.ExactlyOne,
1469
MetadataStrings.WSPolicy.
Elements
.All,
2084
embeddedPolicies.AddRange(item.Extensions.FindAll(MetadataStrings.WSPolicy.
Elements
.Policy,
2086
embeddedPolicies.AddRange(item.Extensions.FindAll(MetadataStrings.WSPolicy.
Elements
.Policy,
2128
policyReferences.AddRange(item.Extensions.FindAll(MetadataStrings.WSPolicy.
Elements
.PolicyReference,
2130
policyReferences.AddRange(item.Extensions.FindAll(MetadataStrings.WSPolicy.
Elements
.PolicyReference,
2181
if (item.Extensions.Find(MetadataStrings.WSPolicy.
Elements
.PolicyReference, MetadataStrings.WSPolicy.NamespaceUri) != null
2182
|| item.Extensions.Find(MetadataStrings.WSPolicy.
Elements
.PolicyReference, MetadataStrings.WSPolicy.NamespaceUri15) != null)
2187
if (item.Extensions.Find(MetadataStrings.WSPolicy.
Elements
.Policy, MetadataStrings.WSPolicy.NamespaceUri) != null
2188
|| item.Extensions.Find(MetadataStrings.WSPolicy.
Elements
.Policy, MetadataStrings.WSPolicy.NamespaceUri15) != null)
2446
static readonly string wspPolicy = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", MetadataStrings.WSPolicy.Prefix, MetadataStrings.WSPolicy.
Elements
.Policy);
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
28
public const string PolicyName = MetadataStrings.WSPolicy.
Elements
.Policy; //"Policy";