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