Example #1
0
        public static T ConvertTo <T>(this IMailTemplate source)
            where T : IMailTemplate, new()
        {
            var target = new T();

            source.CopyTo(target);

            return(target);
        }