XmlnsDefinition

XmlnsDefinition

Old forum URL: forums.lhotka.net/forums/t/5602.aspx


Brad posted on Wednesday, October 15, 2008

Greetings,

This is more a question for Rocky:

Would it be possible to slip in a XmlnsDefinition to the CSLA code base?

It is as easy as adding the following to the AssemblyInfo.cs file:
[assembly: XmlnsDefinition("http://schemas.lhotka.net/csla", "Csla.Wpf")]
[assembly: XmlnsDefinition("http://schemas.lhotka.net/csla", "Csla")]

This way, in WPF, we could use the following in our XAML:

xmlns:csla="http://schemas.lhotka.net/csla"

This can save time as the url based schemas are at the top of the intellisense tips.

Cheers,
-Brad

ajj3085 replied on Thursday, October 16, 2008

This sounds like a good idea to me too.

Copyright (c) Marimer LLC