private static bool IsDirective(XmlElement element) { return(XamlLanguage.NamespaceName == element.NamespaceURI && XamlLanguage.IsDirective(new XamlName(element.LocalName, element.NamespaceURI))); }
private static bool IsDirective(XName name) { return(XamlLanguage.NamespaceName == name.NamespaceName && XamlLanguage.IsDirective(new XamlName(name.LocalName, name.NamespaceName))); }
private static bool IsDirective(XmlAttribute attribute) { return(XamlLanguage.NamespaceName == attribute.NamespaceURI && XamlLanguage.IsDirective(new XamlName(attribute.LocalName, attribute.NamespaceURI))); }