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)); }
internal string GetNamespaceFor(Type type) { return(_typeFinder.GetXmlNamespaceFor(type.Assembly, type.Namespace)); }