using Yavsc.Interfaces; namespace Yavsc.Services { /// /// Production : hands out a /// fresh per call. Stateless; /// safe to register as a singleton. /// public sealed class SmtpClientFactory : ISmtpClientFactory { public ISmtpClient CreateClient() => new MailKitSmtpClient(); } }