default namespace parameter

Mar 20, 2008 at 1:52 PM
Hi,

It seems like a very neat tool. However I have a question,
Am trying to replace my existing code
FROM
System.Xml.Serialization.XmlSerializer x = new System.Xml.Serialization.XmlSerializer(typeof(T), Internal.Constants.Namespace);
TO
System.Xml.Serialization.XmlSerializer x = XGenPlus.SerializerLib.FactoryProxy.GetSerializer(typeof(T));

since there's no GetSeralizer method with default namespace parameter!

When i try like this, the seralizers are still dynamically created (i looked at your code briefly), seems like it fallsback to standard implementation if a factory is not found or so. Anyways, is there a way to achieve my required functionality with your code or with little change?

thanks for your help in advance

Ali Shahzad