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