, , CLR. , XML... XmlnsPrefixAttribute XmlnsDefinitionAttribute s.
:
[assembly: XmlnsPrefix("http://my.xml.namespace.com/", "databind")]
[assembly: XmlnsDefinition("http://my.xml.namespace.com/",
"GuiParts.DataBinding")]
[assembly: XmlnsDefinition("http://my.xml.namespace.com/",
"GuiParts.DataBinding.Validators")]
, xmlnames xaml, :
xmlns:databind="http://my.xml.namespace.com/"
, ReSharper, , Visual Studio. xmlns , . , 1:1 xml clr, clr xml.
, , , , , , . , - , xmlns, clr/assembly.
Oh, and the last thing ... if you want to use version control in your xml namespace naming scheme (what you need), don't worry about locking yourself for backward compatibility. You can always use XmlnsCompatibleWithAttributeto make sure that code using the old friendly namespace is not interrupted if you ever update your external assemblies to map to a new xml namespace.
For example, if you had an assembly pointing to the 2012 namespace, then switched to the 2013 namespace because you updated the assembly ...
[assembly: XmlnsCompatibleWith("http://schemas.xyzcorp.com/wpf/2012",
"http://schemas.xyzcorp.com/wpf/2013")]
[assembly: XmlnsDefinition("http://schemas.xyzcorp.com/wpf/2013",
"Xyz.Databinding")]