24 references to PolicyHelper
System.ServiceModel (24)
System\ServiceModel\Description\PolicyReader.cs (16)
51
static IEnumerable<XmlElement> Empty = new
PolicyHelper
.EmptyEnumerable<XmlElement>();
52
static IEnumerable<IEnumerable<XmlElement>> EmptyEmpty = new
PolicyHelper
.SingleEnumerable<IEnumerable<XmlElement>>(new
PolicyHelper
.EmptyEnumerable<XmlElement>());
68
string warningMsg = SR.GetString(SR.ExceededMaxPolicyComplexity, node.Name,
PolicyHelper
.GetFragmentIdentifier((XmlElement)node));
76
switch (
PolicyHelper
.GetNodeType(node))
78
case
PolicyHelper
.NodeType.Policy:
79
case
PolicyHelper
.NodeType.All:
82
case
PolicyHelper
.NodeType.ExactlyOne:
85
case
PolicyHelper
.NodeType.Assertion:
88
case
PolicyHelper
.NodeType.PolicyReference:
91
case
PolicyHelper
.NodeType.UnrecognizedWSPolicy:
136
yield return new
PolicyHelper
.SingleEnumerable<XmlElement>(element);
169
target =
PolicyHelper
.CrossProduct<XmlElement>(target, childPolicy, yieldLimiter);
182
target =
PolicyHelper
.CrossProduct<XmlElement>(target, childPolicy, yieldLimiter);
248
return
PolicyHelper
.NodeType.NonElement;
262
return
PolicyHelper
.NodeType.UnrecognizedWSPolicy;
System\ServiceModel\Description\WsdlImporter.cs (8)
1386
if (MetadataImporter.
PolicyHelper
.IsPolicyURIs(attribute))
1425
if (MetadataImporter.
PolicyHelper
.IsPolicyURIs(attribute))
2163
if (
PolicyHelper
.IsPolicyURIs(attribute))
2176
if (attributes != null && Array.Exists(attributes,
PolicyHelper
.IsPolicyURIs))
2208
policyAlternatives.EndpointAlternatives =
PolicyHelper
.CrossProduct<XmlElement>(wsdlBindingAlternatives, wsdlPortAlternatives, new YieldLimiter(this.importer.Quotas.MaxYields, this.importer));
2373
if (
PolicyHelper
.GetNodeType(policyDocument.Value) !=
PolicyHelper
.NodeType.Policy)
2443
return
PolicyHelper
.GetFragmentIdentifier(element);