Esempio n. 1
0
        internal string GetNamespaceFor(Type type)
        {
            if (type == typeof(DesignTimeProperties))
            {
                return(XamlConstants.DesignTimeNamespace);
            }
            if (type == typeof(MarkupCompatibilityProperties))
            {
                return(XamlConstants.MarkupCompatibilityNamespace);
            }

            return(_typeFinder.GetXmlNamespaceFor(type.Assembly, type.Namespace));
        }
Esempio n. 2
0
 internal string GetNamespaceFor(Type type)
 {
     return(_typeFinder.GetXmlNamespaceFor(type.Assembly, type.Namespace));
 }