##// END OF EJS Templates
Fixed promise rejection when there is not specified error handler in the reaction....
Fixed promise rejection when there is not specified error handler in the reaction. FIXED SPELLING IN THE XML CONTAINER CONFIGURATION signleton->singleton Code cleanup Update tests make them working on dotnet core

File last commit:

r289:95896f882995 v3.0.14 v3
r295:28af686e24f7 default
Show More
XmlDefaultSerializer.cs
13 lines | 581 B | text/x-csharp | CSharpLexer
/ Implab / src / Xml / XmlDefaultSerializer.cs
cin
Added tests for Implab.ServiceHost.Unity configuration loader.
r289 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; } }
}
}