##// END OF EJS Templates
Added Trace<T>.Debug(...) method for debug messages...
Added Trace<T>.Debug(...) method for debug messages Added ContainerBuilde.LoadConfig(Uri) method

File last commit:

r278:6691aff01de1 v3
r280:f07be402ab02 v3
Show More
XmlDefaultSerializer.cs
13 lines | 581 B | text/x-csharp | CSharpLexer
/ Implab / Xml / XmlDefaultSerializer.cs
cin
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)...
r278 using System.Xml.Serialization;
using Implab.Components;
namespace Implab.Xml {
/// <summary>
/// This class used to get default serializer for the specified type <typeparamref name="T"/>.
/// </summary>
/// <typeparam name="T">The type used to create <see cref="XmlSerializer"/></typeparam>
public static class XmlDefaultSerializer<T> {
static readonly LazyAndWeak<XmlSerializer> m_instance = new LazyAndWeak<XmlSerializer>(() => new XmlSerializer(typeof(T)));
public static XmlSerializer Instance { get { return m_instance.Value; } }
}
}