public static XmlSerializer GetSerializer <T>(this T document) where T : IBaseDocument { if (document == null) { throw new ArgumentNullException(nameof(document)); } return(UblDocument.GetSerializer(document.GetType())); }
public static XmlSerializer GetSerializer <T>(this T document) where T : IBaseDocument { return(UblDocument.GetSerializer(document.GetType())); }