System.Xml.Xsl.XmlQualifiedNameTest.HasIntersection C# (CSharp) Méthode

HasIntersection() public méthode

Return true if the result of intersection with other is not empty
public HasIntersection ( XmlQualifiedNameTest other ) : bool
other XmlQualifiedNameTest
Résultat bool
        public bool HasIntersection(XmlQualifiedNameTest other) {
            return (IsNamespaceSubsetOf(other) || other.IsNamespaceSubsetOf(this)) && (IsNameSubsetOf(other) || other.IsNameSubsetOf(this));
        }