comparison Implab/Xml/SerializersPool.cs @ 278:6691aff01de1 v3

Implab: added XmlDefaultSeializer (SerializersPool is now obsolete) Implab.ServiceHost: rewritten TypeReference (added support for nested types), stable API
author cin
date Thu, 03 May 2018 09:59:44 +0300
parents 5f7a3e1d32b9
children
comparison
equal deleted inserted replaced
277:963b17c275be 278:6691aff01de1
7 using System.Threading.Tasks; 7 using System.Threading.Tasks;
8 using System.Xml; 8 using System.Xml;
9 using System.Xml.Serialization; 9 using System.Xml.Serialization;
10 10
11 namespace Implab.Xml { 11 namespace Implab.Xml {
12 [Obsolete("this class will be removed, use XmlDefaultSerializer")]
12 public class SerializersPool<T> : ObjectPool<XmlSerializer> { 13 public class SerializersPool<T> : ObjectPool<XmlSerializer> {
13 14
14 static readonly SerializersPool<T> _instance = new SerializersPool<T>(); 15 static readonly SerializersPool<T> _instance = new SerializersPool<T>();
15 16
16 public static SerializersPool<T> Instance { 17 public static SerializersPool<T> Instance {