public static ITypeConfiguration <T> CustomSerializer <T>(this ITypeConfiguration <T> @this, IExtendedXmlCustomSerializer <T> serializer) => @this.CustomSerializer(new Adapter <T>(serializer));
public static ITypeConfiguration <T> CustomSerializer <T>(this ITypeConfiguration <T> @this, Action <System.Xml.XmlWriter, T> serializer, Func <XElement, T> deserialize) => @this.CustomSerializer(new ExtendedXmlCustomSerializer <T>(deserialize, serializer));